Last modified by Mengting Qiu on 2025/07/01 15:58
From version 77.1
edited by Xiaoling
on 2024/09/26 13:45
on 2024/09/26 13:45
Change comment:
There is no comment for this version
To version 87.1
edited by Mengting Qiu
on 2025/04/07 15:57
on 2025/04/07 15:57
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -223,23 +223,23 @@ 223 223 224 224 (% style="color:blue" %)**Register the device** 225 225 226 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/1654935135620-998.png?rev=1.1||alt="1654935135620-998.png"]]226 +[[image:image-20250328173145-1.jpeg]] 227 227 228 228 229 229 (% style="color:blue" %)**Add APP EUI and DEV EUI** 230 230 231 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-4.png?width=753&height=551&rev=1.1||alt="图片-20220611161308-4.png"]]231 +[[image:image-20250328173203-2.jpeg]] 232 232 233 233 234 234 (% style="color:blue" %)**Add APP EUI in the application** 235 235 236 236 237 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-5.png?width=742&height=601&rev=1.1||alt="图片-20220611161308-5.png"]]237 +[[image:image-20250328173224-3.jpeg]] 238 238 239 239 240 240 (% style="color:blue" %)**Add APP KEY** 241 241 242 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]]242 +[[image:image-20250328173243-4.jpeg]] 243 243 244 244 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS 245 245 ... ... @@ -421,13 +421,13 @@ 421 421 422 422 S31x-LB/LS uses Unix TimeStamp format based on 423 423 424 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]]424 +[[image:image-20250328173339-5.jpeg]] 425 425 426 426 User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 427 427 428 428 Below is the converter example 429 429 430 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-12.png?width=720&height=298&rev=1.1||alt="图片-20220523001219-12.png" height="298" width="720"]]430 +[[image:image-20250328173355-6.jpeg]] 431 431 432 432 433 433 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 ... ... @@ -715,19 +715,18 @@ 715 715 (% style="color:blue" %)**AT Command: AT+INTMOD** 716 716 717 717 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 718 -|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 19 7px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**719 -|(% style="width:154px" %)AT+INTMOD=?|(% style="width:19 6px" %)Show current interrupt mode|(% style="width:157px" %)(((718 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px; background-color: rgb(79, 129, 189); color: white;" %)**Function**|=(% style="width: 161px; background-color: rgb(79, 129, 189); color: white;" %)**Response** 719 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:192px" %)Show current interrupt mode|(% style="width:161px" %)((( 720 720 0 721 721 OK 722 722 the mode is 0 =Disable Interrupt 723 723 ))) 724 -|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 725 -Set Transmit Interval 726 -0. (Disable Interrupt), 727 -~1. (Trigger by rising and falling edge) 728 -2. (Trigger by falling edge) 729 -3. (Trigger by rising edge) 730 -)))|(% style="width:157px" %)OK 724 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:192px" %)((( 725 +0: Disable Interrupt 726 +1: Trigger by rising and falling edge 727 +2: Trigger by falling edge 728 +3: Trigger by rising edge 729 +)))|(% style="width:161px" %)OK 731 731 732 732 (% style="color:blue" %)**Downlink Command: 0x06** 733 733 ... ... @@ -766,6 +766,91 @@ 766 766 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 767 767 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 768 768 768 +=== 3.3.9 Print data entries base on page === 769 + 770 + 771 +Feature: Print the sector data from start page to stop page (max is 416 pages). 772 + 773 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 774 + 775 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 776 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 777 +|(% style="width:156px" %)((( 778 +AT+PDTA=1,3 779 +Print page 1 to 3 780 +)))|(% style="width:311px" %)((( 781 +8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31 782 +8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93 783 +8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06 784 +8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12 785 +8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06 786 +8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68 787 +8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56 788 +8019570 789 +8019580 790 +8019590 791 +80195A0 792 +80195B0 793 +80195C0 794 +80195D0 795 +80195E0 796 +80195F0 797 + 798 +OK 799 +))) 800 + 801 +(% style="color:#4f81bd" %)**Downlink Command:** 802 + 803 +No downlink commands for feature 804 + 805 + 806 +=== 3.3.10 Print last few data entries === 807 + 808 + 809 +Feature: Print the last few data entries 810 + 811 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 812 + 813 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 814 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 815 +|(% style="width:156px" %)((( 816 +AT+PLDTA=5 817 +Print last 5 entries 818 +)))|(% style="width:311px" %)((( 819 +Stop Tx and RTP events when read sensor data 820 +1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75 821 +2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43 822 +3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56 823 +4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75 824 +5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43 825 +Start Tx and RTP events 826 +OK 827 +))) 828 + 829 +(% style="color:#4f81bd" %)**Downlink Command:** 830 + 831 +No downlink commands for feature 832 + 833 + 834 +=== 3.3.11 Clear Flash Record === 835 + 836 + 837 +Feature: Clear flash storage for data log feature. 838 + 839 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 840 + 841 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 842 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response** 843 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 844 +Clear all stored sensor data… 845 + 846 +OK 847 +))) 848 + 849 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 850 + 851 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 852 + 769 769 = 4. Battery & Power Consumption = 770 770 771 771
- image-20250328173145-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.6 KB - Content
- image-20250328173203-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40.6 KB - Content
- image-20250328173224-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.2 KB - Content
- image-20250328173243-4.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.4 KB - Content
- image-20250328173339-5.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.9 KB - Content
- image-20250328173355-6.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.4 KB - Content