USR-DR404 user manual www.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
For example:
Mobile phone sends to WIFI serial server (hexadecimal number): FF 00 01 01 02
WIFI serial server returns to mobile phone (hexadecimal number): FF 00 14 81 02 54 45 53 54 31 00 40 0D 0A
54 45 53 54 32 00 37 0D 0A 1F
Explanation: The mobile phone sends a query command to the WIFI serial server to query the information of the
router. The information returned by the WIFI serial server to the mobile phone is: there are 2 routers, the SSID of router 1 is
"TEST1" and the signal strength is 64%; the SSID of router 2 is "TEST2" and the signal strength is 55%.
Note: The router information returned by the WIFI serial server is sorted according to the signal strength.
Number of all bytes after length (excluding length) and before
parity (excluding parity)
Command type, 0x02 is the setting command.
SSID terminator, fixed values are 0x0D and 0x0A.
The accumulated sum of all bytes after the header (excluding
the header) and before the parity (excluding the parity).
Form 11 Setting Command
Number of all bytes after length (excluding length) and before
parity (excluding parity)
Command type, 0x82 is the reply command corresponding to
the setting command.
The parity result of the SSID. If the SSID can be found, the
corresponding value is 0x01. If not, the value is 0x00.
The parity result of the password. If the password is in the
correct format, the value is 0x01. If it is incorrect, the value is
0x00.
The accumulated sum of all bytes after the header (excluding
the header) and before the parity (excluding the parity).
Form 12 Reply Command
For example:
Mobile phone sends to WIFI serial server (hexadecimal number): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35
36 CE