User's Manual
www.dragino.com
RS485 to LoRaWAN Converter User Manual 21 / 30
Size(bytes) 1 Length depends on the return from the commands
Value PAYLOAD_VER If the valid payload is too long and exceed the maximum
support payload length in server, server will show payload not
provided in the LoRaWAN server.
3.5 Configure RS485-LN via AT or Downlink
User can configure RS485-LN via AT Commands or LoRaWAN Downlink Commands
There are two kinds of Commands:
✓ Common Commands: They should be available for each sensor, such as: change uplink
interval, reset device. For firmware v1.3, user can find what common commands it supports:
http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Comm
ands
✓ Sensor Related Commands: These commands are special designed for RS485-LN. User can
see these commands below:
3.5.1 Common Commands:
They should be available for each of Dragino Sensors, such as: change uplink interval, reset device.
For firmware v1.3, user can find what common commands it supports:
http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
3.5.2 Sensor related commands:
RS485 Debug Command
This command is used to configure the RS485 devices; they won’t be used during sampling.
➢ AT Command
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
➢ Downlink Payload
Format: A8 MM NN XX XX XX XX YY
Where:
MM: 1: add CRC-16/MODBUS ; 0: no CRC
NN: The length of RS485 command
XX XX XX XX: RS485 command total NN bytes
YY: How many bytes will be uplink from the return of this RS485 command, if YY=0, RS485-LN will execute
the downlink command without uplink; if YY>0, RS485-LN will uplink total YY bytes from the output of this
RS485 command










