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

    Updating date on VOXL on softap mode

    Feature Requests
    3
    4
    584
    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 12 Apr 2022, 19:38

      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

      E 1 Reply Last reply 12 Apr 2022, 19:55 Reply Quote 0
      • T
        tom admin
        last edited by 12 Apr 2022, 19:51

        @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
        • E
          Eric Katzfey ModalAI Team @frafrat
          last edited by 12 Apr 2022, 19:55

          @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 18 Apr 2022, 21:45

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

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post
            Powered by NodeBB | Contributors