Changes for page DS03A-LB/LS -- Outdoor LoRaWAN Door Sensor User Manual
Last modified by Mengting Qiu on 2025/01/10 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -129,7 +129,7 @@ 129 129 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20240103160425-4.png?rev=1.1||alt="image-20240103160425-4.png"]] 130 130 131 131 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 132 -|=(% style="width: 167px;background-color:# D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 226px;background-color:#D9E2F3;color:#0070C0" %)**Action**132 +|=(% 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** 133 133 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 134 134 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 135 135 Meanwhile, BLE module will be active and user can connect via BLE to configure device. ... ... @@ -261,7 +261,7 @@ 261 261 The Payload format is as below. 262 262 263 263 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 264 -|(% colspan="6" style="background-color:# d9e2f3;#0070c0" %)**Device Status (FPORT=5)**264 +|(% colspan="6" style="background-color:#4F81BD;color:white" %)**Device Status (FPORT=5)** 265 265 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 266 266 |(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT 267 267 ... ... @@ -391,7 +391,7 @@ 391 391 **1) When (% style="color:blue" %)AT+TTRCHANNEL=1(%%), Uplink Payload totals (% style="color:blue" %)11 bytes. (Default mode)(%%)** 392 392 393 393 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 394 -|=(% colspan="5" style="background-color:# D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=2**394 +|=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 395 395 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 396 396 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 397 397 Status & [[Alarm>>||anchor="H3.3.4A0TTRIG126TTRIG2timeoutstatusalarm"]] ... ... @@ -471,7 +471,7 @@ 471 471 (% style="color:red" %)**Note:When using the AT+TTRCHANNEL=2 command, the Datalog function cannot be used.** 472 472 473 473 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 474 -|=(% colspan="8" style="background-color:# D9E2F3;color:#0070C0; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2**474 +|=(% colspan="8" style="background-color:#4F81BD;color:white; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2** 475 475 |(% style="width:50px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:125px" %)**3**|(% style="width:100px" %)**4**|(% style="width:86px" %)**1**|(% style="width:96px" %)**3**|(% style="width:126px" %)**3** 476 476 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 477 477 Status1 & Alarm1 ... ... @@ -564,7 +564,7 @@ 564 564 The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time open/close status. 565 565 566 566 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 567 -|=(% colspan="5" style="background-color:# D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=3**567 +|=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 568 568 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 569 569 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 570 570 Status & [[Alarm>>||anchor="H3.3.3A0AlarmBaseonTimeout"]] ... ... @@ -672,11 +672,8 @@ 672 672 * a) DS03A-LB/LS will do an ACK check for data records sending to make sure every data arrive server. 673 673 * b) DS03A-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but DS03A-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 DS03A-LB/LS gets a ACK, DS03A-LB/LS will consider there is a network connection and resend all NONE-ACK Message. 674 674 675 -Below is the typical case for the Datalog Feature (Set PNACKMD=1) 676 676 677 -[[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-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="image-20220703111700-2.png" height="381" width="1119"]] 678 678 679 - 680 680 === 2.5.2 Unix TimeStamp === 681 681 682 682 ... ... @@ -698,7 +698,7 @@ 698 698 699 699 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 700 700 701 -Once DS03A-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to DS03A-LB. If DS03A-LB fails to get the time from the server, DS03A-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 698 +Once DS03A-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 DS03A-LB/LS. If DS03A-LB/LS fails to get the time from the server, DS03A-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). 702 702 703 703 (% 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 and loriot support but TTN 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 v2 if SYNCMOD=1.** 704 704 ... ... @@ -711,7 +711,7 @@ 711 711 712 712 (% style="color:blue" %)**Step 1:**(%%)** Link TTNv3 to Datacake.**[[https:~~/~~/docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti>>url:https://docs.datacake.de/lorawan/lns/thethingsindustries#create-integration-on-tti]] 713 713 714 -(% style="color:blue" %)**Step 2:**(%%)** Configure DS03A-LB in Datacake.** 711 +(% style="color:blue" %)**Step 2:**(%%)** Configure DS03A-LB/LS in Datacake.** 715 715 716 716 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS03A%20-%20Outdoor%20LoRaWAN%20OpenClose%20Door%20Sensor%20Manual/WebHome/1654746350207-427.png?rev=1.1||alt="1654746350207-427.png"]] 717 717 ... ... @@ -746,7 +746,7 @@ 746 746 == 2.7 Frequency Plans == 747 747 748 748 749 -The DS03A-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 746 +The DS03A-LB/LS uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 750 750 751 751 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 752 752 ... ... @@ -757,12 +757,12 @@ 757 757 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/b0uwyzjs4px4eao/AADvI7fPRwsFKTglEmaRRuaaa?dl=0>>https://www.dropbox.com/sh/b0uwyzjs4px4eao/AADvI7fPRwsFKTglEmaRRuaaa?dl=0]] 758 758 759 759 760 -= 3. Configure DS03A-LB = 757 += 3. Configure DS03A-LB/LS = 761 761 762 762 == 3.1 Configure Methods: == 763 763 764 764 765 -DS03A-LB supports below configure method: 762 +DS03A-LB/LS supports below configure method: 766 766 767 767 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 768 768 * AT Command via UART Connection : See [[Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. ... ... @@ -781,10 +781,10 @@ 781 781 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 782 782 783 783 784 -== 3.3 Commands special design for DS03A-LB == 781 +== 3.3 Commands special design for DS03A-LB/LS == 785 785 786 786 787 -These commands only valid for DS03A-LB, as below: 784 +These commands only valid for DS03A-LB/LS, as below: 788 788 789 789 790 790 === 3.3.1 Set Transmit Interval Time === ... ... @@ -867,7 +867,7 @@ 867 867 === 3.3.4 Alarm Base on Timeout === 868 868 869 869 870 -DS03A-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 867 +DS03A-LB/LS can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: 871 871 872 872 * ((( 873 873 (% style="color:blue" %)**Keep Status: Status to be monitor** ... ... @@ -909,9 +909,9 @@ 909 909 (% style="color:blue" %)**AT Command to configure:** 910 910 911 911 * ((( 912 -(% style="color:#037691" %)**AT+TTRIG1=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm1 bit(the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 909 +(% style="color:#037691" %)**AT+TTRIG1=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB/LS will send an uplink packet, the Alarm1 bit(the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 913 913 914 -(% style="color:#037691" %)**AT+TTRIG1=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm1 bit (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 911 +(% style="color:#037691" %)**AT+TTRIG1=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB/LS will send an uplink packet, the Alarm1 bit (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 915 915 ))) 916 916 917 917 * ((( ... ... @@ -931,9 +931,9 @@ 931 931 (% style="color:blue" %)**AT Command to configure:** 932 932 933 933 * ((( 934 -(% style="color:#037691" %)**AT+TTRIG2=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 931 +(% style="color:#037691" %)**AT+TTRIG2=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB/LS will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 935 935 936 -(% style="color:#037691" %)**AT+TTRIG2=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 933 +(% style="color:#037691" %)**AT+TTRIG2=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB/LS will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 937 937 ))) 938 938 939 939 * ((( ... ... @@ -956,7 +956,7 @@ 956 956 (% style="color:blue" %)**AT Command:** 957 957 958 958 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 959 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 279px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 76px;background-color:#D9E2F3;color:#0070C0" %)**Response**956 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 279px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 76px;background-color:#4F81BD;color:white" %)**Response** 960 960 |(% style="width:155px" %)((( 961 961 AT+TTRALARM=0 962 962 )))|(% style="width:279px" %)((( ... ... @@ -985,7 +985,7 @@ 985 985 (% style="color:blue" %)**AT Command:** 986 986 987 987 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 988 -|=(% style="width: 154px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 275px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response**985 +|=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 275px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response** 989 989 |(% style="width:155px" %)((( 990 990 AT+COUNTMOD=0 991 991 )))|(% style="width:277px" %)((( ... ... @@ -1014,7 +1014,7 @@ 1014 1014 (% style="color:blue" %)**AT Command:** 1015 1015 1016 1016 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1017 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**1014 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response** 1018 1018 |(% style="width:155px" %)((( 1019 1019 AT+TTRCHANNEL=1 1020 1020 )))|(% style="width:259px" %)((( ... ... @@ -1045,7 +1045,7 @@ 1045 1045 (% style="color:blue" %)**AT Command:** 1046 1046 1047 1047 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1048 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**1045 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response** 1049 1049 |(% style="width:155px" %)((( 1050 1050 AT+SYNCMOD=1 1051 1051 )))|(% style="width:259px" %)((( ... ... @@ -1079,7 +1079,7 @@ 1079 1079 (% style="color:blue" %)**AT Command:** 1080 1080 1081 1081 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1082 -|=(% style="width: 163px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 290px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**1079 +|=(% style="width: 163px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 290px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response** 1083 1083 |(% style="width:155px" %)AT+CLRC|(% style="width:259px" %)clear the open door times and the duration of the last open door.|(% style="width:44px" %)((( 1084 1084 OK 1085 1085 ))) ... ... @@ -1095,7 +1095,7 @@ 1095 1095 (% style="color:blue" %)**AT Command:** 1096 1096 1097 1097 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1098 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**1095 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response** 1099 1099 |(% style="width:155px" %)((( 1100 1100 AT+SETCNT=1,100 1101 1101 )))|(% style="width:259px" %)((( ... ... @@ -1132,7 +1132,7 @@ 1132 1132 = 5. OTA firmware update = 1133 1133 1134 1134 1135 -User can change firmware DS03A-LB to: 1132 +User can change firmware DS03A-LB/LS to: 1136 1136 1137 1137 * Change Frequency band/ region. 1138 1138 * Update with new features.