How to get network time at RAK4631(Arduino BSP)

Please include the following information, in order for us to help you as effectively as possible.

  • What product do you wish to discuss? RAK4631

  • What firmware are you using? VSCode/PlatformIO

  • What firmware version? Can it be obtained with AT+VER=?

  • Computer OS? (MacOS, Linux, Windows) Windows

  • What Computer OS version? Windows 11

  • How often does the problem happen? Always

  • How can we replicate the problem? Yes

  • Provide source code if custom firmware is used or link to example if RAKwireless example code is used.

I am looking for a way to get a network time (network time sync). In theory, it is possible and described at “LoRaWAN Application Layer Clock Synchronization Specification v1.0.0”

Could you help me?

Cláudio

Possible in RUI3 with AT command AT+TIMEREQ, API call to come with next release.
Not possible with the Arduino BSP and open source SX1262 library, it is not implemented.
The Arduino opens source SX1262 library is based on LoRaMAC stack version 1.0.2 and I am not sure if the time request function is even possible on that stack version.

I understand that, but we will work with a AWS FreeRTOS to create a multi-platform/vendors LPWAN solution and the solution based on RUI3 could not be applied because it is a RAKWireless private solution. I know that RUI3 is a excelent solution, but it was a corporate decision.

Cláudio