WIFI232-B2 User Manual
37
/
102
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
Num of
Bytes
Description
1
head
1
fixed value: 0xFF
2
length
2
Sum of data bytes from length byte to
check byte (Not contain length bytes
and check byte)
3
cmd
1
Command type, 0x01
4
check
1
Sum of bytes from head byte (not
contain) to check byte (not contain)
Table 4 Fast access WI-FI Inquiry command
Response for searching
No
Name
Num of
Bytes
Description
1
head
1
fixed value: 0xFF
2
length
2
Sum of data bytes from length byte to
check byte (not contain length byte and
check byte)
3
cmd
1
Command type, 0x81
4
AP num
1
The number of AP what module scans
5
SSID1
Unsized
The SSID of router1
6
separator
1
Separator of SSID1, fixed value: 0x00
7
Signal
strength1
2
Separator of signal strength1, fixed
value: 0x0D, 0x0A
8
Separator
2
Separator of SSID n, fixed value: 0x00
..
…
…
……
M
SSID n
Unsized
The SSID of router n
M+1
Separator
1
Separator of SSID n, fixed value: 0x00