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

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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Edwin
Content
... ... @@ -108,6 +108,7 @@
108 108  
109 109  [[image:image-20250416143859-1.jpeg]]
110 110  
111 +
111 111  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
112 112  |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**
113 113  |[[image:1749523489553-702.png]] 1~~3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
... ... @@ -418,21 +418,32 @@
418 418  Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB/LS will store the reading for future retrieving purposes.
419 419  
420 420  
421 -=== 2.5.1 Ways to get datalog via LoRaWAN ===
422 +=== 2.5.1 How datalog works ===
422 422  
423 423  
424 -Set PNACKMD=1, S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
425 +S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
425 425  
426 426  * (((
427 427  a) S31x-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
428 428  )))
429 429  * (((
430 -b) S31x-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
431 +b) S31x-LB/LS will send data in **CONFIRMED Mode**, but S31x-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
432 +
433 +
431 431  )))
432 432  
433 -=== 2.5.2 Unix TimeStamp ===
436 +=== 2.5.2 Enable Datalog ===
434 434  
435 435  
439 +User need to make sure below two settings are enable to use datalog;
440 +
441 +* (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via LoRaWMAC command
442 +
443 +
444 +
445 +=== 2.5.3 Unix TimeStamp ===
446 +
447 +
436 436  S31x-LB/LS uses Unix TimeStamp format based on
437 437  
438 438  [[image:image-20250328173339-5.jpeg]]
... ... @@ -444,9 +444,7 @@
444 444  [[image:image-20250328173355-6.jpeg]]
445 445  
446 446  
447 -So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
448 448  
449 -
450 450  === 2.5.3 Set Device Time ===
451 451  
452 452