Last modified by Mengting Qiu on 2025/07/01 15:58

From version 104.4
edited by Edwin Chen
on 2025/06/27 11:04
Change comment: There is no comment for this version
To version 105.1
edited by Edwin Chen
on 2025/06/27 11:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -438,10 +438,16 @@
438 438  
439 439  User need to make sure below two settings are enable to use datalog;
440 440  
441 -* (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via LoRaWMAC command
441 +* (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via LoRaWAN MAC command
442 +* (% style="color:blue" %)**PMACKMD=1**(%%)** **to enable datalog feature
442 442  
443 443  
444 444  
446 +Once S31x-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB/LS. If S31x-LB/LS fails to get the time from the server, S31x-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
447 +
448 +(% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
449 +
450 +
445 445  === 2.5.3 Unix TimeStamp ===
446 446  
447 447  
... ... @@ -456,17 +456,6 @@
456 456  [[image:image-20250328173355-6.jpeg]]
457 457  
458 458  
459 -
460 -=== 2.5.3 Set Device Time ===
461 -
462 -
463 -User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
464 -
465 -Once S31x-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB/LS. If S31x-LB/LS fails to get the time from the server, S31x-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
466 -
467 -(% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
468 -
469 -
470 470  === 2.5.4 Datalog Uplink payload (FPORT~=3) ===
471 471  
472 472