Changes for page wiki_test

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

From version 133.2
edited by Xiaoling
on 2024/01/03 09:00
Change comment: There is no comment for this version
To version 131.2
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
... ... @@ -153,7 +153,7 @@
153 153  If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
154 154  
155 155  
156 -== 1.8 Pin Definitions , Switch & SIM Direction ==
156 +== 1.8 Pin Definitions & Switch ==
157 157  
158 158  
159 159  [[image:image-20230819104805-5.png]]
... ... @@ -181,12 +181,6 @@
181 181  (% style="display:none" %)
182 182  
183 183  
184 -=== 1.8.4 SIM Card Direction ===
185 -
186 -
187 -See this link. [[How to insert SIM Card>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
188 -
189 -
190 190  == 1.9 Mechanical ==
191 191  
192 192  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143884058-338.png?rev=1.1||alt="1675143884058-338.png"]]
... ... @@ -294,10 +294,11 @@
294 294  
295 295  (% 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}}**
296 296  
291 +
297 297  [[image:image-20231115162221-7.png]]
298 298  
299 299  
300 -**The General Json format payload for the double-channel mode is as follows:**
295 +**The General Json format payload for the single-channel mode is as follows:**
301 301  
302 302  (% 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}}**
303 303  
... ... @@ -304,6 +304,8 @@
304 304  [[image:image-20231115161803-6.png]]
305 305  
306 306  
302 +
303 +
307 307  (% style="color:red" %)**Notice, from above payload:**
308 308  
309 309  * 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.
... ... @@ -314,8 +314,6 @@
314 314  
315 315   Double-channel mode: level status, door open num, last open time, level status2, door open sum2, last open time2, Sampling time.
316 316  
317 -
318 -
319 319  === 2.2.2 HEX format Payload(Type~=0) ===
320 320  
321 321  
... ... @@ -424,10 +424,330 @@
424 424  [[image:image-20231115154821-3.png||height="695" width="1119"]]
425 425  
426 426  
422 +== 2.3  ​Uplink Payload ==
427 427  
428 -== 2.3 Test Uplink and Change Update Interval ==
424 +=== 2.3.1  Sensor Configuration, FPORT~=4 ===
429 429  
430 430  
427 +DS03A-NB will only send this command after getting the downlink command **(0x26 02)** from the server.
428 +
429 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
430 +|(% colspan="8" style="background-color:#4f81bd; color:white; width:515px" %)**Sensor Configuration FPORT=4**
431 +|**Size(bytes)**|(% style="width:75px" %)**3**|(% style="width:50px" %)**1**|(% style="width:100px" %)**1**|(% style="width:90px" %)**2**|(% style="width:100px" %)**1**|(% style="width:100px" %)**2**|(% style="width:98px" %)**1**
432 +|**Value**|(% style="width:75px" %)TDC (unit:sec)|(% style="width:77px" %)Disalarm|(% style="width:96px" %)(((
433 +Keep status1
434 +)))|(% style="width:99px" %)(((
435 +Keep time1(unit: sec)
436 +)))|(% style="width:87px" %)Keep status2|(% style="width:97px" %)(((
437 +Keep time2(unit: sec)
438 +)))|(% style="width:98px" %)(((
439 +Alarm interval(unit: min)
440 +)))
441 +
442 +Example parse in TTNv3
443 +
444 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230630155527-3.png?width=902&height=146&rev=1.1||alt="image-20230630155527-3.png"]]
445 +
446 +
447 +* (((
448 +(% style="color:blue" %)**TDC: (default: 0x001C20)**
449 +)))
450 +
451 +Uplink interval for the Open/Close Event, default value is 0x001C20 which is 7200 seconds = 2 hours.
452 +
453 +
454 +* (((
455 +(% style="color:blue" %)**Disalarm: (default: 0)**
456 +)))
457 +
458 + **If Disalarm = 1**, DS03A-NB will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many open/close event, and platform only care about the total number of pulse.
459 +
460 + **If Disalarm = 0**, DS03A-NB will send uplink at every TDC periodically and send data on each open/close event. This is useful for the application user need to monitor the open/close event in real-time.
461 +
462 +(% style="color:red" %)** Note: When Disalarm=0, a high frequently open/close event will cause lots of uplink and drain battery very fast. **
463 +
464 +
465 +* (((
466 +(% style="color:blue" %)**Keep Status1 & Keep Time1 & Keep Status2 & Keep Time2**
467 +)))
468 +
469 +Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H2.9AlarmBaseonTimeout"]]
470 +
471 +
472 +* (((
473 +(% style="color:blue" %)**Alarm interval(default: 0)**
474 +)))
475 +
476 +When the state of the door sensor has not been changed after the timeout alarm, the device will send a uplink every alarm interval. It will stop the alarm until the state of the door sensor is changed after the timeout alarm.
477 +
478 +
479 +=== 2.3.2  Real-Time Open/Close Status, Uplink FPORT~=2 ===
480 +
481 +
482 +DS03A-NB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And DS03A-NB will send uplinks when:
483 +
484 +* Every 2 hours, this interval [[can be changed>>||anchor="H2.7SetTransmitIntervalTime"]].
485 +* There is an Open/Close event.  (This info can be disabled by AT+DISALARM=1)
486 +
487 +**1) When (% style="color:blue" %)AT+TTRCHANNEL=1(%%), Uplink Payload totals (% style="color:blue" %)11 bytes. (Default mode)(%%)**
488 +
489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
490 +|=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2**
491 +|(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4**
492 +|(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
493 +Status & [[Alarm>>||anchor="H2.10TTRIG126TTRIG2timeoutstatusalarm"]]
494 +)))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
495 +The last door open duration (unit: sec)
496 +)))|(% style="width:108px" %)Unix TimeStamp
497 +
498 +**Status & Alarm:**
499 +
500 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
501 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit7:bit4]**|(% style="background-color:#4f81bd; color:white; width:80px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:100px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:120px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit0**
502 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
503 +Count mod
504 +)))|(% style="width:106px" %)TDC flag 0:No;1:Yes|(% style="width:148px" %)(((
505 +Alarm 0: No Alarm; 1: Alarm
506 +)))|(% style="width:131px" %)(((
507 +Status 0: Close; 1: Open
508 +)))
509 +
510 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230630155451-2.png?width=928&height=246&rev=1.1||alt="image-20230630155451-2.png"]]
511 +
512 +
513 +* (((
514 +(% style="color:blue" %)**Count mod:Default=0**
515 +)))
516 +
517 +0: Uplink total open door times since factory
518 +
519 +1: Uplink total open door times since last FPORT=2 uplink.
520 +
521 +
522 +* (% style="color:blue" %)**TDC flag**
523 +
524 +When the flag is 1, it means sending packets at normal time intervals.
525 +
526 +Otherwise, it is a packet sent at non-TDC time.
527 +
528 +
529 +* (((
530 +(% style="color:#0000ff" %)**Alarm**
531 +)))
532 +
533 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]]
534 +
535 +
536 +* (((
537 +(% style="color:blue" %)**Status**
538 +)))
539 +
540 +This bit is 1 when the door sensor is open and 0 when it is close.
541 +
542 +
543 +* (((
544 +(% style="color:blue" %)**Total open door events**
545 +)))
546 +
547 +Total pulse/counting base on open door.
548 +
549 +Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
550 +
551 +
552 +* (((
553 +(% style="color:blue" %)**The last door open duration**
554 +)))
555 +
556 +Door sensor last open duration.
557 +
558 +Unit: sec.
559 +
560 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230701094042-1.png?width=763&height=154&rev=1.1||alt="image-20230701094042-1.png"]]
561 +
562 +
563 +**2) When (% style="color:blue" %)AT+TTRCHANNEL=2(%%), Uplink Payload totals (% style="color:blue" %)18 bytes(%%)**(% style="color:blue" %).
564 +
565 +(When the maximum DR of some frequencies is 11 bytes, it will cause the server to receive empty packets)
566 +
567 +(% style="color:red" %)**Note:When using the AT+TTRCHANNEL=2 command, the Datalog function cannot be used.**
568 +
569 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
570 +|=(% colspan="8" style="background-color:#4F81BD;color:white; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2**
571 +|(% style="width:50px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:125px" %)**3**|(% style="width:100px" %)**4**|(% style="width:86px" %)**1**|(% style="width:96px" %)**3**|(% style="width:126px" %)**3**
572 +|(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
573 +Status1 & Alarm1
574 +)))|(% style="width:95px" %)Total open door events1|(% style="width:125px" %)(((
575 +The last door open duration1 (unit: sec)
576 +)))|(% style="width:100px" %)Unix TimeStamp|(% style="width:86px" %)(((
577 +Status2 & Alarm2
578 +)))|(% style="width:96px" %)Total open door events2|(% style="width:126px" %)The last door open duration2 (unit: sec)
579 +
580 +**Status1 & Alarm1:**
581 +
582 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:514px" %)
583 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit7:bit4]**|(% style="background-color:#4f81bd; color:white; width:70px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:100px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:117px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:117px" %)**bit0**
584 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
585 +Count mod
586 +)))|(% style="width:103px" %)TDC flag 0:No;1:Yes|(% style="width:216px" %)(((
587 +Alarm1 0: No Alarm; 1: Alarm (PA8 of pin)
588 +)))|(% style="width:181px" %)(((
589 +Status1 0: Close; 1: Open (PA8 of pin)
590 +)))
591 +
592 +**Status2 & Alarm2:**
593 +
594 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
595 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**[bit7:bit2]**|(% style="background-color:#4f81bd; color:white; width:200px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:200px" %)**bit0**
596 +|(% style="width:76px" %)**Value**|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
597 +Alarm2 0: No Alarm; 1: Alarm (PA4 of pin)
598 +)))|(% style="width:181px" %)(((
599 +Status2 0: Close; 1: Open (PA4 of pin)
600 +)))
601 +
602 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230630155908-6.png?width=927&height=295&rev=1.1||alt="image-20230630155908-6.png"]]
603 +
604 +
605 +* (((
606 +(% style="color:blue" %)**Count mod:Default=0**
607 +)))
608 +
609 +0: Uplink total open door times since factory
610 +
611 +1: Uplink total open door times since last FPORT=2 uplink.
612 +
613 +
614 +* (% style="color:blue" %)**TDC flag**
615 +
616 +When the flag is 1, it means sending packets at normal time intervals.
617 +
618 +Otherwise, it is a packet sent at non-TDC time.
619 +
620 +
621 +* (((
622 +(% style="color:#0000ff" %)**Alarm1 or Alarm2**
623 +)))
624 +
625 +See [[Alarm Base on Timeout>>||anchor="H2.9AlarmBaseonTimeout"]]
626 +
627 +
628 +* (((
629 +(% style="color:blue" %)**Status1 **(% style="color:#0000ff" %)**or **(% style="color:blue" %)**Status2**
630 +)))
631 +
632 +This bit is 1 when the door sensor is open and 0 when it is close.
633 +
634 +
635 +* (((
636 +(% style="color:blue" %)**Total open door events1 **(% style="color:#0000ff" %)**or**(% style="color:blue" %)** Total open door events2**
637 +)))
638 +
639 +Total pulse/counting base on open door.
640 +
641 +Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
642 +
643 +
644 +* (((
645 +(% style="color:blue" %)**The last door open duration1 **(% style="color:#0000ff" %)**or**(% style="color:blue" %)** The last door open duration2**
646 +)))
647 +
648 +Door sensor last open duration.
649 +
650 +Unit: sec.
651 +
652 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230701094042-1.png?width=763&height=154&rev=1.1||alt="image-20230701094042-1.png"]]
653 +
654 +
655 +=== 2.3.3  Historical Door Open/Close Event, FPORT~=3 ===
656 +
657 +
658 +DS03A-NB stores sensor values and users can retrieve these history values via the downlink command.
659 +
660 +The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time open/close status.
661 +
662 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
663 +|=(% colspan="5" style="background-color:#4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3**
664 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4**
665 +|(% style="width:95px" %)**Value**|(% style="width:97px" %)(((
666 +Status & [[Alarm>>||anchor="2.9AlarmBaseonTimeout"]]
667 +)))|(% style="width:95px" %)Total open door events|(% style="width:119px" %)(((
668 +The last door open duration (unit: sec)
669 +)))|(% style="width:108px" %)Unix TimeStamp
670 +
671 +**Status & Alarm:**
672 +
673 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
674 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:75px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:50px" %)**[bit5:bit4]**|(% style="background-color:#4f81bd; color:white; width:50px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:70px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:80px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:75px" %)**bit0**
675 +|(% style="width:76px" %)**Value**|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)(((
676 +Count mod
677 +)))|(% style="width:95px" %)(((
678 +TDC flag 0:No; 1:Yes
679 +)))|(% style="width:116px" %)(((
680 +Alarm 0: No Alarm; 1: Alarm
681 +)))|(% style="width:112px" %)(((
682 +Status 0:Close; 1: Open
683 +)))
684 +
685 +* (((
686 +Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.2A0Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, DS03A-NB will send max bytes according to the current DR and Frequency bands.
687 +)))
688 +
689 +For example, in the US915 band, the max payload for different DR is:
690 +
691 +(((
692 +**~1. DR0**: max is 11 bytes so one entry of data
693 +)))
694 +
695 +(((
696 +**2. DR1**: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
697 +)))
698 +
699 +(((
700 +**3. DR2**: total payload includes 11 entries of data
701 +)))
702 +
703 +(((
704 +**4. DR3**: total payload includes 22 entries of data.
705 +)))
706 +
707 +If DS03A-NB doesn't have any data in the polling time. It will uplink 11 bytes of 0
708 +
709 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230630155556-4.png?width=938&height=146&rev=1.1||alt="image-20230630155556-4.png"]]
710 +
711 +**Downlink:**
712 +
713 +0x31 64 9E 7D 34 64 9E 7E 9C 05
714 +
715 +
716 +**Uplink:**
717 +
718 +45 00 00 00 00 00 00 64 9E 7D 48 40 00 00 00 00 00 63 64 9E 7D 9C 41 00 00 01 00 00 63 64 9E 7D A4 40 00 00 01 00 00 8D 64 9E 7E 31 43 00 00 02 00 00 8D 64 9E 7E 44 48 00 00 02 00 00 1F 64 9E 7E 59 4B 00 00 03 00 00 1F 64 9E 7E 6B
719 +
720 +
721 +**Parsed Value:**
722 +
723 +[COUNTMOD, TDC_FLAG, ALARM,  DOOR_STATUS, OPEN_DOOR_TIMES, LAST_DOOR_OPEN_DURATION, TIME]
724 +
725 +
726 +[SUM,YES,FALSE,OPEN,0,0,2023-06-30 06:59:20],
727 +
728 +[SUM,NO,FALSE,CLOSE,0,99,2023-06-30 07:00:44],
729 +
730 +[SUM,NO,FALSE,OPEN, 1,99,2023-06-30 07:00:52],
731 +
732 +[SUM,NO,FALSE,CLOSE,1,141,2023-06-30 07:03:13],
733 +
734 +[SUM,NO,TRUE,OPEN, 2,141,2023-06-30 07:03:32],
735 +
736 +[PART,NO,FALSE,CLOSE,2,31,2023-06-30 07:03:53],
737 +
738 +[PART,NO,TRUE,OPEN, 3,31,2023-06-30 07:04:11],
739 +
740 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DS03A-LB/WebHome/image-20230630172740-1.png?width=868&height=199&rev=1.1||alt="image-20230630172740-1.png"]]
741 +
742 +
743 +== 2.4 Test Uplink and Change Update Interval ==
744 +
745 +
431 431  By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8
432 432  
433 433  User can use below commands to change the (% style="color:blue" %)**uplink interval**.
... ... @@ -437,7 +437,7 @@
437 437  User can also push the button for more than 1 seconds to activate an uplink.
438 438  
439 439  
440 -== 2.4 Multi-Samplings and One uplink ==
755 +== 2.5 Multi-Samplings and One uplink ==
441 441  
442 442  
443 443  To save battery life, DS03A-NB will sample Water Flow data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
... ... @@ -451,7 +451,7 @@
451 451  [[image:1692424376354-959.png]]
452 452  
453 453  
454 -== 2.5 Trggier an uplink by external interrupt ==
769 +== 2.6 Trggier an uplink by external interrupt ==
455 455  
456 456  
457 457  DS03A-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
... ... @@ -469,7 +469,7 @@
469 469  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
470 470  (% style="display:none" %) (%%)
471 471  
472 -== 2.5 Set Transmit Interval Time ==
787 +== 2.7 Set Transmit Interval Time ==
473 473  
474 474  
475 475  (((
... ... @@ -511,7 +511,7 @@
511 511  Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
512 512  )))(% style="display:none" %) (%%)
513 513  
514 -== 2.7 Enable / Disable Alarm ==
829 +== 2.8 Enable / Disable Alarm ==
515 515  
516 516  
517 517  Feature: Enable/Disable Alarm for open/close event. Default value 0.
... ... @@ -530,7 +530,7 @@
530 530  0xA7 00  ~/~/ Same As AT+DISALARM=0
531 531  
532 532  
533 -== 2.8 Alarm Base on Timeout ==
848 +== 2.9 Alarm Base on Timeout ==
534 534  
535 535  
536 536  DS03A-NB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are:
... ... @@ -612,7 +612,7 @@
612 612  If user send 0xA9 02 00 00 1E: equal to AT+TTRIG2=0,30  **or**  0xA9 02 00 00 00: Equal to AT+TTRIG2=0,0.
613 613  
614 614  
615 -== 2.9 TTRIG1 & TTRIG2 timeout status alarm ==
930 +== 2.10 TTRIG1 & TTRIG2 timeout status alarm ==
616 616  
617 617  
618 618  It needs to be used with AT+TTRIG1 or AT+TTRIG2. When TTRIG1 or TTRIG2 times out and causes an alarm, and the status does not change subsequently, an alarm packet will be sent at the alarm interval.
... ... @@ -641,7 +641,7 @@
641 641  Example:  0C aa  => AT+TTRALARM= aa
642 642  
643 643  
644 -== 2.10 Count Mod ==
959 +== 2.11 Count Mod ==
645 645  
646 646  
647 647  Feature: Manually set the count mode.
... ... @@ -670,7 +670,7 @@
670 670  Example:  0B aa  => AT+COUNTMOD = second byte
671 671  
672 672  
673 -== 2.11 Number of channel of door sensors ==
988 +== 2.12 Number of channel of door sensors ==
674 674  
675 675  
676 676  Feature: Set the number of door sensor channels.
... ... @@ -699,7 +699,7 @@
699 699  Example:  0D aa => AT+TTRCHANNEL = second byte
700 700  
701 701  
702 -== 2.12 Clear the open door times and the duration of the last open door ==
1017 +== 2.13 Clear the open door times and the duration of the last open door ==
703 703  
704 704  
705 705  (% style="color:blue" %)**AT Command:**
... ... @@ -715,7 +715,7 @@
715 715  The sensor will clear the open door times and the duration of the last open door.
716 716  
717 717  
718 -== 2.13 Set the count value of the number of open door ==
1033 +== 2.14 Set the count value of the number of open door ==
719 719  
720 720  
721 721  (% style="color:blue" %)**AT Command:**