
WIFI-LPT100-B User Manual
21
/
60
Example 1:
(115200, N, 8,
1)
55 AA 55
01 C2 00
03
C6
Example 2:
(9600, N, 8, 1)
55 AA 55
00 25 80
03
A8
Table 8 UART Parameters
Bit
Definition
Value
Description
1:0
Data bit selection
00
5 bits
01
6 bits
10
7 bits
11
8 bits
2
Stop bit
0
1 bit
1
2 bits
3
Parity enable
0
disable parity
1
enable parity
5:4
parity bit type
00
ODD
01
EVEN
10
Mark set 1
11
Clear
7:6
undefined
00
Set 0
4.4 Quick Networking Protocol (usrlink)
While the module is working in AP mode, it will enable an UDP port to
receive command of usrlink, the port is 48899 (same as the LAN search port,
configurable). Connect your phone to WIFI wireless network directly, and use UDP
protocol command to query SSID list and set the SSID and password of router. After
setting, the module will restart, then connect to the arm router working in STA
mode.
The format of protocol:
1) Query
Table 9 Query Command
No.
Name
Bytes
Description
1
Head
1
fixed value: 0xFF
2
Length
2
The sum of bytes from Length (not
include) to Check word (not
included)
3
Command byte
1
type of command, 0x01: query
4
Check word
1
the sum of the bytes from Head
(not included) to Check word (not
included)