<
From version < 27.1 >
edited by Saxer Lin
on 2023/06/30 18:00
To version < 28.1 >
edited by Saxer Lin
on 2023/07/01 09:13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -718,7 +718,6 @@
718 718  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
719 719  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
720 720  
721 -
722 722  === 3.3.2  Enable / Disable Alarm ===
723 723  
724 724  
... ... @@ -914,6 +914,92 @@
914 914  Example:  0D aa => AT+TTRCHANNEL = second byte
915 915  
916 916  
916 +=== 3.3.7 Set Time Sync Mode ===
917 +
918 +
919 +Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
920 +
921 +SYNCMOD is set to 1 by default. If user wants to set a different time from the LoRaWAN server, the user needs to set this to 0.
922 +
923 +(% style="color:blue" %)**AT Command:**
924 +
925 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
926 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 259px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**
927 +|(% style="width:155px" %)(((
928 +AT+SYNCMOD=1
929 +)))|(% style="width:259px" %)(((
930 +Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) The default is zero time zone.
931 +)))|(% style="width:44px" %)(((
932 +OK
933 +)))
934 +|(% style="width:155px" %)(((
935 +AT+SYNCMOD=1,8
936 +)))|(% style="width:259px" %)(((
937 +Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to East eight time zone.
938 +)))|(% style="width:44px" %)(((
939 +OK
940 +)))
941 +|(% style="width:155px" %)AT+SYNCMOD=1,-12|(% style="width:259px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) Set to West Twelve Time Zone.|(% style="width:44px" %)OK
942 +
943 +(% style="color:blue" %)**Downlink Command:**
944 +
945 +0x28 01  ~/~/ Same As AT+SYNCMOD=1
946 +
947 +0x28 01 08  ~/~/ Same As AT+SYNCMOD=1,8
948 +
949 +0x28 01 F4  ~/~/ Same As AT+SYNCMOD=1,-12
950 +
951 +0x28 00  ~/~/ Same As AT+SYNCMOD=0
952 +
953 +
954 +=== 3.3.8 Clear the door open count and the duration of the last door open ===
955 +
956 +
957 +(% style="color:blue" %)**AT Command:**
958 +
959 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
960 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 259px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**
961 +|(% style="width:155px" %)AT+CLRC|(% style="width:259px" %)clear the leak count and the duration of the last leak.|(% style="width:44px" %)(((
962 +OK
963 +)))
964 +
965 +(% style="color:blue" %)**Downlink Command:**(%%)0xA6 01
966 +
967 +The sensor will clear the door open count and the duration of the last door open.
968 +
969 +
970 +=== 3.3.9 Set the count value of the number of door open ===
971 +
972 +
973 +(% style="color:blue" %)**AT Command:**
974 +
975 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
976 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 259px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**
977 +|(% style="width:155px" %)(((
978 +AT+SETCNT=1,100
979 +)))|(% style="width:259px" %)(((
980 +Set the door open times of PA8 pin to 100 times.
981 +)))|(% style="width:44px" %)(((
982 +OK
983 +)))
984 +|(% style="width:155px" %)AT+SETCNT=1,0|(% style="width:259px" %)Clear the door open times of PA8 pin.|(% style="width:44px" %)OK
985 +|(% style="width:155px" %)(((
986 +AT+SETCNT=2,50
987 +)))|(% style="width:259px" %)(((
988 +Set the door open times of PA4 pin to 100 times.
989 +)))|(% style="width:44px" %)(((
990 +OK
991 +)))
992 +
993 +(% style="color:blue" %)**Downlink Command:**
994 +
995 +0xA6 01 00 00 64  ==>  AT+SETCNT=1,100
996 +
997 +0xA6 01 00 00 00  ==>  AT+SETCNT=1,0
998 +
999 +0xA6 02 00 00 32  ==>  AT+SETCNT=2,50
1000 +
1001 +
917 917  = 4. Battery & Power Consumption =
918 918  
919 919  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0