Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 118.1
edited by Mengting Qiu
on 2023/11/14 09:48
Change comment: Uploaded new attachment "image-20231114094838-5.png", version {1}
To version 132.1
edited by Mengting Qiu
on 2023/11/15 16:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -54,6 +54,7 @@
54 54  * Downlink to change configure
55 55  * 8500mAh Battery for long term use
56 56  * Nano SIM card slot for NB-IoT SIM
57 +(% style="display:none" %) (%%)
57 57  
58 58  == 1.3 Specification ==
59 59  
... ... @@ -99,11 +99,8 @@
99 99  
100 100  * STOP Mode: 10uA @ 3.3v
101 101  * Max transmit power: 350mA@3.3v
102 -
103 -(% class="wikigeneratedid" id="H1.4Ratedenvironmentalconditions" %)
104 104  (% style="display:none" %) (%%)
105 105  
106 -
107 107  == 1.4 Applications ==
108 108  
109 109  
... ... @@ -205,6 +205,7 @@
205 205  
206 206  * Wood Door: 10mm ~~ 30mm
207 207  * Iron Door: 30 ~~ 45mm
206 +(% style="display:none" %) (%%)
208 208  
209 209  = 2. Use DS03A-NB to communicate with IoT Server =
210 210  
... ... @@ -282,37 +282,64 @@
282 282  === 2.2.1 General Json Format(Type~=5) ===
283 283  
284 284  
285 -This is the General Json Format. As below:
284 +(% style="color:red" %)**This is the General Json Format. Payloads in General Json format for single-channel mode and double-channel mode have different byte lengths.**
286 286  
286 +
287 +**The General Json format payload for the single-channel mode is as follows:**
288 +
287 287  (% style="color:#4472c4" %)**{"IMEI":"866207052559857","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":0,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":0,"last open time2":0,"battery":3.48,"signal":24,"1":{1,0,0,2023/11/13 09:59:01},"2":{0,0,261,2023/11/13 03:20:00},"3":{237,9896971,263,2023/11/13 03:05:00},"4":{0,29,263,2023/11/13 02:20:12},"5":{215,9897015,268,2023/11/13 01:58:16},"6":{0,79,261,2023/11/13 01:43:16},"7":{227,9896991,5368540,2023/11/13 01:18:46},"8":{0,19,5367640,2023/11/11 08:53:57}}**
288 288  
291 +[[image:image-20231115162221-7.png]]
289 289  
290 -[[image:image-20231113180055-1.png]]
291 291  
294 +**The General Json format payload for the single-channel mode is as follows:**
292 292  
296 +(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DS03A-NB","level status":1,"alarm status":0,"door open num":2,"last open time":0,"level status2":1,"alarm status2":0,"door open num2":3,"last open time2":0,"battery":3.39,"signal":25,"1":{1,4,0,1,3,0,2023/11/15 07:54:30},"2":{1,3,0,1,6,1,2023/11/15 07:10:04},"3":{0,0,0,1,1,0,2023/11/15 06:55:04},"4":{0,0,0,1,0,0,2023/11/15 06:40:04},"5":{0,0,0,1,0,0,2023/11/15 03:50:36},"6":{0,0,0,1,4,11,2023/11/15 03:28:16},"7":{0,0,0,1,4,11,2023/11/15 03:13:16},"8":{0,0,0,1,3,11,2023/11/15 02:58:25}}**
297 +
298 +[[image:image-20231115161803-6.png]]
299 +
300 +
293 293  (% style="color:red" %)**Notice, from above payload:**
294 294  
295 -* Distance , Battery & Signal are the value at uplink time.
303 +* level status, alarm status, door open num, last open time, level status2, alarm status2, door open sum2, last open time2, Battery & Signal are the value at uplink time.
296 296  
297 -* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Water Flow, Sampling time.
305 +* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right):
298 298  
307 + Single-channel mode: level status, door open num, last open time, Sampling time.
308 +
309 + Double-channel mode: level status, door open num, last open time, level status2, door open sum2, last open time2, Sampling time.
310 +
311 +
312 +
299 299  === 2.2.2 HEX format Payload(Type~=0) ===
300 300  
301 301  
302 -This is the HEX Format. As below:
316 +(% style="color:red" %)**This is the HEX Format. Payloads in HEX format for single-channel mode and double-channel mode have different byte lengths.**
303 303  
318 +
319 +**The HEX format payload for the single-channel mode is as follows:**
320 +
304 304  (% style="color:#4472c4" %)**f86620705255985712640d9c180101000000000000006551f424010000000000006551f36500000000000105655195e0ed97040b0001076551925c0000001d000107655187dcd797043700010c655182b80000004f00010565517f34e397041f51eadc655179760000001351e758654f4125**
305 305  
306 306  [[image:image-20231114091247-2.png||height="186" width="1363"]]
307 307  
308 308  
309 -[[image:image-20231114091229-1.png||height="180" width="1584"]]
326 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
310 310  
328 +[[image:image-20231114094432-3.png]]
311 311  
312 312  
331 +
332 +**The HEX format payload for the double-channel mode is as follows:**
333 +
334 +(% style="color:#4472c4" %)**f86620705255985712640db71701010000000000000001000000000000006552d13401000000000000000000000000006551f365000000000001050000005f00005f655195e0ed97040b0001070000005c00005c6551925c0000001d00010700000033000033655187dcd797043700010c00000033000033655182b80000004f0001050000003300003365517f34e397041f51eadc00000000000000655179760000001351e75800000000000000654f4125**
335 +
336 +[[image:image-20231114091229-1.png||height="180" width="1584"]]
337 +
338 +
313 313  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
314 314  
315 -[[image:image-20231113180254-2.png]]
341 +[[image:image-20231114094838-5.png]]
316 316  
317 317  
318 318  (% style="color:blue" %)**Version:**
... ... @@ -358,15 +358,28 @@
358 358  
359 359  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
360 360  
361 -(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "DS03A","flow": 502,"battery": 3.57,"signal": 23}**
387 +(% style="color:#4472c4" %)**{
388 + "IMEI": "866207058378443",
389 + "Model": "DS03A-NB",
390 + "level status": 1,
391 + "alarm status": 0,
392 + "door open num": 6,
393 + "last open time": 1,
394 + "level status2": 1,
395 + "alarm status2": 0,
396 + "door open num2": 2,
397 + "last open time2": 0,
398 + "battery": 3.4,
399 + "signal": 24
400 + }**
362 362  
363 -[[image:image-20230922094043-2.png||height="558" width="851"]]
402 +[[image:image-20231115150948-1.png||height="625" width="1188"]]
364 364  
365 365  
366 366  === 2.2.4 ThingSpeak Payload(Type~=1) ===
367 367  
368 368  
369 -This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~3 are:
408 +This payload meets ThingSpeak platform requirement. It includes eight fields. Form 1~~8 are:
370 370  
371 371  Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
372 372  
... ... @@ -374,9 +374,11 @@
374 374  
375 375  (% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=signal value**
376 376  
377 -[[image:image-20230921104741-1.png||height="565" width="826"]]
416 +[[image:image-20231115154757-2.png]]
378 378  
418 +[[image:image-20231115154821-3.png||height="695" width="1119"]]
379 379  
420 +
380 380  == 2.3  ​Uplink Payload ==
381 381  
382 382  === 2.3.1  Sensor Configuration, FPORT~=4 ===
... ... @@ -448,7 +448,7 @@
448 448  |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2**
449 449  |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4**
450 450  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
451 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]]
492 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]]
452 452  )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
453 453  The last door open duration (unit: sec)
454 454  )))|(% style="width:108px" %)Unix TimeStamp
... ... @@ -488,7 +488,7 @@
488 488  (% style="color:#0000ff" %)**Alarm**
489 489  )))
490 490  
491 -See [[Alarm Base on Timeout>>||anchor="H3.3.3A0AlarmBaseonTimeout"]]
532 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]]
492 492  
493 493  
494 494  * (((
... ... @@ -621,7 +621,7 @@
621 621  |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3**
622 622  |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4**
623 623  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
624 -Status & [[Alarm>>||anchor="H2.9A0AlarmBaseonTimeout"]]
665 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]]
625 625  )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
626 626  The last door open duration (unit: sec)
627 627  )))|(% style="width:108px" %)Unix TimeStamp
... ... @@ -740,6 +740,7 @@
740 740  * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge
741 741  
742 742  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
784 +(% style="display:none" %) (%%)
743 743  
744 744  == 2.7 Set Transmit Interval Time ==
745 745  
... ... @@ -781,11 +781,8 @@
781 781  )))
782 782  * (((
783 783  Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
826 +)))(% style="display:none" %) (%%)
784 784  
785 -
786 -
787 -)))
788 -
789 789  == 2.8 Enable / Disable Alarm ==
790 790  
791 791  
... ... @@ -945,7 +945,7 @@
945 945  Example:  0B aa  => AT+COUNTMOD = second byte
946 946  
947 947  
948 -== 2.12  Number of channel of door sensors ==
987 +== 2.12 Number of channel of door sensors ==
949 949  
950 950  
951 951  Feature: Set the number of door sensor channels.
... ... @@ -974,7 +974,7 @@
974 974  Example:  0D aa => AT+TTRCHANNEL = second byte
975 975  
976 976  
977 -== 2.13  Clear the open door times and the duration of the last open door ==
1016 +== 2.13 Clear the open door times and the duration of the last open door ==
978 978  
979 979  
980 980  (% style="color:blue" %)**AT Command:**
... ... @@ -990,7 +990,7 @@
990 990  The sensor will clear the open door times and the duration of the last open door.
991 991  
992 992  
993 -== 2.14  Set the count value of the number of open door ==
1032 +== 2.14 Set the count value of the number of open door ==
994 994  
995 995  
996 996  (% style="color:blue" %)**AT Command:**
... ... @@ -1032,6 +1032,7 @@
1032 1032  * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
1033 1033  
1034 1034  * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
1074 +(% style="display:none" %) (%%)
1035 1035  
1036 1036  == 3.2 AT Commands Set ==
1037 1037  
... ... @@ -1137,6 +1137,7 @@
1137 1137  * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
1138 1138  
1139 1139  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1180 +(% style="display:none" %) (%%)
1140 1140  
1141 1141  = 6. FAQ =
1142 1142  
... ... @@ -1180,6 +1180,7 @@
1180 1180  * Package Size / pcs : 14.0 x 8x 5 cm
1181 1181  
1182 1182  * Weight / pcs : 180g
1224 +(% style="display:none" %) (%%)
1183 1183  
1184 1184  = 9. Support =
1185 1185  
image-20231114165017-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +64.0 KB
Content
image-20231114165035-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +50.7 KB
Content
image-20231114174523-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +51.6 KB
Content
image-20231115150948-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +91.1 KB
Content
image-20231115154757-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +66.4 KB
Content
image-20231115154821-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +51.1 KB
Content
image-20231115161111-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +82.8 KB
Content
image-20231115161128-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +82.8 KB
Content
image-20231115161803-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +91.3 KB
Content
image-20231115162221-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +88.3 KB
Content