EasyManua.ls Logo

USR IOT USR-DR404 - Page 30

USR IOT USR-DR404
86 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USR-DR404 user manual www.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
30
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.
Name
Bytes
Description
1
Packet
Header
1
Fixed value: 0xFF
2
Length
2
Number of all bytes after length (excluding length) and before
parity (excluding parity)
3
Command
1
Command type, 0x02 is the setting command.
4
Reserved
words
1
Default is 0x00
5
SSID
Indefinite
length
SSID of route
6
Delimiter
2
SSID terminator, fixed values are 0x0D and 0x0A.
7
Password
Indefinite
length
Password of route
8
Parity
1
The accumulated sum of all bytes after the header (excluding
the header) and before the parity (excluding the parity).
Form 11 Setting Command
Name
Bytes
Description
1
Packet
Header
1
Fixed value: 0xFF
2
Length
2
Number of all bytes after length (excluding length) and before
parity (excluding parity)
3
Command
1
Command type, 0x82 is the reply command corresponding to
the setting command.
4
Parity
1
The parity result of the SSID. If the SSID can be found, the
corresponding value is 0x01. If not, the value is 0x00.
5
Parity
1
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.
6
Parity
1
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

Table of Contents

Related product manuals