ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Updating date on VOXL on softap mode

    Feature Requests
    3
    4
    474
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      frafrat
      last edited by

      Hello,

      As I power on my drone, the date reported from the voxl is Jan 1st, 1970. To update the date, the only way that I am aware of is to switch the voxl to station mode so that it gets an internet connection.
      As I am controlling the drone by running QGC on my laptop, is there any automated way to send the laptop date to the voxl while always maintaining the voxl in softap mode and never switching to station mode?

      Please let me know if you can recommend a way to update the date on the voxl by only using the laptop connected to the drone through the WiFi or by using QGC.

      Thank you very much for your help, and please let me know if you need further information.

      Best,

      Francesco

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin
        last edited by

        @frafrat A quick way to set it to some arbitrary time is with the date command:

        / # date
        Thu Jan  1 00:05:07 UTC 1970
        / # date -s '2014-12-25 12:34:56'
        Thu Dec 25 12:34:56 UTC 2014
        / # date
        Thu Dec 25 12:34:57 UTC 2014
        

        However this isn't persistent and will revert after a reboot.

        1 Reply Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @frafrat
          last edited by

          @frafrat The voxl uses NTP (https://www.linux.com/topic/networking/keep-accurate-time-linux-ntp/) to get current time over the Internet. So, if you can host an ntp server on your laptop, then the voxl can get the time from it.

          1 Reply Last reply Reply Quote 0
          • F
            frafrat
            last edited by

            Thanks a lot! I'll look into that. Thanks again

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors