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

From version 16.3
edited by kai
on 2023/04/23 15:02
Change comment: There is no comment for this version
To version 14.44
edited by Xiaoling
on 2023/04/17 11:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kai
1 +XWiki.Xiaoling
Content
... ... @@ -134,7 +134,7 @@
134 134  == 1.6 BLE connection ==
135 135  
136 136  
137 -S31x-LB support BLE remote configure.
137 +D2x-LB support BLE remote configure.
138 138  
139 139  
140 140  BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
... ... @@ -194,6 +194,8 @@
194 194  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
195 195  
196 196  
197 +
198 +
197 197  The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
198 198  
199 199  
... ... @@ -244,7 +244,7 @@
244 244  === 2.3.1 Device Status, FPORT~=5 ===
245 245  
246 246  
247 -Users can use the downlink command(**0x26 01**) to ask S31x-LB to send device configure detail, include device configure status. S31-LB will uplink a payload via FPort=5 to server.
249 +Users can use the downlink command(**0x26 01**) to ask S31x-LB to send device configure detail, include device configure status. S31x-LB will uplink a payload via FPort=5 to server.
248 248  
249 249  The Payload format is as below.
250 250  
... ... @@ -256,7 +256,7 @@
256 256  
257 257  Example parse in TTNv3
258 258  
259 -[[image:image-20230421171614-1.png]]
261 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20230415153147-2.png?width=1120&height=220&rev=1.1||alt="image-20230415153147-2.png"]]
260 260  
261 261  
262 262  (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A
... ... @@ -423,7 +423,7 @@
423 423  
424 424  User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
425 425  
426 -Once S31-LB 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. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
428 +Once S31x-LB 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. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
427 427  
428 428  (% 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.**
429 429  
... ... @@ -470,7 +470,7 @@
470 470  
471 471  **Example:**
472 472  
473 -If S31-LB has below data inside Flash:
475 +If D2x-LB has below data inside Flash:
474 474  
475 475  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523144455-1.png?width=735&height=335&rev=1.1||alt="image-20220523144455-1.png" height="335" width="735"]]
476 476  
... ... @@ -481,7 +481,7 @@
481 481   Stop time: 60066DA7= time 21/1/19 05:27:03
482 482  
483 483  
484 -**S31-LB will uplink this payload.**
486 +**S31x-LB will uplink this payload.**
485 485  
486 486  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-13.png?width=727&height=421&rev=1.1||alt="image-20220523001219-13.png" height="421" width="727"]]
487 487  
... ... @@ -621,7 +621,7 @@
621 621  
622 622  * (% style="color:blue" %)**Downlink Payload:**
623 623  
624 -(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/ Set AT+SHTEMP=0,30
626 +(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/Set AT+SHTEMP=0,30
625 625  
626 626  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)**
627 627  
... ... @@ -638,11 +638,11 @@
638 638  
639 639  Example:
640 640  
641 - AT+SHHUM=70,0  ~/~/ Alarm when humidity lower than 70%.
643 + AT+SHHUM=70,0   ~/~/ Alarm when humidity lower than 70%.
642 642  
643 643  * (% style="color:blue" %)**Downlink Payload:**
644 644  
645 -(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/ Set AT+SHTHUM=70,0
647 +(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/Set AT+SHTHUM=70,0
646 646  
647 647  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))**
648 648  
... ... @@ -660,7 +660,7 @@
660 660  (% style="color:#037691" %)**0x(0D 00 1E)**(%%)     **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes
661 661  
662 662  
663 -=== 3.3.6 Get Alarm settings: ===
665 +=== 3.3.6 Get Alarm settings  (什么FPORT?) ===
664 664  
665 665  
666 666  Send a LoRaWAN downlink to ask device send Alarm settings.
... ... @@ -676,7 +676,7 @@
676 676  
677 677  * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
678 678  
679 -=== 3.3.7 Set Interrupt Mode: ===
681 +=== 3.3.7 Set Interrupt Mode ===
680 680  
681 681  
682 682  Feature, Set Interrupt mode for GPIO_EXIT.
... ... @@ -707,7 +707,7 @@
707 707  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
708 708  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
709 709  
710 -= 4. Battery & Power Consumption: =
712 += 4. Battery & Power Consumption =
711 711  
712 712  
713 713  S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
... ... @@ -715,7 +715,7 @@
715 715  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
716 716  
717 717  
718 -= 5. OTA Firmware update: =
720 += 5. OTA Firmware update =
719 719  
720 720  
721 721  (% class="wikigeneratedid" %)
image-20230421162630-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.5 KB
Content
image-20230421171614-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -34.8 KB
Content