Waveshare WIFI232-B2 User Manual page 38

Table of Contents

Advertisement

WIFI232-B2 User Manual
Signal
M+2
strength
M+3
Separator
M+4
check
Example:
Data from phone to module (HEX): FF 00 01 01 02
Data from module to phone (HEX): FF 00 14 81 02 54 45 53 54 31 00 40 0D 0A 54 45 53
54 32 00 37 0D 0A 1F
Explanation:
The phone send searching command to module, the response from module is: SSID of
router1 is "TEST1", signal strength of router1 is 64%; SSID of router2 is "TEST2", signal
strength of router2 is 55%
Note: The information of routers is ordered by signal strength.
 Setting command
No
1
2
3
4
reserve
5
6
separator
7
password
8
 Response for setting
No
Name
1
head
2
length
3
CMD
1
2
1
Table 5 Fast access WI-FI Response for searching
Name
Num of Bytes
head
length
CMD
SSID
unsized
unsized
check
Table 6 Fast access WI-FI Setting Command
Num of Bytes
1
2
1
Signal strength of router n, 0~100: 0%-
100%
fixed value: 0x0D, 0x0A
Sum of bytes from head (not contained)
byte to check byte (not contained)
1
Sum of data bytes from length byte
2
(not contained) to check byte (not
contained)
1
Command type, 0x02
1
0x00
SSID of router
2
fixed value: 0x0D, 0x0A
password of router
Sum of data bytes from length byte
1
(not contained) to check byte (not
contained)
fixed value: 0xFF
Sum of data bytes from length byte
(not contained) to check byte (not
contained)
command type, 0x82
38 / 102
Description
fixed value: 0xFF
Description

Advertisement

Table of Contents
loading

Table of Contents