User's Manual

www.dragino.com
RS485 to LoRaWAN Converter User Manual 15 / 30
AT Commands Description Example
AT+BAUDR Set the baud rate (for RS485 connection).
Default Value is: 9600.
AT+BAUDR=9600
Options:
(1200,2400,4800,14400,19200,115200)
AT+PARITY Set UART parity (for RS485 connection) AT+PARITY=0
Option: 0: no parity, 1: odd parity, 2: even
parity
AT+STOPBIT Set serial stopbit (for RS485 connection) AT+STOPBIT=0 for 1bit
AT+STOPBIT=1 for 1.5 bit
AT+STOPBIT=2 for 2 bits
3.3.2 Configure RS485 sensors
Some sensors might need to configure before normal operation. User can configure such sensor
via PC and RS485 adapter or through RS485-LN AT Commands AT+CFGDEV. Each AT+CFGDEV
equals to send a RS485 command to sensors. This command will only run when user input it and
wont run during each sampling.
AT Commands Description Example
AT+CFGDEV This command is used to configure the RS485
devices; they won’t be used during sampling.
AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
m: 0: no CRC, 1: add CRC-16/MODBUS in the
end of this command
AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx
xx xx,m