Last modified by Xiaoling on 2025/04/23 15:57

From version 30.3
edited by Xiaoling
on 2022/06/02 09:22
Change comment: There is no comment for this version
To version 30.2
edited by Xiaoling
on 2022/06/02 09:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -760,15 +760,9 @@
760 760  
761 761  * **AT Command**
762 762  
763 -(% class="box infomessage" %)
764 -(((
765 765  **AT+MOD=1** ~/~/ Set to support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
766 -)))
767 767  
768 -(% class="box infomessage" %)
769 -(((
770 770  **AT+MOD=2** ~/~/ Set to support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
771 -)))
772 772  
773 773  
774 774  * **Downlink Payload**
... ... @@ -783,10 +783,7 @@
783 783  
784 784  * **AT Command**
785 785  
786 -(% class="box infomessage" %)
787 -(((
788 -**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m**
789 -)))
780 +AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
790 790  
791 791  m: 0: no CRC; 1: add CRC-16/MODBUS in the end of this command.
792 792  
... ... @@ -802,7 +802,6 @@
802 802  * XX XX XX XX: RS485 command total NN bytes
803 803  * YY: How many bytes will be uplink from the return of this RS485 command, if YY=0, RS485-BL will execute the downlink command without uplink; if YY>0, RS485-BL will uplink total YY bytes from the output of this RS485 command
804 804  
805 -
806 806  **Example 1:**
807 807  
808 808  To connect a Modbus Alarm with below commands.
... ... @@ -828,23 +828,21 @@
828 828  
829 829  
830 830  
831 -==== **Set Payload version** ====
832 832  
822 +==== Set Payload version ====
823 +
833 833  This is the first byte of the uplink payload. RS485-BL can connect to different sensors. User can set the PAYVER field to tell server how to decode the current payload.
834 834  
835 -* **AT Command:**
826 +* AT Command:
836 836  
837 -(% class="box infomessage" %)
838 -(((
839 -**AT+PAYVER: Set PAYVER field = 1**
840 -)))
828 +AT+PAYVER: Set PAYVER field = 1
841 841  
842 842  
843 -* **Downlink Payload:**
831 +* Downlink Payload:
844 844  
845 -0xAE 01  ~-~-> Set PAYVER field =  0x01
833 +0xAE 01   à Set PAYVER field =  0x01
846 846  
847 -0xAE 0F   ~-~-> Set PAYVER field =  0x0F
835 +0xAE 0F   à Set PAYVER field =  0x0F
848 848  
849 849  
850 850  ==== Set RS485 Sampling Commands ====