USR-DR404 user manual www.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
3.6. USR-Link
When works in AP mode, DR404 will open a UDP port which number is 49000 to receive the USR-link. Connected
directly to the WIFI of the DR404, phone query the SSID and set the router’s SSID and password via the command under the
UDP. Then the DR404 will restart automatically and connect the router, now it works in STA mode.
Protocol format description:
Number of all bytes after length (excluding length) and before
parity (excluding parity)
Command type, 0x01 is the query command
The accumulated sum of all bytes after the header (excluding
the header) and before the parity (excluding the parity).
Form 9 Query Command
Number of all bytes after length (excluding length) and before
parity (excluding parity)
Command type, the reply command corresponding to the query
command is 0x81
Terminator for SSID of Router 1, fixed value is 0x00.
The signal strength of router 1 network, ranges from 0 to 100, and
the corresponding actual value is 0% to 100%.
Terminator for signal strength 1, 0x0D, 0x0A
。
Terminator for SSID of Router n, fixed value is 0x00.
The signal strength of router n network, ranges from 0 to 100, and
the corresponding actual value is 0% to 100%.
Terminator for signal strength n, 0x0D, 0x0A
。
The accumulated sum of all bytes after the header (excluding the
header) and before the parity (excluding the parity).
Form 10 Reply Command