<
From version < 57.12 >
edited by Xiaoling
on 2022/05/23 14:17
To version < 71.1 >
edited by Xiaoling
on 2022/05/23 15:22
>
Change comment: Uploaded new attachment "image-20220523152208-14.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -506,52 +506,104 @@
506 506  
507 507  The Datalog poll reply uplink will use below payload format.
508 508  
509 +(((
510 +**Retrieval data payload**
511 +)))
509 509  
510 -Retrieval data payload
513 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %)
514 +|(% style="width:93px" %)(((
515 +**Size(bytes)**
516 +)))|(% style="width:71px" %)(((
517 +**2**
518 +)))|(% style="width:102px" %)(((
519 +**2**
520 +)))|(% style="width:86px" %)(((
521 +**2**
522 +)))|(% style="width:90px" %)(((
523 +**1**
524 +)))|(% style="width:85px" %)(((
525 +**4**
526 +)))
527 +|(% style="width:93px" %)(((
528 +**Value**
529 +)))|(% style="width:71px" %)(((
530 +[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
531 +)))|(% style="width:102px" %)(((
532 +(((
533 +[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
534 +)))
511 511  
512 -(% border="1" %)
513 -|**Size(bytes)**|**2**|**2**|**2**|**1**|**4**
514 -|**Value**|[[External sensor data>>path:#Extension_sensor_value]]|(((
515 -[[Built-In>>path:#SHT20_Temperature]]
536 +(((
537 +[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
538 +)))
539 +)))|(% style="width:86px" %)(((
540 +(((
541 +[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
542 +)))
516 516  
517 -[[Temperature>>path:#SHT20_Temperature]]
518 -)))|(((
519 -[[Built-in>>path:#SHT20_Humidity]]
544 +(((
545 +[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
546 +)))
547 +)))|(% style="width:90px" %)(((
548 +[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]]
549 +)))|(% style="width:85px" %)(((
550 +(((
551 +[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]]
552 +)))
520 520  
521 -[[Humidity>>path:#SHT20_Humidity]]
522 -)))|[[Poll message flag & Ext>>path:#Poll_EXT]]|(((
523 -[[Unix Time Stamp>>path:#Unix_Time_Stamp]]
524 -
554 +(((
525 525  
526 526  )))
557 +)))
527 527  
528 -Poll message flag & Ext
559 +**Poll message flag & Ext**
529 529  
530 -
531 -(% border="1" %)
532 -|**Bits**|**7**|**6**|**5**|**4**|**[3:0]**
533 -|**Status & Ext**|Not Defined|Poll Message Flag|Sync time OK|Unix Time Request|(((
561 +(% border="1" style="background-color:#ffffcc; color:green; width:540px" %)
562 +|(% style="width:81px" %)**Bits**|(% style="width:100px" %)**7**|(% style="width:105px" %)**6**|(% style="width:84px" %)**5**|(% style="width:85px" %)**4**|(% style="width:79px" %)**[3:0]**
563 +|(% style="width:81px" %)**Status & Ext**|(% style="width:100px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:84px" %)Sync time OK|(% style="width:85px" %)Unix Time Request|(% style="width:79px" %)(((
564 +(((
534 534  Ext:
566 +)))
535 535  
568 +(((
536 536  0b(1001)
537 537  )))
571 +)))
538 538  
573 +(((
539 539  Poll Message Flag: 1: This message is a poll message reply.
575 +)))
540 540  
541 -* Poll Message Flag is set to 1.
542 -* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
577 +* (((
578 +Poll Message Flag is set to 1.
579 +)))
580 +* (((
581 +Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
582 +)))
543 543  
584 +(((
544 544  For example, in US915 band, the max payload for different DR is:
586 +)))
545 545  
546 -a)      DR0: max is 11 bytes so one entry of data
588 +(((
589 +a) DR0: max is 11 bytes so one entry of data
590 +)))
547 547  
548 -b)      DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
592 +(((
593 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
594 +)))
549 549  
550 -c)      DR2: total payload includes 11 entries of data
596 +(((
597 +c) DR2: total payload includes 11 entries of data
598 +)))
551 551  
552 -d)      DR3: total payload includes 22 entries of data.
600 +(((
601 +d) DR3: total payload includes 22 entries of data.
602 +)))
553 553  
604 +(((
554 554  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
606 +)))
555 555  
556 556  
557 557  **Example:**
... ... @@ -558,29 +558,10 @@
558 558  
559 559  If LHT65N has below data inside Flash:
560 560  
561 -Flash Addr   |Unix Time | Ext | BAT voltage|  Value                  
613 +[[image:image-20220523144455-1.png||height="335" width="735"]]
562 562  
563 -80196E0 21/1/19 04:27:03 1 3145 sht_temp=22.00 sht_hum=32.6 ds_temp=327.67
615 +If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
564 564  
565 -80196F0 21/1/19 04:28:57 1 3145 sht_temp=21.90 sht_hum=33.1 ds_temp=327.67
566 -
567 -8019700 21/1/19 04:30:30 1 3145 sht_temp=21.81 sht_hum=33.4 ds_temp=327.67
568 -
569 -8019710 21/1/19 04:40:30 1 3145 sht_temp=21.65 sht_hum=33.7 ds_temp=327.67
570 -
571 -8019720 21/1/19 04:50:30 1 3147 sht_temp=21.55 sht_hum=34.1 ds_temp=327.67
572 -
573 -8019730 21/1/19 05:00:30 1 3149 sht_temp=21.50 sht_hum=34.1 ds_temp=327.67
574 -
575 -8019740 21/1/19 05:10:30 1 3149 sht_temp=21.43 sht_hum=34.6 ds_temp=327.67
576 -
577 -8019750 21/1/19 05:20:30 1 3151 sht_temp=21.35 sht_hum=34.9 ds_temp=327.67
578 -
579 -
580 -If user sends below downlink command:
581 -
582 -3160065F9760066DA705
583 -
584 584   Where : Start time: 60065F97 = time 21/1/19 04:27:03
585 585  
586 586   Stop time 60066DA7= time 21/1/19 05:27:03
... ... @@ -606,35 +606,50 @@
606 606  
607 607  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
608 608  
609 -
610 610  == 2.7 Alarm Mode ==
611 611  
612 612  Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately.
613 613  
646 +(% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature.
614 614  
615 -Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature.
648 +**AT Commands for Alarm mode:**
616 616  
617 -
618 -AT Commands for Alarm mode:
619 -
650 +(% class="box infomessage" %)
651 +(((
620 620  **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable)
653 +)))
621 621  
655 +(% class="box infomessage" %)
656 +(((
622 622  **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute)
658 +)))
623 623  
624 -
625 -
626 626  == 2.8 LED Indicator ==
627 627  
662 +(((
628 628  The LHT65N has a triple color LED which for easy shows different stage.
664 +)))
629 629  
666 +(((
630 630  While pressing ACT button, the LED will work as per LED status with ACT button.
668 +)))
631 631  
670 +(((
632 632  In a normal working state:
672 +)))
633 633  
634 -* For each uplink, the BLUE LED or RED LED will blink once.
635 -* BLUE LED when an external sensor is connected
636 -* RED LED when an external sensor is not connected
637 -* For each success downlink, the PURPLE LED will blink once
674 +* (((
675 +For each uplink, the BLUE LED or RED LED will blink once.
676 +)))
677 +* (((
678 +BLUE LED when an external sensor is connected
679 +)))
680 +* (((
681 +RED LED when an external sensor is not connected
682 +)))
683 +* (((
684 +For each success downlink, the PURPLE LED will blink once
685 +)))
638 638  
639 639  ----
640 640  
... ... @@ -669,7 +669,7 @@
669 669  
670 670  There are two kinds of commands to configure LHT65N, they are:
671 671  
672 -* **General Commands**.
720 +(% style="color:#4f81bd" %)* **General Commands**.
673 673  
674 674  These commands are to configure:
675 675  
... ... @@ -680,7 +680,7 @@
680 680  
681 681  [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
682 682  
683 -* **Commands special design for LHT65N**
731 +(% style="color:#4f81bd" %)* **Commands special design for LHT65N**
684 684  
685 685  These commands are only valid for LHT65N, as below:
686 686  
... ... @@ -690,21 +690,8 @@
690 690  
691 691  **AT Command: AT+TDC**
692 692  
693 -(% border="1" %)
694 -|**Command Example**|**Function**|**Response**
695 -|AT+TDC?|Show current transmit Interval|(((
696 -30000
741 +[[image:image-20220523150701-2.png]]
697 697  
698 -OK
699 -
700 -the interval is 30000ms = 30s
701 -)))
702 -|AT+TDC=60000|Set Transmit Interval|(((
703 -OK
704 -
705 -Set transmit interval to 60000ms = 60 seconds
706 -)))
707 -
708 708  **Downlink Command: 0x01**
709 709  
710 710  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -711,8 +711,8 @@
711 711  
712 712  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
713 713  
714 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
715 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
749 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
750 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
716 716  
717 717  == 4.2 Set External Sensor Mode ==
718 718  
... ... @@ -720,23 +720,13 @@
720 720  
721 721  **AT Command: AT+EXT**
722 722  
723 -(% border="1" %)
724 -|**Command Example**|**Function**|**Response**
725 -|AT+EXT?|Get current external sensor mode|(((
726 -1
758 +[[image:image-20220523150759-3.png]]
727 727  
728 -OK
729 -
730 -External Sensor mode =1
731 -)))
732 -|AT+EXT=1|(% colspan="2" %)Set external sensor mode to 1
733 -|AT+EXT=9|(% colspan="2" %)Set to external DS18B20 with timestamp
734 -
735 735  **Downlink Command: 0xA2**
736 736  
737 737  Total bytes: 2 ~~ 5 bytes
738 738  
739 -Example:
764 +**Example:**
740 740  
741 741  * 0xA201: Set external sensor type to E1
742 742  * 0xA209: Same as AT+EXT=9
... ... @@ -751,17 +751,14 @@
751 751  
752 752  PID is default set to disable (0)
753 753  
754 -
755 755  **AT Command:**
756 756  
757 -(% border="1" %)
758 -|**Command Example**|**Function**|**Response**
759 -|AT+PID=1|Enable PID uplink|OK
781 +[[image:image-20220523150928-4.png]]
760 760  
761 761  **Downlink Command:**
762 762  
763 -* 0xA800     à AT+PID=0
764 -* 0xA801     à AT+PID=1
785 +* 0xA800  **~-~->** AT+PID=0
786 +* 0xA801     **~-~->** AT+PID=1
765 765  
766 766  == 4.4 Set Password ==
767 767  
... ... @@ -769,16 +769,8 @@
769 769  
770 770  **AT Command: AT+PWORD**
771 771  
772 -(% border="1" %)
773 -|**Command Example**|**Function**|**Response**
774 -|AT+PWORD=?|Show password|(((
775 -123456
794 +[[image:image-20220523151052-5.png]]
776 776  
777 -
778 -OK
779 -)))
780 -|AT+PWORD=999999|Set password|OK
781 -
782 782  **Downlink Command:**
783 783  
784 784  No downlink command for this feature.
... ... @@ -789,15 +789,12 @@
789 789  
790 790  **AT Command: AT+DISAT**
791 791  
792 -(% border="1" %)
793 -|**Command Example**|**Function**|**Response**
794 -|AT+DISAT|Quit AT Commands mode|OK
806 +[[image:image-20220523151132-6.png]]
795 795  
796 796  **Downlink Command:**
797 797  
798 798  No downlink command for this feature.
799 799  
800 -
801 801  == 4.6 Set to sleep mode ==
802 802  
803 803  Feature: Set device to sleep mode
... ... @@ -804,15 +804,8 @@
804 804  
805 805  **AT Command: AT+SLEEP**
806 806  
807 -(% border="1" %)
808 -| | |
809 -|**Command Example**|**Function**|**Response**
810 -|AT+SLEEP|Set to sleep mode|(((
811 -Clear all stored sensor data…
818 +[[image:image-20220523151218-7.png]]
812 812  
813 -OK
814 -)))
815 -
816 816  **Downlink Command:**
817 817  
818 818  * There is no downlink command to set to Sleep mode.
... ... @@ -823,14 +823,8 @@
823 823  
824 824  **AT Command:**
825 825  
826 -(% border="1" %)
827 -|**Command Example**|**Function**
828 -|AT+TIMESTAMP=1611104352|(((
829 -OK
830 +[[image:image-20220523151253-8.png]]
830 830  
831 -Set System time to 2021-01-20 00:59:12
832 -)))
833 -
834 834  **Downlink Command:**
835 835  
836 836  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -841,11 +841,9 @@
841 841  
842 842  SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
843 843  
844 -
845 845  **AT Command:**
846 846  
847 -|**Command Example**|**Function**
848 -|AT+SYNCMOD=1|Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
844 +[[image:image-20220523151336-9.png]]
849 849  
850 850  **Downlink Command:**
851 851  
... ... @@ -859,9 +859,7 @@
859 859  
860 860  **AT Command:**
861 861  
862 -(% border="1" %)
863 -|**Command Example**|**Function**
864 -|AT+SYNCTDC=0x0A|Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
858 +[[image:image-20220523151411-10.png]]
865 865  
866 866  **Downlink Command:**
867 867  
... ... @@ -873,51 +873,8 @@
873 873  
874 874  **AT Command: AT+PDTA**
875 875  
876 -(% border="1" %)
877 -|**Command Example**|**Response**
878 -|(((
879 -AT+PDTA=1,3
870 +[[image:image-20220523151450-11.png]]
880 880  
881 -
882 -
883 -Print page 1 to 3
884 -)))|(((
885 -8019500 19/6/26 16:48 1 2992 sht_temp=28.21 sht_hum=71.5 ds_temp=27.31
886 -
887 -8019510 19/6/26 16:53 1 2994 sht_temp=27.64 sht_hum=69.3 ds_temp=26.93
888 -
889 -8019520 19/6/26 16:58 1 2996 sht_temp=28.39 sht_hum=72.0 ds_temp=27.06
890 -
891 -8019530 19/6/26 17:03 1 2996 sht_temp=27.97 sht_hum=70.4 ds_temp=27.12
892 -
893 -8019540 19/6/26 17:08 1 2996 sht_temp=27.80 sht_hum=72.9 ds_temp=27.06
894 -
895 -8019550 19/6/26 17:13 1 2998 sht_temp=27.30 sht_hum=72.4 ds_temp=26.68
896 -
897 -8019560 19/6/26 17:22 1 2992 sht_temp=26.27 sht_hum=62.3 ds_temp=26.56
898 -
899 -8019570
900 -
901 -8019580
902 -
903 -8019590
904 -
905 -80195A0
906 -
907 -80195B0
908 -
909 -80195C0
910 -
911 -80195D0
912 -
913 -80195E0
914 -
915 -80195F0
916 -
917 -
918 -OK
919 -)))
920 -
921 921  **Downlink Command:**
922 922  
923 923  No downlink commands for feature
... ... @@ -928,32 +928,8 @@
928 928  
929 929  **AT Command: AT+PLDTA**
930 930  
931 -(% border="1" %)
932 -|**Command Example**|**Response**
933 -|(((
934 -AT+PLDTA=5
882 +[[image:image-20220523151524-12.png]]
935 935  
936 -
937 -
938 -Print last 5 entries
939 -)))|(((
940 -Stop Tx and RTP events when read sensor data
941 -
942 -1 19/6/26 13:59 1 3005 sht_temp=27.09 sht_hum=79.5 ds_temp=26.75
943 -
944 -2 19/6/26 14:04 1 3007 sht_temp=26.65 sht_hum=74.8 ds_temp=26.43
945 -
946 -3 19/6/26 14:09 1 3007 sht_temp=26.91 sht_hum=77.9 ds_temp=26.56
947 -
948 -4 19/6/26 14:15 1 3007 sht_temp=26.93 sht_hum=76.7 ds_temp=26.75
949 -
950 -5 19/6/26 14:20 1 3007 sht_temp=26.78 sht_hum=76.6 ds_temp=26.43
951 -
952 -Start Tx and RTP events
953 -
954 -OK
955 -)))
956 -
957 957  **Downlink Command:**
958 958  
959 959  No downlink commands for feature
... ... @@ -964,14 +964,8 @@
964 964  
965 965  **AT Command: AT+CLRDTA**
966 966  
967 -(% border="1" %)
968 -|**Command Example**|**Function**|**Response**
969 -|AT+CLRDTA|Clear date record|(((
970 -Clear all stored sensor data…
894 +[[image:image-20220523151556-13.png]]
971 971  
972 -OK
973 -)))
974 -
975 975  **Downlink Command: 0xA3**
976 976  
977 977  * Example: 0xA301 ~/~/Same as AT+CLRDTA
image-20220523144455-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +33.4 KB
Content
image-20220523150701-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.3 KB
Content
image-20220523150759-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.2 KB
Content
image-20220523150928-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.1 KB
Content
image-20220523151052-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +8.6 KB
Content
image-20220523151132-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.6 KB
Content
image-20220523151218-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.8 KB
Content
image-20220523151253-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.5 KB
Content
image-20220523151336-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Content
image-20220523151411-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.5 KB
Content
image-20220523151450-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +38.4 KB
Content
image-20220523151524-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.2 KB
Content
image-20220523151556-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.7 KB
Content
image-20220523152208-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0