Last modified by Xiaoling on 2025/07/10 16:21

From version 146.2
edited by Mengting Qiu
on 2025/07/08 10:57
Change comment: There is no comment for this version
To version 148.2
edited by Xiaoling
on 2025/07/10 16:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Xiaoling
Content
... ... @@ -624,24 +624,24 @@
624 624  == 2.6 Datalog Feature (Since V1.1) ==
625 625  
626 626  
627 -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.
627 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, PS-LB will store the reading for future retrieving purposes.
628 628  
629 629  
630 -=== 2.5.1 How datalog works ===
630 +=== 2.6.1 How datalog works ===
631 631  
632 632  
633 -PS-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,PS-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.
633 +PS-LB will wait for ACK for every uplink, when there is no LoRaWAN network,PS-LB 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.
634 634  
635 635  * (((
636 -a) PS-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
636 +a) PS-LB will do an ACK check for data records sending to make sure every data arrive server.
637 637  )))
638 638  * (((
639 -b) PS-LB/LS will send data in **CONFIRMED Mode**, but PS-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 PS-LB/LS gets a ACK, PS-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
639 +b) PS-LB will send data in **CONFIRMED Mode**, but PS-LB 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 PS-LB gets a ACK, PS-LB will consider there is a network connection and resend all NONE-ACK messages.
640 640  
641 641  
642 642  )))
643 643  
644 -=== 2.5.2 Enable Datalog ===
644 +=== 2.6.2 Enable Datalog ===
645 645  
646 646  
647 647  User need to make sure below two settings are enable to use datalog;
... ... @@ -651,12 +651,12 @@
651 651  
652 652  
653 653  
654 -Once PS-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).
654 +Once PS-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to PS-LB. If PS-LB fails to get the time from the server, PS-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
655 655  
656 656  (% 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.**
657 657  
658 658  
659 -=== 2.6.1 Unix TimeStamp ===
659 +=== 2.6.3 Unix TimeStamp ===
660 660  
661 661  
662 662  PS-LB uses Unix TimeStamp format based on
... ... @@ -670,7 +670,7 @@
670 670  [[image:image-20250401163906-4.jpeg]]
671 671  
672 672  
673 -=== 2.6.3 Poll sensor value ===
673 +=== 2.6.4 Poll sensor value ===
674 674  
675 675  Users can poll sensor values based on timestamps. Below is the downlink command.
676 676  
... ... @@ -690,7 +690,7 @@
690 690  Uplink Internal =5s,means PS-LB will send one packet every 5s. range 5~~255s.
691 691  
692 692  
693 -=== 2.6.4 Datalog Uplink payload (FPORT~=3) ===
693 +=== 2.6.5 Datalog Uplink payload (FPORT~=3) ===
694 694  
695 695  
696 696  The Datalog uplinks will use below payload format.
... ... @@ -790,7 +790,7 @@
790 790  Note: water_deep in the data needs to be converted using decoding to get it.
791 791  
792 792  
793 -=== 2.6.5 Decoder in TTN V3 ===
793 +=== 2.6.6 Decoder in TTN V3 ===
794 794  
795 795  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652862574387-195.png?width=722&height=359&rev=1.1||alt="1652862574387-195.png" height="359" width="722"]]
796 796  
... ... @@ -1214,7 +1214,7 @@
1214 1214  (0~~100Pa->01,0~~200Pa->02,0~~300Pa->03,0~~1KPa->04,0~~2KPa->05,0~~3KPa->06,0~~4KPa->07,0~~5KPa->08,0~~10KPa->09,-100~~ 100Pa->0A,-200~~ 200Pa->0B,-1~~ 1KPa->0C)
1215 1215  
1216 1216  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1217 -|(% style="background-color:#4f81bd; color:white; width:154px" %)Command Example|(% style="background-color:#4f81bd; color:white; width:269px" %)Function|(% style="background-color:#4f81bd; color:white" %)Response
1217 +|(% style="background-color:#4f81bd; color:white; width:154px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:269px" %)**Function**|(% style="background-color:#4f81bd; color:white" %)**Response**
1218 1218  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=?|(% style="background-color:#f2f2f2; width:269px" %)Get or Set the probe model.|(% style="background-color:#f2f2f2" %)0
1219 1219  OK
1220 1220  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=0003|(% style="background-color:#f2f2f2; width:269px" %)Set water depth sensor mode, 3m type.|(% style="background-color:#f2f2f2" %)OK
... ... @@ -1249,7 +1249,7 @@
1249 1249  cc: the number of collection times, the value is 1~~120
1250 1250  
1251 1251  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1252 -|(% style="background-color:#4f81bd; color:white; width:160px" %)Command Example|(% style="background-color:#4f81bd; color:white; width:215px" %)Function|(% style="background-color:#4f81bd; color:white" %)Response
1252 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:215px" %)**Function**|(% style="background-color:#4f81bd; color:white" %)**Response**
1253 1253  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=?|(% style="background-color:#f2f2f2; width:215px" %)Get the mode of multiple acquisitions and one uplink.|(% style="background-color:#f2f2f2" %)1,10,18
1254 1254  OK
1255 1255  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=1,10,18|(% style="background-color:#f2f2f2; width:215px" %)Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|(% style="background-color:#f2f2f2" %)(((
... ... @@ -1373,7 +1373,7 @@
1373 1373  |(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1374 1374  Clear all stored sensor data…
1375 1375  
1376 -OK
1376 +OK
1377 1377  )))
1378 1378  
1379 1379  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
... ... @@ -1487,7 +1487,7 @@
1487 1487  == 8.1 Thread Installation Type & Immersion Type Pressure Sensor ==
1488 1488  
1489 1489  
1490 -Part Number: (% style="color:blue" %)**PS-NB/NS-Txx-YY  or  PS-NB/NS-Ixx-YY**
1490 +Part Number: (% style="color:blue" %)**PS-LB/LS-Txx-YY  or  PS-LB/LS-Ixx-YY**
1491 1491  
1492 1492  (% style="color:blue" %)**XX:**(%%)** Pressure Range and Thread Type **
1493 1493