EasyManua.ls Logo

Waveshare RS232/485 TO WIFI POE ETH (B) - Page 65

Waveshare RS232/485 TO WIFI POE ETH (B)
76 pages
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...
RS232/485 TO WIFI POE ETH (B) User Manual
www.waveshare.com
65
character
M+2
Signal
strength n
1
The signal strength of router N network ranges from 0 to 100, and
the corresponding actual value is 0% to 100%
M+3
End
Character
2
The end character of signal strength n, 0x0D, 0x0A
M+4
Checksum
byte
1
The cumulative sum of all bytes after the header (excluding the
header) and before the checksum byte (excluding the checksum
byte).
Example:
Mobile phone sent to WIFI serial server (hexadecimal number): FF00010102.
WIFI serial server returns to mobile phone (hexadecimal number):
FF00148102544553543100400D0A 544553543200370D0A1F
Note: The mobile phone sends a query instruction to the WIFI serial server to query the router
related information. The information returned by the WIFI serial server to the mobile phone is: there
are two routers, the SSID of router 1 is "TEST1" and the signal strength is 64%; Router 2 has an SSID of
"TEST2" and a signal strength of 55%.
Note: The router information replied by the WIFI serial server is sorted according to the signal
strength.
Table setting instruction
No.
Name
Bytes
Note
1
Header
1
Fixed value 0xFF
2
Length
2
The number of bytes after the length (excluding the length) and
before the checksum (excluding the checksum).
3
Command
code
1
Command type, 0x02 is the setting command.
4
Reserved
byte
1
The default is 0x00.
5
SSID
Indefinite
length
The SSID of the router.
6
Separator
2
SSID terminator, fixed values 0x0D, 0x0A.
7
Password
Indefinite
length
The password of the router.
8
Checksum
byte
1
The cumulative sum of all bytes after the header (excluding the
header) and before the checksum byte (excluding the checksum
byte).
Table setting reply instruction
No.
Name
Bytes
Note
1
Header
1
Fixed value 0xFF
2
Length
2
All bytes after the length (excluding the length) and before the

Table of Contents