Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -376,13 +376,13 @@ 376 376 377 377 == 2.3 Uplink Payload == 378 378 379 -=== 2.3. 1Sensor Configuration, FPORT~=4 ===379 +=== 2.3.2 Sensor Configuration, FPORT~=4 === 380 380 381 381 382 382 DS03A-NB will only send this command after getting the downlink command **(0x26 02)** from the server. 383 383 384 384 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 385 -|(% colspan="8" style="background-color:# 4F81BD;color:white; width:515px" %)**Sensor Configuration FPORT=4**385 +|(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4** 386 386 |**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** 387 387 |**Value**|(% style="width:75px" %)TDC (unit:sec)|(% style="width:77px" %)Disalarm|(% style="width:96px" %)((( 388 388 Keep status1 ... ... @@ -433,7 +433,7 @@ 433 433 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. 434 434 435 435 436 -=== 2.3. 2Real-Time Open/Close Status, Uplink FPORT~=2 ===436 +=== 2.3.3 Real-Time Open/Close Status, Uplink FPORT~=2 === 437 437 438 438 439 439 DS03A-NB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And DS03A-NB will send uplinks when: ... ... @@ -444,7 +444,7 @@ 444 444 **1) When (% style="color:blue" %)AT+TTRCHANNEL=1(%%), Uplink Payload totals (% style="color:blue" %)11 bytes. (Default mode)(%%)** 445 445 446 446 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 447 -|=(% colspan="5" style="background-color:# 4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=2**447 +|=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=2** 448 448 |(% style="width:94px" %)**Size(bytes)**|(% style="width:97px" %)**1**|(% style="width:95px" %)**3**|(% style="width:119px" %)**3**|(% style="width:107px" %)**4** 449 449 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 450 450 Status & [[Alarm>>||anchor="H3.3.4A0TTRIG126TTRIG2timeoutstatusalarm"]] ... ... @@ -455,7 +455,7 @@ 455 455 **Status & Alarm:** 456 456 457 457 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 458 -|(% 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**458 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:105px" %)**bit0** 459 459 |(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:110px" %)((( 460 460 Count mod 461 461 )))|(% style="width:106px" %)TDC flag 0:No;1:Yes|(% style="width:148px" %)((( ... ... @@ -524,7 +524,7 @@ 524 524 (% style="color:red" %)**Note:When using the AT+TTRCHANNEL=2 command, the Datalog function cannot be used.** 525 525 526 526 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 527 -|=(% colspan="8" style="background-color:# 4F81BD;color:white; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2**527 +|=(% colspan="8" style="background-color:#D9E2F3;color:#0070C0; width: 515px;" %)**Real-Time Open/Close Status, FPORT=2** 528 528 |(% 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** 529 529 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 530 530 Status1 & Alarm1 ... ... @@ -537,7 +537,7 @@ 537 537 **Status1 & Alarm1:** 538 538 539 539 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:514px" %) 540 -|(% 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**540 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:117px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:117px" %)**bit0** 541 541 |(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:99px" %)((( 542 542 Count mod 543 543 )))|(% style="width:103px" %)TDC flag 0:No;1:Yes|(% style="width:216px" %)((( ... ... @@ -549,7 +549,7 @@ 549 549 **Status2 & Alarm2:** 550 550 551 551 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 552 -|(% 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**552 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit2]**|(% style="background-color:#d9e2f3; color:#0070c0; width:200px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:200px" %)**bit0** 553 553 |(% style="width:76px" %)**Value**|(% style="width:113px" %)Reserve|(% style="width:219px" %)((( 554 554 Alarm2 0: No Alarm; 1: Alarm (PA4 of pin) 555 555 )))|(% style="width:181px" %)((( ... ... @@ -609,7 +609,7 @@ 609 609 [[image:image-20230701094042-1.png||height="154" width="763"]] 610 610 611 611 612 -=== 2.3. 3Historical Door Open/Close Event, FPORT~=3 ===612 +=== 2.3.4 Historical Door Open/Close Event, FPORT~=3 === 613 613 614 614 615 615 DS03A-NB stores sensor values and users can retrieve these history values via the [[downlink command>>||anchor="H2.5DatalogFeature"]]. ... ... @@ -617,7 +617,7 @@ 617 617 The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time open/close status. 618 618 619 619 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 620 -|=(% colspan="5" style="background-color:# 4F81BD;color:white;width:515px" %)**Real-Time Open/Close Status, FPORT=3**620 +|=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=3** 621 621 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:120px" %)**3**|(% style="width:150px" %)**3**|(% style="width:90px" %)**4** 622 622 |(% style="width:95px" %)**Value**|(% style="width:97px" %)((( 623 623 Status & [[Alarm>>||anchor="H3.3.3A0AlarmBaseonTimeout"]] ... ... @@ -628,7 +628,7 @@ 628 628 **Status & Alarm:** 629 629 630 630 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 631 -|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**bit7**|(% style="background-color:#d9e2f3; color:#0070c0; 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**631 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**bit7**|(% style="background-color:#d9e2f3; color:#0070c0; width:65px" %)**bit6**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**[bit5:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**bit0** 632 632 |(% style="width:76px" %)**Value**|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)((( 633 633 Count mod 634 634 )))|(% style="width:95px" %)((( ... ... @@ -786,7 +786,7 @@ 786 786 ))) 787 787 788 788 789 -== 2.8Enable / Disable Alarm ==789 +=== 3.3.3 Enable / Disable Alarm === 790 790 791 791 792 792 Feature: Enable/Disable Alarm for open/close event. Default value 0. ... ... @@ -794,7 +794,7 @@ 794 794 (% style="color:blue" %)**AT Command: ** 795 795 796 796 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 797 -|(% style="background-color:# 4F81BD;color:white; width:153px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:276px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:86px" %)**Response**797 +|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:276px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 798 798 |(% style="width:154px" %)AT+DISALARM=1|(% style="width:278px" %)End node will only send packets in TDC time.|OK 799 799 |(% style="width:154px" %)AT+DISALARM=0|(% style="width:278px" %)End node will send packets in TDC time or status change for door sensor|OK 800 800 ... ... @@ -805,7 +805,7 @@ 805 805 0xA7 00 ~/~/ Same As AT+DISALARM=0 806 806 807 807 808 -== 2.9Alarm Base on Timeout ==808 +=== 3.3.4 Alarm Base on Timeout === 809 809 810 810 811 811 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: ... ... @@ -889,7 +889,7 @@ 889 889 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. 890 890 891 891 892 -== 2.10TTRIG1 & TTRIG2 timeout status alarm ==892 +=== 3.3.5 TTRIG1 & TTRIG2 timeout status alarm === 893 893 894 894 895 895 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. ... ... @@ -897,7 +897,7 @@ 897 897 (% style="color:blue" %)**AT Command:** 898 898 899 899 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 900 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 279px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 76px;background-color:#4F81BD;color:white" %)**Response**900 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 279px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 76px;background-color:#D9E2F3;color:#0070C0" %)**Response** 901 901 |(% style="width:155px" %)((( 902 902 AT+TTRALARM=0 903 903 )))|(% style="width:279px" %)((( ... ... @@ -918,7 +918,7 @@ 918 918 Example: 0C aa => AT+TTRALARM= aa 919 919 920 920 921 -== 2.11Count Mod ==921 +=== 3.3.6 Count Mod === 922 922 923 923 924 924 Feature: Manually set the count mode. ... ... @@ -926,7 +926,7 @@ 926 926 (% style="color:blue" %)**AT Command:** 927 927 928 928 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 929 -|=(% style="width: 154px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 275px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**929 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 275px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response** 930 930 |(% style="width:155px" %)((( 931 931 AT+COUNTMOD=0 932 932 )))|(% style="width:277px" %)((( ... ... @@ -947,7 +947,7 @@ 947 947 Example: 0B aa => AT+COUNTMOD = second byte 948 948 949 949 950 -== 2.12Number of channel of door sensors ==950 +=== 3.3.7 Number of channel of door sensors === 951 951 952 952 953 953 Feature: Set the number of door sensor channels. ... ... @@ -955,7 +955,7 @@ 955 955 (% style="color:blue" %)**AT Command:** 956 956 957 957 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 958 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response**958 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 959 959 |(% style="width:155px" %)((( 960 960 AT+TTRCHANNEL=1 961 961 )))|(% style="width:259px" %)((( ... ... @@ -976,7 +976,7 @@ 976 976 Example: 0D aa => AT+TTRCHANNEL = second byte 977 977 978 978 979 -== 2.13 Set Time Sync Mode ==979 +=== 3.3.8 Set Time Sync Mode === 980 980 981 981 982 982 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command. ... ... @@ -986,7 +986,7 @@ 986 986 (% style="color:blue" %)**AT Command:** 987 987 988 988 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 989 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response**989 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 990 990 |(% style="width:155px" %)((( 991 991 AT+SYNCMOD=1 992 992 )))|(% style="width:259px" %)((( ... ... @@ -1014,13 +1014,13 @@ 1014 1014 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1015 1015 1016 1016 1017 -== 2.14Clear the open door times and the duration of the last open door ==1017 +=== 3.3.9 Clear the open door times and the duration of the last open door === 1018 1018 1019 1019 1020 1020 (% style="color:blue" %)**AT Command:** 1021 1021 1022 1022 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1023 -|=(% style="width: 163px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 290px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response**1023 +|=(% style="width: 163px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 290px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1024 1024 |(% style="width:155px" %)AT+CLRC|(% style="width:259px" %)clear the open door times and the duration of the last open door.|(% style="width:44px" %)((( 1025 1025 OK 1026 1026 ))) ... ... @@ -1030,13 +1030,13 @@ 1030 1030 The sensor will clear the open door times and the duration of the last open door. 1031 1031 1032 1032 1033 -== 2.15Set the count value of the number of open door ==1033 +=== 3.3.10 Set the count value of the number of open door === 1034 1034 1035 1035 1036 1036 (% style="color:blue" %)**AT Command:** 1037 1037 1038 1038 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1039 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 288px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 57px;background-color:#4F81BD;color:white" %)**Response**1039 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1040 1040 |(% style="width:155px" %)((( 1041 1041 AT+SETCNT=1,100 1042 1042 )))|(% style="width:259px" %)(((