EasyManua.ls Logo

Waveshare RS232/485 TO WIFI POE ETH (B) - 6.7 FAST NETWORKING PROTOCOL

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
64
6.7 FAST NETWORKING PROTOCOL
When the WIFI serial server is operating in AP mode, it will open a UDP port for receiving fast
networking protocol commands, with a port number of 49000. The mobile phone can be directly
connected to the WIFI network of the WIFI serial port server, and can query the SSID information list
and set the router SSID and password through the commands under UDP protocol. After the setting is
completed, the WIFI serial server will automatically restart and connect to the router, and it will work
in STA mode at this time.
Protocol format description:
Table query instruction
No.
Name
Number of
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, 0x01 is a query instruction
4
Checksum
byte
1
The cumulative sum of all bytes after the header
(excluding the header) and before the checksum
(excluding the checksum).
Table Query Reply Instructions
No.
Name
Bytes
Note
1
Header
1
Fixed value 0xFF
2
Length
2
All bytes after the length (excluding the length) and before the
checksum byte (excluding the checksum byte)
3
Command
code
1
Command type, and the reply instruction corresponding to the
query instruction is 0x81
4
AP number
1
The number of APS currently searched
5
SSID1
Indefinite
length
The SSID of router 1
6
end
character
1
Router 1' s SSID terminator, fixed value 0x00
7
Signal
strength 1
1
The signal strength of router 1 network ranges from 0 to 100, and
the corresponding actual value is 0% to 100%
8
End
character
2
Terminator of signal strength 1, 0x0D, 0x0A
………
M
SSIDn
Indefinite
length
The SSID of router n
M+1
End
1
SSID terminator of router n, fixed value 0x00

Table of Contents