<
From version < 64.1 >
edited by Xiaoling
on 2022/07/08 14:21
To version < 64.4 >
edited by Xiaoling
on 2022/07/08 14:44
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -473,7 +473,6 @@
473 473  [[image:image-20220708133731-5.png]]
474 474  
475 475  
476 -
477 477  (((
478 478  (% style="color:blue" %)**Examples:**
479 479  )))
... ... @@ -656,221 +656,113 @@
656 656  )))
657 657  
658 658  (((
659 -The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]]
658 +The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]] 
660 660  )))
661 661  
662 -[[image:1657261119050-993.png]]
661 +[[image:1657261278785-153.png]]
663 663  
664 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg]]
665 665  
666 666  
665 += 4.  Using the AT Commands =
667 667  
668 -== 3.1 Access AT Commands ==
667 +== 4.1  Access AT Commands ==
669 669  
669 +See this link for detail: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]
670 670  
671 -LSE01 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSE01 for using AT command, as below.
672 672  
673 -[[image:1654501986557-872.png||height="391" width="800"]]
672 +AT+<CMD>?  : Help on <CMD>
674 674  
674 +AT+<CMD>         : Run <CMD>
675 675  
676 -Or if you have below board, use below connection:
676 +AT+<CMD>=<value> : Set the value
677 677  
678 +AT+<CMD>=?  : Get the value
678 678  
679 -[[image:1654502005655-729.png||height="503" width="801"]]
680 680  
681 -
682 -
683 -In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSE01. LSE01 will output system info once power on as below:
684 -
685 -
686 - [[image:1654502050864-459.png||height="564" width="806"]]
687 -
688 -
689 -Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]]: [[https:~~/~~/www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0>>https://www.dropbox.com/sh/qr6vproz4z4kzjz/AAAD48h3OyWrU1hq_Cqm8jIwa?dl=0]]
690 -
691 -
692 -(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>? **(%%) : Help on <CMD>
693 -
694 -(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD> **(%%) : Run <CMD>
695 -
696 -(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=<value>**(%%) : Set the value
697 -
698 -(% style="background-color:#dcdcdc" %)**AT+<CMD>=?AT+<CMD>=?**(%%)  : Get the value
699 -
700 -
701 701  (% style="color:#037691" %)**General Commands**(%%)      
702 702  
703 -(% style="background-color:#dcdcdc" %)**AT**(%%)  : Attention       
683 +AT  : Attention       
704 704  
705 -(% style="background-color:#dcdcdc" %)**AT?**(%%)  : Short Help     
685 +AT?  : Short Help     
706 706  
707 -(% style="background-color:#dcdcdc" %)**ATZ**(%%)  : MCU Reset    
687 +ATZ  : MCU Reset    
708 708  
709 -(% style="background-color:#dcdcdc" %)**AT+TDC**(%%)  : Application Data Transmission Interval 
689 +AT+TDC  : Application Data Transmission Interval
710 710  
691 +AT+CFG  : Print all configurations
711 711  
712 -(% style="color:#037691" %)**Keys, IDs and EUIs management**
693 +AT+CFGMOD           : Working mode selection
713 713  
714 -(% style="background-color:#dcdcdc" %)**AT+APPEUI**(%%)              : Application EUI      
695 +AT+INTMOD            : Set the trigger interrupt mode
715 715  
716 -(% style="background-color:#dcdcdc" %)**AT+APPKEY**(%%)              : Application Key     
697 +AT+5VT  : Set extend the time of 5V power  
717 717  
718 -(% style="background-color:#dcdcdc" %)**AT+APPSKEY**(%%)            : Application Session Key
699 +AT+PRO  : Choose agreement
719 719  
720 -(% style="background-color:#dcdcdc" %)**AT+DADDR**(%%)              : Device Address     
701 +AT+WEIGRE  : Get weight or set weight to 0
721 721  
722 -(% style="background-color:#dcdcdc" %)**AT+DEUI**(%%)                   : Device EUI     
703 +AT+WEIGAP  : Get or Set the GapValue of weight
723 723  
724 -(% style="background-color:#dcdcdc" %)**AT+NWKID**(%%)               : Network ID (You can enter this command change only after successful network connection
705 +AT+RXDL  : Extend the sending and receiving time
725 725  
726 -(% style="background-color:#dcdcdc" %)**AT+NWKSKEY**(%%)          : Network Session Key Joining and sending date on LoRa network  
707 +AT+CNTFAC  : Get or set counting parameters
727 727  
728 -(% style="background-color:#dcdcdc" %)**AT+CFM**(%%)  : Confirm Mode       
709 +AT+SERVADDR  : Server Address
729 729  
730 -(% style="background-color:#dcdcdc" %)**AT+CFS**(%%)                     : Confirm Status       
731 731  
732 -(% style="background-color:#dcdcdc" %)**AT+JOIN**(%%)  : Join LoRa? Network       
712 +(% style="color:#037691" %)**COAP Management**      
733 733  
734 -(% style="background-color:#dcdcdc" %)**AT+NJM**(%%)  : LoRa? Network Join Mode    
714 +AT+URI            : Resource parameters
735 735  
736 -(% style="background-color:#dcdcdc" %)**AT+NJS**(%%)                     : LoRa? Network Join Status    
737 737  
738 -(% style="background-color:#dcdcdc" %)**AT+RECV**(%%)                  : Print Last Received Data in Raw Format
717 +(% style="color:#037691" %)**UDP Management**
739 739  
740 -(% style="background-color:#dcdcdc" %)**AT+RECVB**(%%)                : Print Last Received Data in Binary Format      
719 +AT+CFM          : Upload confirmation mode (only valid for UDP)
741 741  
742 -(% style="background-color:#dcdcdc" %)**AT+SEND**(%%)                  : Send Text Data      
743 743  
744 -(% style="background-color:#dcdcdc" %)**AT+SENB**(%%)                  : Send Hexadecimal Data
722 +(% style="color:#037691" %)**MQTT Management**
745 745  
724 +AT+CLIENT               : Get or Set MQTT client
746 746  
747 -(% style="color:#037691" %)**LoRa Network Management**
726 +AT+UNAME  : Get or Set MQTT Username
748 748  
749 -(% style="background-color:#dcdcdc" %)**AT+ADR**(%%)          : Adaptive Rate
728 +AT+PWD                  : Get or Set MQTT password
750 750  
751 -(% style="background-color:#dcdcdc" %)**AT+CLASS**(%%)  : LoRa Class(Currently only support class A
730 +AT+PUBTOPI : Get or Set MQTT publish topic
752 752  
753 -(% style="background-color:#dcdcdc" %)**AT+DCS**(%%)  : Duty Cycle Settin
732 +AT+SUBTOPIC  : Get or Set MQTT subscription topic
754 754  
755 -(% style="background-color:#dcdcdc" %)**AT+DR**(%%)  : Data Rate (Can Only be Modified after ADR=0)     
756 756  
757 -(% style="background-color:#dcdcdc" %)**AT+FCD**(%%)  : Frame Counter Downlink       
735 +(% style="color:#037691" %)**Information**          
758 758  
759 -(% style="background-color:#dcdcdc" %)**AT+FCU**(%%)  : Frame Counter Uplink   
737 +AT+FDR  : Factory Data Reset
760 760  
761 -(% style="background-color:#dcdcdc" %)**AT+JN1DL**(%%)  : Join Accept Delay1
739 +AT+PWOR : Serial Access Password
762 762  
763 -(% style="background-color:#dcdcdc" %)**AT+JN2DL**(%%)  : Join Accept Delay2
764 764  
765 -(% style="background-color:#dcdcdc" %)**AT+PNM**(%%)  : Public Network Mode   
766 766  
767 -(% style="background-color:#dcdcdc" %)**AT+RX1DL**(%%)  : Receive Delay1      
743 += ​5.  FAQ =
768 768  
769 -(% style="background-color:#dcdcdc" %)**AT+RX2DL**(%%)  : Receive Delay2      
745 +== 5.1 How to Upgrade Firmware ==
770 770  
771 -(% style="background-color:#dcdcdc" %)**AT+RX2DR**(%%)  : Rx2 Window Data Rate 
772 772  
773 -(% style="background-color:#dcdcdc" %)**AT+RX2FQ**(%%)  : Rx2 Window Frequency
774 -
775 -(% style="background-color:#dcdcdc" %)**AT+TXP**(%%)  : Transmit Power
776 -
777 -(% style="background-color:#dcdcdc" %)**AT+ MOD**(%%)  : Set work mode
778 -
779 -
780 -(% style="color:#037691" %)**Information** 
781 -
782 -(% style="background-color:#dcdcdc" %)**AT+RSSI**(%%)           : RSSI of the Last Received Packet   
783 -
784 -(% style="background-color:#dcdcdc" %)**AT+SNR**(%%)           : SNR of the Last Received Packet   
785 -
786 -(% style="background-color:#dcdcdc" %)**AT+VER**(%%)           : Image Version and Frequency Band       
787 -
788 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)           : Factory Data Reset
789 -
790 -(% style="background-color:#dcdcdc" %)**AT+PORT**(%%)  : Application Port    
791 -
792 -(% style="background-color:#dcdcdc" %)**AT+CHS**(%%)  : Get or Set Frequency (Unit: Hz) for Single Channel Mode
793 -
794 - (% style="background-color:#dcdcdc" %)**AT+CHE**(%%)  : Get or Set eight channels mode, Only for US915, AU915, CN470
795 -
796 -
797 -= ​4. FAQ =
798 -
799 -== 4.1 ​How to change the LoRa Frequency Bands/Region? ==
800 -
801 801  (((
802 -You can follow the instructions for [[how to upgrade image>>||anchor="H2.10200BFirmwareChangeLog"]].
803 -When downloading the images, choose the required image file for download. ​
749 +User can upgrade the firmware for 1) bug fix, 2) new feature release.
804 804  )))
805 805  
806 806  (((
807 -
753 +Please see this link for how to upgrade:  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList]]
808 808  )))
809 809  
810 810  (((
811 -How to set up LSE01 to work in 8 channel mode By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies.
757 +Notice, NSE01 and LSE01 share the same mother board. They use the same connection and method to update.
812 812  )))
813 813  
814 -(((
815 -
816 -)))
817 817  
818 818  (((
819 -You can configure the end node to work in 8 channel mode by using the AT+CHE command. The 500kHz channels are always included for OTAA.
820 -)))
821 -
822 -(((
823 823  
824 824  )))
825 825  
826 -(((
827 -For example, in **US915** band, the frequency table is as below. By default, the end node will use all channels (0~~71) for OTAA Join process. After the OTAA Join, the end node will use these all channels (0~~71) to send uplink packets.
828 -)))
829 -
830 -[[image:image-20220606154726-3.png]]
831 -
832 -
833 -When you use the TTN network, the US915 frequency bands use are:
834 -
835 -* 903.9 - SF7BW125 to SF10BW125
836 -* 904.1 - SF7BW125 to SF10BW125
837 -* 904.3 - SF7BW125 to SF10BW125
838 -* 904.5 - SF7BW125 to SF10BW125
839 -* 904.7 - SF7BW125 to SF10BW125
840 -* 904.9 - SF7BW125 to SF10BW125
841 -* 905.1 - SF7BW125 to SF10BW125
842 -* 905.3 - SF7BW125 to SF10BW125
843 -* 904.6 - SF8BW500
844 -
845 -(((
846 -Because the end node is now hopping in 72 frequency, it makes it difficult for the devices to Join the TTN network and uplink data. To solve this issue, you can access the device via the AT commands and run:
847 -
848 -* (% style="color:#037691" %)**AT+CHE=2**
849 -* (% style="color:#037691" %)**ATZ**
850 -)))
851 -
852 -(((
853 -
854 -
855 -to set the end node to work in 8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink.
856 -)))
857 -
858 -(((
859 -
860 -)))
861 -
862 -(((
863 -The **AU915** band is similar. Below are the AU915 Uplink Channels.
864 -)))
865 -
866 -[[image:image-20220606154825-4.png]]
867 -
868 -
869 -== 4.2 ​Can I calibrate LSE01 to different soil types? ==
870 -
871 -LSE01 is calibrated for saline-alkali soil and loamy soil. If users want to use it for other soil, they can calibrate the value in the IoT platform base on the value measured by saline-alkali soil and loamy soil. The formula can be found at [[this link>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/&file=Calibrate_to_other_Soil_20220605.pdf]].
872 -
873 -
874 874  = 5. Trouble Shooting =
875 875  
876 876  == 5.1 ​Why I can't join TTN in US915 / AU915 bands? ==
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0