Last modified by Mengting Qiu on 2025/07/01 15:58
From version 104.5
edited by Edwin Chen
on 2025/06/27 11:04
on 2025/06/27 11:04
Change comment:
There is no comment for this version
To version 105.2
edited by Bei Jinggeng
on 2025/06/28 15:29
on 2025/06/28 15:29
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - Content
-
... ... @@ -383,7 +383,7 @@ 383 383 384 384 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 385 385 386 -Read:0x(0197)=412 Value: 4 12/ 10=41.2, So 41.2%386 +Read:0x(0197)=412 Value: 407 / 10=40.7, So 40.7% 387 387 388 388 389 389 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== ... ... @@ -433,16 +433,21 @@ 433 433 434 434 ))) 435 435 436 -=== 2.5.2 Enable Datalog 436 +=== 2.5.2 Enable Datalog === 437 437 438 438 439 439 User need to make sure below two settings are enable to use datalog; 440 440 441 441 * (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via LoRaWAN MAC command 442 -* 442 +* (% style="color:blue" %)**PMACKMD=1**(%%)** **to enable datalog feature 443 443 444 444 445 445 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 + 446 446 === 2.5.3 Unix TimeStamp === 447 447 448 448 ... ... @@ -457,17 +457,6 @@ 457 457 [[image:image-20250328173355-6.jpeg]] 458 458 459 459 460 - 461 -=== 2.5.3 Set Device Time === 462 - 463 - 464 -User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 465 - 466 -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). 467 - 468 -(% 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.** 469 - 470 - 471 471 === 2.5.4 Datalog Uplink payload (FPORT~=3) === 472 472 473 473