Last modified by Mengting Qiu on 2025/06/04 18:42

From version 82.31
edited by Xiaoling
on 2022/06/20 13:35
Change comment: There is no comment for this version
To version 82.8
edited by Xiaoling
on 2022/06/20 11:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -181,6 +181,9 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 +
185 +
186 +
184 184  == 1.4  Applications ==
185 185  
186 186  * Smart Buildings & Home Automation
... ... @@ -190,6 +190,9 @@
190 190  * Smart Cities
191 191  * Smart Factory
192 192  
196 +
197 +
198 +
193 193  == 1.5 Hardware Variants ==
194 194  
195 195  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -285,6 +285,9 @@
285 285  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 286  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
287 287  
294 +
295 +
296 +
288 288  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
289 289  
290 290  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -374,7 +374,12 @@
374 374  (((
375 375  (((
376 376  **AT+MOD=2**
386 +)))
387 +)))
377 377  
389 +(% class="box infomessage" %)
390 +(((
391 +(((
378 378  **ATZ**
379 379  )))
380 380  )))
... ... @@ -387,20 +387,49 @@
387 387  
388 388  (((
389 389  **For LT22222-L:**
404 +)))
390 390  
406 +(% class="box infomessage" %)
407 +(((
408 +(((
409 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
410 +)))
411 +)))
391 391  
392 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
413 +(% class="box infomessage" %)
414 +(((
415 +(((
416 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
417 +)))
418 +)))
393 393  
394 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
420 +(% class="box infomessage" %)
421 +(((
422 +(((
423 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
424 +)))
425 +)))
395 395  
396 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
427 +(% class="box infomessage" %)
428 +(((
429 +(((
430 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
431 +)))
432 +)))
397 397  
398 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
434 +(% class="box infomessage" %)
435 +(((
436 +(((
437 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
438 +)))
439 +)))
399 399  
400 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
401 -
402 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
441 +(% class="box infomessage" %)
442 +(((
443 +(((
444 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
403 403  )))
446 +)))
404 404  
405 405  
406 406  
... ... @@ -432,7 +432,12 @@
432 432  (((
433 433  (((
434 434  **AT+MOD=3**
478 +)))
479 +)))
435 435  
481 +(% class="box infomessage" %)
482 +(((
483 +(((
436 436  **ATZ**
437 437  )))
438 438  )))
... ... @@ -477,13 +477,20 @@
477 477  (((
478 478  (((
479 479  **AT+MOD=4**
528 +)))
529 +)))
480 480  
531 +(% class="box infomessage" %)
532 +(((
533 +(((
481 481  **ATZ**
482 482  )))
483 483  )))
484 484  
538 +(((
539 +
540 +)))
485 485  
486 -
487 487  (((
488 488  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
489 489  )))
... ... @@ -492,16 +492,35 @@
492 492  
493 493  
494 494  **Plus below command for AVI1 Counting:**
550 +)))
495 495  
552 +(% class="box infomessage" %)
553 +(((
554 +(((
555 +**AT+SETCNT=3,60   (set AVI Count to 60)**
556 +)))
557 +)))
496 496  
497 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
559 +(% class="box infomessage" %)
560 +(((
561 +(((
562 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
563 +)))
564 +)))
498 498  
499 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
566 +(% class="box infomessage" %)
567 +(((
568 +(((
569 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
570 +)))
571 +)))
500 500  
501 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**  (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
502 -
503 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**  (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
573 +(% class="box infomessage" %)
574 +(((
575 +(((
576 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
504 504  )))
578 +)))
505 505  
506 506  
507 507  
... ... @@ -538,7 +538,12 @@
538 538  (((
539 539  (((
540 540  **AT+MOD=5**
615 +)))
616 +)))
541 541  
618 +(% class="box infomessage" %)
619 +(((
620 +(((
542 542  **ATZ**
543 543  )))
544 544  )))
... ... @@ -564,9 +564,8 @@
564 564  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
565 565  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
566 566  
646 +**AT Command to set Trigger Condition**:
567 567  
568 -(% style="color:#037691" %)**AT Command to set Trigger Condition**:
569 -
570 570  (% style="color:#4f81bd" %)**Trigger base on voltage**:
571 571  
572 572  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -601,7 +601,7 @@
601 601  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
602 602  
603 603  
604 -(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
682 +**Downlink Command to set Trigger Condition:**
605 605  
606 606  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
607 607  
... ... @@ -718,50 +718,61 @@
718 718  
719 719  Set device uplink interval.
720 720  
721 -* (% style="color:#037691" %)**AT Command:**
799 +* AT Command:
722 722  
801 +(% class="box infomessage" %)
802 +(((
723 723  **AT+TDC=N **
804 +)))
724 724  
725 -
726 726  **Example: **AT+TDC=30000. Means set interval to 30 seconds
727 727  
728 728  
729 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
809 +* Downlink Payload (prefix 0x01):
730 730  
811 +(% class="box infomessage" %)
812 +(((
731 731  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
814 +)))
732 732  
733 733  
734 734  
735 -
736 736  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
737 737  
738 738  Set work mode.
739 739  
740 -* (% style="color:#037691" %)**AT Command:**
822 +* AT Command:
741 741  
824 +(% class="box infomessage" %)
825 +(((
742 742  **AT+MOD=N  **
827 +)))
743 743  
744 -
745 745  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
746 746  
747 747  
748 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
832 +* Downlink Payload (prefix 0x0A):
749 749  
750 -(% style="color:#037691" %)**​​​​​​​**(%%)**0x0A aa    ** ~/~/ Same as AT+MOD=aa
834 +(% class="box infomessage" %)
835 +(((
836 +**0x0A aa     ~/~/ Same as AT+MOD=aa**
837 +)))
751 751  
752 752  
753 753  
754 -
755 755  ==== 3.4.2.3 Poll an uplink ====
756 756  
757 -* (% style="color:#037691" %)**AT Command:**
843 +* AT Command:
758 758  
759 759  There is no AT Command to poll uplink
760 760  
761 761  
762 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
848 +* Downlink Payload (prefix 0x08):
763 763  
764 -**0x08 FF     **~/~/ Poll an uplink
850 +(% class="box infomessage" %)
851 +(((
852 +**0x08 FF     ~/~/ Poll an uplink,**
853 +)))
765 765  
766 766  **Example**: 0x08FF, ask device to send an Uplink
767 767  
... ... @@ -771,7 +771,7 @@
771 771  
772 772  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
773 773  
774 -* (% style="color:#037691" %)AT Command:
863 +* AT Command:
775 775  
776 776  (% class="box infomessage" %)
777 777  (((
... ... @@ -783,7 +783,7 @@
783 783  0: Disable Trigger Mode
784 784  
785 785  
786 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
875 +* Downlink Payload (prefix 0x0A 06):
787 787  
788 788  (% class="box infomessage" %)
789 789  (((
... ... @@ -796,12 +796,12 @@
796 796  
797 797  Poll trigger settings,
798 798  
799 -* (% style="color:#037691" %)AT Command:
888 +* AT Command:
800 800  
801 801  There is no AT Command for this feature.
802 802  
803 803  
804 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
893 +* Downlink Payload (prefix 0x AB 06):
805 805  
806 806  (% class="box infomessage" %)
807 807  (((
... ... @@ -814,9 +814,12 @@
814 814  
815 815  Enable Disable DI1/DI2/DI2 as trigger,
816 816  
817 -* (% style="color:#037691" %)AT Command:
906 +* AT Command:
818 818  
908 +(% class="box infomessage" %)
909 +(((
819 819  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
911 +)))
820 820  
821 821  
822 822  **Example:**
... ... @@ -823,20 +823,25 @@
823 823  
824 824  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
825 825  
826 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
918 +* Downlink Payload (prefix 0xAA 02):
827 827  
828 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
920 +(% class="box infomessage" %)
921 +(((
922 +**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
923 +)))
829 829  
830 830  
831 831  
832 -
833 833  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
834 834  
835 835  Set DI1 or DI3(for LT-33222-L) trigger.
836 836  
837 -* (% style="color:#037691" %)AT Command:
931 +* AT Command:
838 838  
933 +(% class="box infomessage" %)
934 +(((
839 839  **AT+TRIG1=a,b**
936 +)))
840 840  
841 841  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
842 842  
... ... @@ -848,19 +848,26 @@
848 848  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
849 849  
850 850  
851 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
852 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
948 +* Downlink Payload (prefix 0x09 01 ):
853 853  
950 +(% class="box infomessage" %)
951 +(((
952 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
953 +)))
854 854  
955 +
956 +
855 855  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
856 856  
857 857  Set DI2 trigger.
858 858  
859 -* (% style="color:#037691" %)**AT Command:**
961 +* AT Command:
860 860  
963 +(% class="box infomessage" %)
964 +(((
861 861  **AT+TRIG2=a,b**
966 +)))
862 862  
863 -
864 864  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
865 865  
866 866  b : delay timing.
... ... @@ -871,72 +871,93 @@
871 871  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
872 872  
873 873  
874 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
978 +* Downlink Payload (prefix 0x09 02 ):
875 875  
876 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
980 +(% class="box infomessage" %)
981 +(((
982 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
983 +)))
877 877  
878 878  
879 879  
880 -
881 881  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
882 882  
883 883  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
884 884  
885 -* (% style="color:#037691" %)**AT Command**
991 +* AT Command:
886 886  
887 -**AT+ACLIM**
993 +(% class="box infomessage" %)
994 +(((
995 +**AT+ACLIM. **
996 +)))
888 888  
889 889  
890 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
999 +* Downlink Payload (prefix 0xAA 01 ):
891 891  
892 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1001 +(% class="box infomessage" %)
1002 +(((
1003 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1004 +)))
893 893  
894 894  
895 895  
896 -
897 897  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
898 898  
899 899  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
900 900  
901 -* (% style="color:#037691" %)**AT Command**
1012 +* AT Command:
902 902  
903 -**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1014 +(% class="box infomessage" %)
1015 +(((
1016 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1017 +)))
904 904  
905 905  
906 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1020 +* Downlink Payload (prefix 0xAA 00 ):
907 907  
908 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1022 +(% class="box infomessage" %)
1023 +(((
1024 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
1025 +)))
909 909  
910 910  
911 911  
912 -
913 913  ==== 3.4.2.11 Trigger – Set minimum interval ====
914 914  
915 915  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
916 916  
917 -* (% style="color:#037691" %)**AT Command**
1033 +* AT Command:
918 918  
1035 +(% class="box infomessage" %)
1036 +(((
919 919  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1038 +)))
920 920  
921 921  
922 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1041 +* Downlink Payload (prefix 0xAC ):
923 923  
924 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1043 +(% class="box infomessage" %)
1044 +(((
1045 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
1046 +)))
925 925  
926 926  
927 927  
928 -
929 929  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
930 930  
931 -* (% style="color:#037691" %)**AT Command**
1052 +* AT Command:
932 932  
933 933  There is no AT Command to control Digital Output
934 934  
935 935  
936 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
937 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1057 +* Downlink Payload (prefix 0x02):
938 938  
1059 +(% class="box infomessage" %)
939 939  (((
1061 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
1062 +)))
1063 +
1064 +(((
940 940  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
941 941  )))
942 942  
... ... @@ -956,19 +956,22 @@
956 956  
957 957  
958 958  
959 -
960 960  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
961 961  
962 -* (% style="color:#037691" %)**AT Command**
1086 +* AT Command:
963 963  
964 964  There is no AT Command to control Digital Output
965 965  
966 966  
967 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1091 +* Downlink Payload (prefix 0xA9):
968 968  
969 -**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1093 +(% class="box infomessage" %)
1094 +(((
1095 +(((
1096 +**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1097 +)))
1098 +)))
970 970  
971 -
972 972  This is to control the digital output time of DO pin. Include four bytes:
973 973  
974 974  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1022,19 +1022,20 @@
1022 1022  
1023 1023  
1024 1024  
1025 -
1026 1026  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1027 1027  
1028 -* (% style="color:#037691" %)**AT Command:**
1155 +* AT Command:
1029 1029  
1030 1030  There is no AT Command to control Relay Output
1031 1031  
1032 1032  
1033 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1160 +* Downlink Payload (prefix 0x03):
1034 1034  
1035 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1162 +(% class="box infomessage" %)
1163 +(((
1164 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1165 +)))
1036 1036  
1037 -
1038 1038  (((
1039 1039  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1040 1040  )))
... ... @@ -1051,19 +1051,20 @@
1051 1051  
1052 1052  
1053 1053  
1054 -
1055 1055  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1056 1056  
1057 -* (% style="color:#037691" %)**AT Command:**
1185 +* AT Command:
1058 1058  
1059 1059  There is no AT Command to control Relay Output
1060 1060  
1061 1061  
1062 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1190 +* Downlink Payload (prefix 0x05):
1063 1063  
1064 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1192 +(% class="box infomessage" %)
1193 +(((
1194 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1195 +)))
1065 1065  
1066 -
1067 1067  This is to control the relay output time of relay. Include four bytes:
1068 1068  
1069 1069  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1105,28 +1105,35 @@
1105 1105  
1106 1106  
1107 1107  
1108 -
1109 1109  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1110 1110  
1111 1111  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1112 1112  
1113 -* (% style="color:#037691" %)**AT Command:**
1242 +* AT Command:
1114 1114  
1115 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1244 +(% class="box infomessage" %)
1245 +(((
1246 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1247 +)))
1116 1116  
1117 1117  
1118 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1250 +* Downlink Payload (prefix 0xA5):
1119 1119  
1120 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1252 +(% class="box infomessage" %)
1253 +(((
1254 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1255 +)))
1121 1121  
1122 1122  
1123 1123  
1124 -
1125 1125  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1126 1126  
1127 -* (% style="color:#037691" %)**AT Command:**
1261 +* AT Command:
1128 1128  
1129 -(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1263 +(% class="box infomessage" %)
1264 +(((
1265 +**AT+SETCNT=aa,(bb cc dd ee) **
1266 +)))
1130 1130  
1131 1131  aa: 1: Set count1,
1132 1132  
... ... @@ -1137,40 +1137,51 @@
1137 1137  Bb cc dd ee: number to be set
1138 1138  
1139 1139  
1140 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1277 +* Downlink Payload (prefix 0xA8):
1141 1141  
1142 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1279 +(% class="box infomessage" %)
1280 +(((
1281 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1282 +)))
1143 1143  
1144 1144  
1145 1145  
1146 -
1147 1147  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1148 1148  
1149 1149  Clear counting for counting mode
1150 1150  
1151 -* (% style="color:#037691" %)**AT Command:**
1290 +* AT Command:
1152 1152  
1153 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1292 +(% class="box infomessage" %)
1293 +(((
1294 +**AT+CLRCOUNT ~/~/ clear all counting**
1295 +)))
1154 1154  
1297 +* Downlink Payload (prefix 0xA6):
1155 1155  
1156 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1299 +(% class="box infomessage" %)
1300 +(((
1301 +**0x A6 01     ~/~/ clear all counting,**
1302 +)))
1157 1157  
1158 -**0x A6 01    ** ~/~/ clear all counting
1159 1159  
1160 1160  
1161 -
1162 -
1163 1163  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1164 1164  
1165 -* (% style="color:#037691" %)**AT Command:**
1308 +* AT Command:
1166 1166  
1167 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1310 +(% class="box infomessage" %)
1311 +(((
1312 +**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1313 +)))
1168 1168  
1315 +* Downlink Payload (prefix 0xA7):
1169 1169  
1170 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1317 +(% class="box infomessage" %)
1318 +(((
1319 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1320 +)))
1171 1171  
1172 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1173 -
1174 1174  (((
1175 1175  range: aa bb cc:0 to 16777215,  (unit:second)
1176 1176  
... ... @@ -1178,7 +1178,6 @@
1178 1178  )))
1179 1179  
1180 1180  
1181 -
1182 1182  == 3.5 Integrate with Mydevice ==
1183 1183  
1184 1184  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: