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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.kai
Content
... ... @@ -134,7 +134,7 @@
134 134  == 1.6 BLE connection ==
135 135  
136 136  
137 -D2x-LB support BLE remote configure.
137 +S31x-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,8 +194,6 @@
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 -
199 199  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.
200 200  
201 201  
... ... @@ -258,7 +258,7 @@
258 258  
259 259  Example parse in TTNv3
260 260  
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"]]
259 +[[image:image-20230421171614-1.png]]
262 262  
263 263  
264 264  (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A
... ... @@ -335,7 +335,7 @@
335 335  [[Humidity>>||anchor="HHumidity:"]]
336 336  )))
337 337  
338 -==== (% style="color:#4472c4" %)**Battery:**(%%) ====
336 +==== (% style="color:#4472c4" %)**Battery**(%%) ====
339 339  
340 340  Sensor Battery Level.
341 341  
... ... @@ -345,7 +345,7 @@
345 345  
346 346  
347 347  
348 -==== (% style="color:#4472c4" %)**Temperature:**(%%) ====
346 +==== (% style="color:#4472c4" %)**Temperature**(%%) ====
349 349  
350 350  **Example**:
351 351  
... ... @@ -356,13 +356,13 @@
356 356  (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
357 357  
358 358  
359 -==== (% style="color:#4472c4" %)**Humidity:**(%%) ====
357 +==== (% style="color:#4472c4" %)**Humidity**(%%) ====
360 360  
361 361  
362 362  Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
363 363  
364 364  
365 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
363 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ====
366 366  
367 367  
368 368  **Example:**
... ... @@ -425,7 +425,7 @@
425 425  
426 426  User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
427 427  
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).
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).
429 429  
430 430  (% 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.**
431 431  
... ... @@ -472,7 +472,7 @@
472 472  
473 473  **Example:**
474 474  
475 -If D2x-LB has below data inside Flash:
473 +If S31x-LB has below data inside Flash:
476 476  
477 477  [[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"]]
478 478  
... ... @@ -541,7 +541,7 @@
541 541  
542 542  = 3. Configure S31x-LB =
543 543  
544 -== 3.1 Configure Methods: ==
542 +== 3.1 Configure Methods ==
545 545  
546 546  
547 547  S31x-LB supports below configure method:
... ... @@ -607,7 +607,7 @@
607 607  Sensor will upload Device Status via FPORT=5. See payload section for detail.
608 608  
609 609  
610 -=== 3.3.3 Set Temperature Alarm Threshold: ===
608 +=== 3.3.3 Set Temperature Alarm Threshold ===
611 611  
612 612  * (% style="color:blue" %)**AT Command:**
613 613  
... ... @@ -623,12 +623,12 @@
623 623  
624 624  * (% style="color:blue" %)**Downlink Payload:**
625 625  
626 -(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/Set AT+SHTEMP=0,30
624 +(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/ Set AT+SHTEMP=0,30
627 627  
628 628  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)**
629 629  
630 630  
631 -=== 3.3.4 Set Humidity Alarm Threshold: ===
629 +=== 3.3.4 Set Humidity Alarm Threshold ===
632 632  
633 633  * (% style="color:blue" %)**AT Command:**
634 634  
... ... @@ -640,16 +640,16 @@
640 640  
641 641  Example:
642 642  
643 - AT+SHHUM=70,0   ~/~/ Alarm when humidity lower than 70%.
641 + AT+SHHUM=70,0  ~/~/ Alarm when humidity lower than 70%.
644 644  
645 645  * (% style="color:blue" %)**Downlink Payload:**
646 646  
647 -(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/Set AT+SHTHUM=70,0
645 +(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/ Set AT+SHTHUM=70,0
648 648  
649 649  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))**
650 650  
651 651  
652 -=== 3.3.5 Set Alarm Interval: ===
650 +=== 3.3.5 Set Alarm Interval ===
653 653  
654 654  The shortest time of two Alarm packet. (unit: min)
655 655  
... ... @@ -662,7 +662,7 @@
662 662  (% style="color:#037691" %)**0x(0D 00 1E)**(%%)     **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes
663 663  
664 664  
665 -=== 3.3.6 Get Alarm settings  (什么FPORT?) ===
663 +=== 3.3.6 Get Alarm settings ===
666 666  
667 667  
668 668  Send a LoRaWAN downlink to ask device send Alarm settings.
image-20230421162630-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.5 KB
Content
image-20230421171614-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +34.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0