Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/07/10 16:21
From version 146.2
edited by Mengting Qiu
on 2025/07/08 10:57
on 2025/07/08 10:57
Change comment:
There is no comment for this version
To version 147.1
edited by Mengting Qiu
on 2025/07/08 10:59
on 2025/07/08 10:59
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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, S 31x-LB/LSwill 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 /LSwill wait for ACK for every uplink, when there is no LoRaWAN network,PS-LB/LSwill 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 /LSwill 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 /LSwill send data in **CONFIRMED Mode**, but PS-LB/LSwon'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/LSgets a ACK, PS-LB/LSwill 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 /LSJoined 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/LSfails to get the time from the server,31x-LB/LSwill 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. 1Unix 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. 3Poll 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. 4Datalog 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. 5Decoder 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