Changes for page wiki_test

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

From version 124.7
edited by Xiaoling
on 2023/11/15 10:30
Change comment: There is no comment for this version
To version 131.3
edited by Mengting Qiu
on 2023/11/15 16:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -281,24 +281,39 @@
281 281  === 2.2.1 General Json Format(Type~=5) ===
282 282  
283 283  
284 -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.**
285 285  
286 +
287 +**The General Json format payload for the single-channel mode is as follows:**
288 +
286 286  (% 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}}**
287 287  
291 +[[image:image-20231115162221-7.png]]
288 288  
289 -[[image:image-20231113180055-1.png]]
290 290  
294 +**The General Json format payload for the single-channel mode is as follows:**
291 291  
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 +
292 292  (% style="color:red" %)**Notice, from above payload:**
293 293  
294 -* 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.
295 295  
296 -* 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):
297 297  
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 +
298 298  === 2.2.2 HEX format Payload(Type~=0) ===
299 299  
300 300  
301 -This is the HEX Format. HEX format Payload Single-channel and double-channel payload have different byte lengths.w
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.**
302 302  
303 303  
304 304  **The HEX format payload for the single-channel mode is as follows:**
... ... @@ -369,15 +369,28 @@
369 369  
370 370  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
371 371  
372 -(% 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 + }**
373 373  
374 -[[image:image-20230922094043-2.png||height="558" width="851"]]
402 +[[image:image-20231115150948-1.png||height="625" width="1188"]]
375 375  
376 376  
377 377  === 2.2.4 ThingSpeak Payload(Type~=1) ===
378 378  
379 379  
380 -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:
381 381  
382 382  Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
383 383  
... ... @@ -385,9 +385,9 @@
385 385  
386 386  (% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=signal value**
387 387  
388 -[[image:image-20231114165017-6.png]]
416 +[[image:image-20231115154757-2.png]]
389 389  
390 -[[image:image-20231114174523-8.png||height="682" width="1041"]]
418 +[[image:image-20231115154821-3.png||height="695" width="1119"]]
391 391  
392 392  
393 393  == 2.3  ​Uplink Payload ==
... ... @@ -461,7 +461,7 @@
461 461  |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2**
462 462  |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4**
463 463  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
464 -Status & [[Alarm>>||anchor="2.10TTRIG126TTRIG2timeoutstatusalarm"]]
492 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]]
465 465  )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
466 466  The last door open duration (unit: sec)
467 467  )))|(% style="width:108px" %)Unix TimeStamp
... ... @@ -501,7 +501,7 @@
501 501  (% style="color:#0000ff" %)**Alarm**
502 502  )))
503 503  
504 -See [[Alarm Base on Timeout>>||anchor="H3.3.3A0AlarmBaseonTimeout"]]
532 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]]
505 505  
506 506  
507 507  * (((
... ... @@ -634,7 +634,7 @@
634 634  |=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3**
635 635  |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4**
636 636  |(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
637 -Status & [[Alarm>>||anchor="H2.9A0AlarmBaseonTimeout"]]
665 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]]
638 638  )))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
639 639  The last door open duration (unit: sec)
640 640  )))|(% style="width:108px" %)Unix TimeStamp
... ... @@ -753,6 +753,7 @@
753 753  * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge
754 754  
755 755  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
784 +(% style="display:none" %) (%%)
756 756  
757 757  == 2.7 Set Transmit Interval Time ==
758 758  
... ... @@ -794,11 +794,8 @@
794 794  )))
795 795  * (((
796 796  Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
826 +)))(% style="display:none" %) (%%)
797 797  
798 -
799 -
800 -)))
801 -
802 802  == 2.8 Enable / Disable Alarm ==
803 803  
804 804  
... ... @@ -958,7 +958,7 @@
958 958  Example:  0B aa  => AT+COUNTMOD = second byte
959 959  
960 960  
961 -== 2.12  Number of channel of door sensors ==
987 +== 2.12 Number of channel of door sensors ==
962 962  
963 963  
964 964  Feature: Set the number of door sensor channels.
... ... @@ -987,7 +987,7 @@
987 987  Example:  0D aa => AT+TTRCHANNEL = second byte
988 988  
989 989  
990 -== 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 ==
991 991  
992 992  
993 993  (% style="color:blue" %)**AT Command:**
... ... @@ -1003,7 +1003,7 @@
1003 1003  The sensor will clear the open door times and the duration of the last open door.
1004 1004  
1005 1005  
1006 -== 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 ==
1007 1007  
1008 1008  
1009 1009  (% style="color:blue" %)**AT Command:**
... ... @@ -1045,6 +1045,7 @@
1045 1045  * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
1046 1046  
1047 1047  * 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" %) (%%)
1048 1048  
1049 1049  == 3.2 AT Commands Set ==
1050 1050  
... ... @@ -1150,6 +1150,7 @@
1150 1150  * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
1151 1151  
1152 1152  * 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" %) (%%)
1153 1153  
1154 1154  = 6. FAQ =
1155 1155  
... ... @@ -1193,6 +1193,7 @@
1193 1193  * Package Size / pcs : 14.0 x 8x 5 cm
1194 1194  
1195 1195  * Weight / pcs : 180g
1224 +(% style="display:none" %) (%%)
1196 1196  
1197 1197  = 9. Support =
1198 1198  
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