Fast Networking Protocol - Waveshare RS232/485 TO WIFI POE ETH (B) User Manual

Table of Contents

Advertisement

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

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:
Name
No.
bytes
1
header
2
Length
3
Command
code
4
Checksum
byte
No.
Name
Bytes
1
Header
1
2
Length
2
3
Command
1
code
4
AP number
1
5
SSID1
Indefinite
length
6
end
1
character
7
Signal
1
strength 1
8
End
2
character
...
...
...
M
SSIDn
Indefinite
length
M+1
End
1
Table query instruction
Number of
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, 0x01 is a query instruction
1
The cumulative sum of all bytes after the header
(excluding the header) and before the checksum
(excluding the checksum).
Table Query Reply Instructions
Note
Fixed value 0xFF
All bytes after the length (excluding the length) and before the
checksum byte (excluding the checksum byte)
Command type, and the reply instruction corresponding to the
query instruction is 0x81
The number of APS currently searched
The SSID of router 1
Router 1' s SSID terminator, fixed value 0x00
The signal strength of router 1 network ranges from 0 to 100, and
the corresponding actual value is 0% to 100%
Terminator of signal strength 1, 0x0D, 0x0A
.........
The SSID of router n
SSID terminator of router n, fixed value 0x00
64
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents