Fast Access Wi-Fi (Usr-Link); Inquiry Command - Waveshare WIFI232-B2 User Manual

Table of Contents

Advertisement

WIFI232-B2 User Manual
web applications, and for web users with higher response speed, if you want to
customize the corresponding web page, you can contact with us.

4.8.7 Fast access Wi-Fi (usr-link)

When the module work in AP mode, it will open an UDP port to receive fast access
Wi-Fi command with the port number 490000. The phone can directly connect to WI-FI
network of the module, then use command to search router list and set SSID SSID and
password. After setting, module will automatically restart, connect to router and work in
the STA mode.
Protocol format:
 Inquiry command
No
Name
1
head
2
length
3
4
check
 Response for searching
No
Name
1
head
2
length
3
4
AP num
5
SSID1
6
separator
Signal
7
strength1
8
Separator
..
M
SSID n
M+1
Separator
Num of
Bytes
1
2
cmd
1
1
Table 4 Fast access WI-FI Inquiry command
Num of
Bytes
1
2
cmd
1
1
Unsized
1
2
2
...
...
Unsized
1
37 / 102
Description
fixed value: 0xFF
Sum of data bytes from length byte to
check byte (Not contain length bytes
and check byte)
Command type, 0x01
Sum of bytes from head byte (not
contain) to check byte (not contain)
Description
fixed value: 0xFF
Sum of data bytes from length byte to
check byte (not contain length byte and
check byte)
Command type, 0x81
The number of AP what module scans
The SSID of router1
Separator of SSID1, fixed value: 0x00
Separator of signal strength1, fixed
value: 0x0D, 0x0A
Separator of SSID n, fixed value: 0x00
......
The SSID of router n
Separator of SSID n, fixed value: 0x00

Advertisement

Table of Contents
loading

Table of Contents