Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,8 +10,10 @@ 10 10 * **Common Commands:** They should be available for each sensor, such as: change uplink interval, reset device. 11 11 * **Sensor Related Commands:** Only for special sensor, such as control relay, poll RS485 device. 12 12 13 +((( 13 13 **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.** 14 14 16 +))) 15 15 16 16 = 2. How to use AT Commands or Downlink command = 17 17 ... ... @@ -24,19 +24,75 @@ 24 24 = 3. Support End Node and firmware version = 25 25 26 26 (% border="1" style="background-color:#ffffcc; border:1; color:green; width:995.222px" %) 27 -|=(% colspan="3" style="width: 992px;" %)Dragino STM32 base hardware Firmware / LoRaWAN stack list 28 -|(% style="width:187px" %)**Model**|(% style="width:349px" %)**Description**|(% style="width:453px" %)**Firmware Version <~-~-> Stack Version** 29 -|(% style="width:187px" %)[[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]],|(% style="width:349px" %)Open Source Generic LoRaWAN Sensor Node|(% style="width:453px" %)LSN50 v1.6.0 <~-~-> DR-LWS-003;((( 29 +|=(% colspan="3" style="width: 992px;" %)((( 30 +Dragino STM32 base hardware Firmware / LoRaWAN stack list 31 +))) 32 +|(% style="width:187px" %)((( 33 +**Model** 34 +)))|(% style="width:349px" %)((( 35 +**Description** 36 +)))|(% style="width:453px" %)((( 37 +**Firmware Version <~-~-> Stack Version** 38 +))) 39 +|(% style="width:187px" %)((( 40 +[[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]], 41 +)))|(% style="width:349px" %)((( 42 +Open Source Generic LoRaWAN Sensor Node 43 +)))|(% style="width:453px" %)((( 44 +((( 45 +LSN50 v1.6.0 <~-~-> DR-LWS-003; 46 +))) 47 + 48 +((( 49 +((( 30 30 LSN50 v1.7.0 <~-~-> DR-LWS-005; ~-~-> Support since this version 31 31 ))) 32 -|(% style="width:187px" %)[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]],|(% style="width:349px" %)LoRaWAN GPS Tracker|(% style="width:453px" %)LGT92 v1.6.3 <~-~-> DR-LWS-003;((( 52 +))) 53 +))) 54 +|(% style="width:187px" %)((( 55 +[[LGT92>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/142-lgt-92.html]], 56 +)))|(% style="width:349px" %)((( 57 +LoRaWAN GPS Tracker 58 +)))|(% style="width:453px" %)((( 59 +((( 60 +LGT92 v1.6.3 <~-~-> DR-LWS-003; 61 +))) 62 + 63 +((( 64 +((( 33 33 LGT92 v1.6.4 <~-~-> DR-LWS-005;~-~-> Support since this version 34 34 ))) 35 -|(% style="width:187px" %)[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]],|(% style="width:349px" %)LoRaWAN BLE Indoor Tracker|(% style="width:453px" %)LBT1 v1.0 <~-~-> DR-LWS-005; 36 -|(% style="width:187px" %)[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]],|(% style="width:349px" %)LoRaWAN RS485 Modbus Converter|(% style="width:453px" %)RS485-LN v1.3 <~-~-> DR-LWS-005; 37 -|(% style="width:187px" %)[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]],|(% style="width:349px" %)LoRaWAN Temperature & Humidity Sensor|(% style="width:453px" %)LHT65 v1.7 <~-~-> DR-LWS-003;((( 67 +))) 68 +))) 69 +|(% style="width:187px" %)((( 70 +[[LBT1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/165-lbt1.html]], 71 +)))|(% style="width:349px" %)((( 72 +LoRaWAN BLE Indoor Tracker 73 +)))|(% style="width:453px" %)((( 74 +LBT1 v1.0 <~-~-> DR-LWS-005; 75 +))) 76 +|(% style="width:187px" %)((( 77 +[[RS485-LN>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/154-rs485-ln.html]], 78 +)))|(% style="width:349px" %)((( 79 +LoRaWAN RS485 Modbus Converter 80 +)))|(% style="width:453px" %)((( 81 +RS485-LN v1.3 <~-~-> DR-LWS-005; 82 +))) 83 +|(% style="width:187px" %)((( 84 +[[LHT65>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/151-lht65.html]], 85 +)))|(% style="width:349px" %)((( 86 +LoRaWAN Temperature & Humidity Sensor 87 +)))|(% style="width:453px" %)((( 88 +((( 89 +LHT65 v1.7 <~-~-> DR-LWS-003; 90 +))) 91 + 92 +((( 93 +((( 38 38 LHT65 v1.8.0 <~-~-> DR-LWS-005;~-~-> Support since this version 39 39 ))) 96 +))) 97 +))) 40 40 41 41 = 4. System Management Commands = 42 42 ... ... @@ -65,9 +65,13 @@ 65 65 **Downlink Command: 0x01** 66 66 {{/info}} 67 67 126 +((( 68 68 Format: Command Code (0x01) followed by 3 bytes time value. 128 +))) 69 69 130 +((( 70 70 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 132 +))) 71 71 72 72 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 73 73 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds ... ... @@ -162,7 +162,9 @@ 162 162 163 163 Downlink Format: 0x26 164 164 227 +((( 165 165 Device will reply with firmware version info, device info. frequency band info. detail please check device user manual. Total 5 bytes Example: If device is of firmware version 1.1.0 Upload: xx ~-~- yy ~-~- zz ~-~- 110 total 5 bytes 229 +))) 166 166 167 167 **xx: Software Type:** 168 168 ... ... @@ -907,11 +907,15 @@ 907 907 ))) 908 908 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 909 909 910 -AT+RX1TWO is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph. 974 +((( 975 +**AT+RX1TWO** is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph. 976 +))) 911 911 912 912 [[image:image-20220511120050-1.png]] 913 913 980 +((( 914 914 Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink. 982 +))) 915 915 916 916 == 7.21 Get or Set RXwindows2 timeout == 917 917