Waveshare RS232/485 TO WIFI POE ETH (B) User Manual page 65

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
character
M+2
Signal
1
strength n
M+3
End
2
Character
M+4
Checksum
1
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.
No.
Name
1
Header
2
Length
3
Command
code
4
Reserved
byte
5
SSID
6
Separator
7
Password
8
Checksum
byte
No. Name
Bytes Note
1
Header
1
2
Length
2
The signal strength of router N network ranges from 0 to 100, and
the corresponding actual value is 0% to 100%
The end character of signal strength n, 0x0D, 0x0A
The cumulative sum of all bytes after the header (excluding the
header) and before the checksum byte (excluding the checksum
byte).
Table setting instruction
Bytes
Note
1
Fixed value 0xFF
2
The number of bytes after the length (excluding the length) and
before the checksum (excluding the checksum).
1
Command type, 0x02 is the setting command.
1
The default is 0x00.
Indefinite
The SSID of the router.
length
2
SSID terminator, fixed values 0x0D, 0x0A.
Indefinite
The password of the router.
length
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
Fixed value 0xFF
All bytes after the length (excluding the length) and before the
65
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents