Last modified by Mengting Qiu on 2025/08/14 17:09

From version 110.1
edited by Mengting Qiu
on 2025/08/14 17:09
Change comment: There is no comment for this version
To version 76.7
edited by Xiaoling
on 2024/01/04 18:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Xiaoling
Content
... ... @@ -1,6 +1,7 @@
1 1   (% style="display:none" %) (%%) (% style="display:none" %) (%%) (% style="display:none" %)
2 2  
3 -[[image:image-20240104162316-6.png||data-xwiki-image-style-alignment="center"]]
3 +(% style="text-align:center" %)
4 +[[image:image-20240104162316-6.png]]
4 4  
5 5  
6 6  
... ... @@ -32,7 +32,7 @@
32 32  
33 33  S31x-LB/LS (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use.
34 34  
35 -S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + Li-ion battery**(%%) it is designed for long term use up to 5 years.
36 +S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + li-on battery**(%%) it is designed for long term use up to 5 years.
36 36  
37 37  Each S31x-LB/LS is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
38 38  
... ... @@ -50,8 +50,8 @@
50 50  * Support wireless OTA update firmware
51 51  * Uplink on periodically
52 52  * Downlink to change configure
53 -* 8500mAh Li/SOCl2 Battery (S31/S31B-LB)
54 -* Solar panel + 3000mAh Li-ion battery (S31/S31B-LS)
54 +* 88500mAh Li/SOCl2 Battery (S31/S31B-LB)
55 +* Solar panel + 3000mAh Li-on battery (S31/S31B-LS)
55 55  
56 56  == 1.3 Specification ==
57 57  
... ... @@ -106,29 +106,27 @@
106 106  == 1.5 Button & LEDs ==
107 107  
108 108  
109 -[[image:image-20250416143859-1.jpeg]]
110 +[[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"]]
110 110  
111 -
112 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
113 -|=(% 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**
114 -|[[image:1749523489553-702.png]] 1~~3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
112 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
113 +|=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 225px;background-color:#4F81BD;color:white" %)**Action**
114 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
115 115  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
116 116  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
117 117  )))
118 -|[[image:1749523491487-577.png]] >3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
118 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
119 119  (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.
120 120  (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
121 121  Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network.
122 122  )))
123 -|[[image:1749523524280-815.png]] x5|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
123 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
124 124  
125 -
126 -
127 127  == 1.6 BLE connection ==
128 128  
129 129  
130 130  S31x-LB/LS support BLE remote configure.
131 131  
130 +
132 132  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:
133 133  
134 134  * Press button to send an uplink
... ... @@ -140,25 +140,19 @@
140 140  
141 141  == 1.7 Pin Definitions ==
142 142  
142 +[[image:http://8.211.40.43/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230610163213-1.png?width=699&height=404&rev=1.1||alt="image-20230610163213-1.png"]]
143 143  
144 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20240926134323-1.png?rev=1.1||alt="image-20240926134323-1.png"]]
145 145  
146 -== 1.8 Wiring of DS18B20 temperature sensor ==
145 +== 1.8 Hardware Variant ==
147 147  
148 -The S31x-LB supports connection to the external temperature sensor DS18B20. The wiring method is as follows:
149 149  
150 -[[image:1749779850163-145.jpg||height="408" width="651"]]
151 -
152 -
153 -== 1.9 Hardware Variant ==
154 -
155 -
156 -(% border="1" cellspacing="3" style="width:460px" %)
148 +(% border="1" cellspacing="5" style="width:461.818px" %)
157 157  |=(% style="width: 102px;background-color:#4F81BD;color:white" %)Model|=(% style="width: 182px; background-color:#4F81BD;color:white" %)Photo|=(% style="width: 176px; background-color:#4F81BD;color:white" %)Probe Info
158 158  |(% style="width:102px" %)(((
159 159  S31-LB/LS
160 160  )))|(% style="width:182px" %)(((
161 -[[image:image-20240104165223-7.png||data-xwiki-image-style-alignment="center"]]
153 +(% style="text-align:center" %)
154 +[[image:image-20240104165223-7.png]]
162 162  )))|(% style="width:176px" %)(((
163 163  1 x SHT31 Probe
164 164  
... ... @@ -169,7 +169,8 @@
169 169  |(% style="width:102px" %)(((
170 170  S31B-LB/LS
171 171  )))|(% style="width:182px" %)(((
172 -[[image:image-20240104165338-9.png||data-xwiki-image-style-alignment="center"]]
165 +(% style="text-align:center" %)
166 +[[image:image-20240104165338-9.png]]
173 173  )))|(% style="width:176px" %)(((
174 174  1 x SHT31 Probe
175 175  
... ... @@ -179,18 +179,26 @@
179 179  (% style="display:none" %)
180 180  
181 181  
182 -== 1.10 Mechanical ==
183 183  
184 -=== 1.10.1 for LB version ===
177 +== 1.9 Mechanical ==
185 185  
186 -[[image:image-20250409174350-1.jpeg]]
179 +=== 1.9.1 for LB version ===
187 187  
188 -=== 1.10.2 for LS version ===
181 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]]
189 189  
190 190  
191 -[[image:image-20250409174410-2.jpeg]]
184 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143899218-599.png]]
192 192  
193 193  
187 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]]
188 +
189 +
190 +=== 1.9.2 for LS version ===
191 +
192 +
193 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20231231203439-3.png?width=886&height=385&rev=1.1||alt="image-20231231203439-3.png"]]
194 +
195 +
194 194  = 2. Configure S31x-LB/LS to connect to LoRaWAN network =
195 195  
196 196  == 2.1 How it works ==
... ... @@ -206,7 +206,6 @@
206 206  
207 207  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.
208 208  
209 -[[image:image-20250409175256-3.png]]
210 210  
211 211  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from S31x-LB/LS.
212 212  
... ... @@ -217,45 +217,31 @@
217 217  
218 218  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
219 219  
220 -**Create the application.**
221 221  
222 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]]
222 +(% style="color:blue" %)**Register the device**
223 223  
224 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/1654935135620-998.png?rev=1.1||alt="1654935135620-998.png"]]
224 224  
225 -**Add devices to the created Application.**
226 226  
227 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]]
227 +(% style="color:blue" %)**Add APP EUI and DEV EUI**
228 228  
229 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]]
229 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-4.png?width=753&height=551&rev=1.1||alt="图片-20220611161308-4.png"]]
230 230  
231 231  
232 -**Enter end device specifics manually.**
232 +(% style="color:blue" %)**Add APP EUI in the application**
233 233  
234 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]]
235 235  
235 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-5.png?width=742&height=601&rev=1.1||alt="图片-20220611161308-5.png"]]
236 236  
237 -**Add DevEUI and AppKey.**
238 238  
239 -**Customize a platform ID for the device.**
238 +(% style="color:blue" %)**Add APP KEY**
240 240  
241 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]]
240 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]]
242 242  
243 243  
244 -(% style="color:blue" %)**Step 2:**(%%) Add decoder.
243 +(% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS
245 245  
246 -In TTN, user can add a custom payload so it shows friendly reading.
247 247  
248 -Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]]
249 -
250 -Below is TTN screen shot:
251 -
252 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]]
253 -
254 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png" height="562" width="1168"]]
255 -
256 -
257 -(% style="color:blue" %)**Step 3:**(%%) Activate on S31x-LB/LS
258 -
259 259  Press the button for 5 seconds to activate the S31x-LB/LS.
260 260  
261 261  (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
... ... @@ -272,7 +272,8 @@
272 272  
273 273  The Payload format is as below.
274 274  
275 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
262 +
263 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
276 276  |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
277 277  |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2**
278 278  |(% 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
... ... @@ -340,7 +340,7 @@
340 340  
341 341  Sensor Data is uplink via FPORT=2
342 342  
343 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
331 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
344 344  |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
345 345  **Size(bytes)**
346 346  )))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2
... ... @@ -376,16 +376,18 @@
376 376  
377 377  If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
378 378  
379 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
367 +(FF3F & 8000Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
380 380  
381 381  
382 382  ==== (% style="color:#4472c4" %)**Humidity**(%%) ====
383 383  
384 -Read:0x(0197)=412    Value:  407 / 10=40.7, So 40.7%
385 385  
373 +Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
386 386  
375 +
387 387  ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ====
388 388  
378 +
389 389  **Example:**
390 390  
391 391  If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.
... ... @@ -417,49 +417,50 @@
417 417  Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB/LS will store the reading for future retrieving purposes.
418 418  
419 419  
420 -=== 2.5.1 How datalog works ===
410 +=== 2.5.1 Ways to get datalog via LoRaWAN ===
421 421  
422 422  
423 -S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS 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.
413 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS 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.
424 424  
425 425  * (((
426 426  a) S31x-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
427 427  )))
428 428  * (((
429 -b) S31x-LB/LS will send data in **CONFIRMED Mode**, but S31x-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 S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
430 -
431 -
419 +b) S31x-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-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 S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
432 432  )))
433 433  
434 -=== 2.5.2 Enable Datalog ===
422 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
435 435  
424 +[[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="图片-20220703111700-2.png" height="381" width="1119"]]
436 436  
437 -User need to make sure below two settings are enable to use datalog;
438 438  
439 -* (% style="color:blue" %)**SYNCMOD=1(Default)**(%%) to enable sync time via LoRaWAN MAC command, click here ([[AT+SYNCMOD>>https://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.6Settimesynchronizationmethod28ThenetworkservermustsupportLoRaWANv1.0.329]]) for detailed instructions.
440 -* (% style="color:blue" %)**PNACKMD=1**(%%)** **to enable datalog feature, click here ([[AT+PNACKMD>>https://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.26RequesttheservertosendanACK]]) for detailed instructions.
427 +=== 2.5.2 Unix TimeStamp ===
441 441  
442 442  
430 +S31x-LB/LS uses Unix TimeStamp format based on
443 443  
444 -Once S31x-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 S31x-LB/LS. If S31x-LB/LS fails to get the time from the server, S31x-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).
432 +[[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-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]]
445 445  
446 -(% 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.**
434 +User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
447 447  
436 +Below is the converter example
448 448  
449 -=== 2.5.3 Unix TimeStamp ===
438 +[[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-12.png?width=720&height=298&rev=1.1||alt="图片-20220523001219-12.png" height="298" width="720"]]
450 450  
451 451  
452 -S31x-LB/LS uses Unix TimeStamp format based on
441 +So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
453 453  
454 -[[image:image-20250328173339-5.jpeg]]
455 455  
456 -User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
444 +=== 2.5.3 Set Device Time ===
457 457  
458 -Below is the converter example
459 459  
460 -[[image:image-20250328173355-6.jpeg]]
447 +User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
461 461  
449 +Once S31x-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 S31x-LB/LS. If S31x-LB/LS fails to get the time from the server, S31x-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).
462 462  
451 +(% 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.**
452 +
453 +
463 463  === 2.5.4 Datalog Uplink payload (FPORT~=3) ===
464 464  
465 465  
... ... @@ -467,7 +467,7 @@
467 467  
468 468  **Retrieval data payload:**
469 469  
470 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
461 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
471 471  |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
472 472  **Size(bytes)**
473 473  )))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 65px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 180px; background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px; background-color:#4F81BD;color:white" %)**4**
... ... @@ -477,6 +477,10 @@
477 477  (((
478 478  Humidity
479 479  )))
471 +
472 +(((
473 +
474 +)))
480 480  )))|(% style="width:87px" %)(((
481 481  Temperature
482 482  )))|(% style="width:178px" %)(((
... ... @@ -555,7 +555,7 @@
555 555  )))
556 556  
557 557  
558 -(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的
553 +(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的
559 559  
560 560  == 2.6 Temperature Alarm Feature ==
561 561  
... ... @@ -570,7 +570,7 @@
570 570  == 2.7 Frequency Plans ==
571 571  
572 572  
573 -The S31x-LB/LS uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country.
568 +The S31x-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.
574 574  
575 575  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
576 576  
... ... @@ -618,7 +618,7 @@
618 618  
619 619  (% style="color:blue" %)**AT Command: AT+TDC**
620 620  
621 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
616 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
622 622  |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**
623 623  |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
624 624  30000
... ... @@ -731,19 +731,20 @@
731 731  
732 732  (% style="color:blue" %)**AT Command: AT+INTMOD**
733 733  
734 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
735 -|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px; background-color: rgb(79, 129, 189); color: white;" %)**Function**|=(% style="width: 161px; background-color: rgb(79, 129, 189); color: white;" %)**Response**
736 -|(% style="width:154px" %)AT+INTMOD=?|(% style="width:192px" %)Show current interrupt mode|(% style="width:161px" %)(((
729 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
730 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
731 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
737 737  0
738 738  OK
739 739  the mode is 0 =Disable Interrupt
740 740  )))
741 -|(% style="width:154px" %)AT+INTMOD=2|(% style="width:192px" %)(((
742 -0: Disable Interrupt
743 -1: Trigger by rising and falling edge
744 -2: Trigger by falling edge
745 -3: Trigger by rising edge
746 -)))|(% style="width:161px" %)OK
736 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
737 +Set Transmit Interval
738 +0. (Disable Interrupt),
739 +~1. (Trigger by rising and falling edge)
740 +2. (Trigger by falling edge)
741 +3. (Trigger by rising edge)
742 +)))|(% style="width:157px" %)OK
747 747  
748 748  (% style="color:blue" %)**Downlink Command: 0x06**
749 749  
... ... @@ -767,7 +767,7 @@
767 767  
768 768  (% style="color:blue" %)**AT Command: AT+5VT**
769 769  
770 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
766 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
771 771  |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
772 772  |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default)
773 773  OK
... ... @@ -782,91 +782,6 @@
782 782  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
783 783  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
784 784  
785 -=== 3.3.9 Print data entries base on page ===
786 -
787 -
788 -Feature: Print the sector data from start page to stop page (max is 416 pages).
789 -
790 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA**
791 -
792 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
793 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
794 -|(% style="width:156px" %)(((
795 -AT+PDTA=1,3
796 -Print page 1 to 3
797 -)))|(% style="width:311px" %)(((
798 -8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31
799 -8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93
800 -8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06
801 -8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12
802 -8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06
803 -8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68
804 -8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56
805 -8019570
806 -8019580
807 -8019590
808 -80195A0
809 -80195B0
810 -80195C0
811 -80195D0
812 -80195E0
813 -80195F0
814 -
815 -OK
816 -)))
817 -
818 -(% style="color:#4f81bd" %)**Downlink Command:**
819 -
820 -No downlink commands for feature
821 -
822 -
823 -=== 3.3.10 Print last few data entries ===
824 -
825 -
826 -Feature: Print the last few data entries
827 -
828 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
829 -
830 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
831 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
832 -|(% style="width:156px" %)(((
833 -AT+PLDTA=5
834 -Print last 5 entries
835 -)))|(% style="width:311px" %)(((
836 -Stop Tx and RTP events when read sensor data
837 -1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75
838 -2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43
839 -3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56
840 -4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75
841 -5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43
842 -Start Tx and RTP events
843 -OK
844 -)))
845 -
846 -(% style="color:#4f81bd" %)**Downlink Command:**
847 -
848 -No downlink commands for feature
849 -
850 -
851 -=== 3.3.11 Clear Flash Record ===
852 -
853 -
854 -Feature: Clear flash storage for data log feature.
855 -
856 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
857 -
858 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %)
859 -|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response**
860 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
861 -Clear all stored sensor data…
862 -
863 -OK
864 -)))
865 -
866 -(% style="color:#4f81bd" %)**Downlink Command: 0xA3**
867 -
868 -* Example: 0xA301  ~/~/  Same as AT+CLRDTA
869 -
870 870  = 4. Battery & Power Consumption =
871 871  
872 872  
1749523489553-702.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.9 KB
Content
1749523491487-577.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.9 KB
Content
1749523524280-815.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.4 KB
Content
1749779850163-145.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -252.1 KB
Content
image-20250328173145-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -59.6 KB
Content
image-20250328173203-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -40.6 KB
Content
image-20250328173224-3.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -55.2 KB
Content
image-20250328173243-4.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -43.4 KB
Content
image-20250328173339-5.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -18.9 KB
Content
image-20250328173355-6.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -67.4 KB
Content
image-20250409174350-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -44.9 KB
Content
image-20250409174410-2.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -31.1 KB
Content
image-20250409175256-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -68.6 KB
Content
image-20250416143859-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -47.6 KB
Content