Changes for page wiki_test

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

From version 131.2
edited by Mengting Qiu
on 2023/11/15 16:53
Change comment: There is no comment for this version
To version 124.10
edited by Xiaoling
on 2023/11/15 10:40
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
... ... @@ -281,40 +281,25 @@
281 281  === 2.2.1 General Json Format(Type~=5) ===
282 282  
283 283  
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.**
284 +This is the General Json Format. As below:
285 285  
286 -
287 -**The General Json format payload for the single-channel mode is as follows:**
288 -
289 289  (% 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}}**
290 290  
291 291  
292 -[[image:image-20231115162221-7.png]]
289 +[[image:image-20231113180055-1.png]]
293 293  
294 294  
295 -**The General Json format payload for the single-channel mode is as follows:**
296 -
297 -(% 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}}**
298 -
299 -[[image:image-20231115161803-6.png]]
300 -
301 -
302 -
303 -
304 304  (% style="color:red" %)**Notice, from above payload:**
305 305  
306 -* 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.
294 +* Distance , Battery & Signal are the value at uplink time.
307 307  
308 -* 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):
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.
297 +(% style="display:none" %) (%%)
309 309  
310 - Single-channel mode: level status, door open num, last open time, Sampling time.
311 -
312 - Double-channel mode: level status, door open num, last open time, level status2, door open sum2, last open time2, Sampling time.
313 -
314 314  === 2.2.2 HEX format Payload(Type~=0) ===
315 315  
316 316  
317 -(% 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 +This is the HEX Format. HEX format Payload Single-channel and double-channel payload have different byte lengths.w
318 318  
319 319  
320 320  **The HEX format payload for the single-channel mode is as follows:**
... ... @@ -385,28 +385,15 @@
385 385  
386 386  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
387 387  
388 -(% style="color:#4472c4" %)**{
389 - "IMEI": "866207058378443",
390 - "Model": "DS03A-NB",
391 - "level status": 1,
392 - "alarm status": 0,
393 - "door open num": 6,
394 - "last open time": 1,
395 - "level status2": 1,
396 - "alarm status2": 0,
397 - "door open num2": 2,
398 - "last open time2": 0,
399 - "battery": 3.4,
400 - "signal": 24
401 - }**
373 +(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "DS03A","flow": 502,"battery": 3.57,"signal": 23}**
402 402  
403 -[[image:image-20231115150948-1.png||height="625" width="1188"]]
375 +[[image:image-20230922094043-2.png||height="558" width="851"]]
404 404  
405 405  
406 406  === 2.2.4 ThingSpeak Payload(Type~=1) ===
407 407  
408 408  
409 -This payload meets ThingSpeak platform requirement. It includes eight fields. Form 1~~8 are:
381 +This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~3 are:
410 410  
411 411  Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
412 412  
... ... @@ -414,9 +414,9 @@
414 414  
415 415  (% style="color:#4472c4" %)**field1=Flow value&field2=Battery value&field3=signal value**
416 416  
417 -[[image:image-20231115154757-2.png]]
389 +[[image:image-20231114165017-6.png]]
418 418  
419 -[[image:image-20231115154821-3.png||height="695" width="1119"]]
391 +[[image:image-20231114174523-8.png||height="682" width="1041"]]
420 420  
421 421  
422 422  == 2.3  ​Uplink Payload ==
... ... @@ -824,7 +824,8 @@
824 824  )))
825 825  * (((
826 826  Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
827 -)))(% style="display:none" %) (%%)
799 +)))
800 +(% style="display:none" %) (%%)
828 828  
829 829  == 2.8 Enable / Disable Alarm ==
830 830  
image-20231115150948-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -91.1 KB
Content
image-20231115154757-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -66.4 KB
Content
image-20231115154821-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -51.1 KB
Content
image-20231115161111-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -82.8 KB
Content
image-20231115161128-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -82.8 KB
Content
image-20231115161803-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -91.3 KB
Content
image-20231115162221-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -88.3 KB
Content