
WIFI-LPT100-B User Manual
23
/
60
1
Head
1
Fixed: 0xFF
2
Length
2
Sum of bytes from Length (not included)
to Check word (not included)
3
Command
word
1
0x02
4
Reserved
1
0x00
5
SSID
SSID of router
6
Delimiter
2
0x0D, 0x0A
7
Password
Password of router
8
Check word
1
the sum of the bytes from Head (not
included) to Check word (not included)
4) Response of Set command
Table 12 Response of Set Command
No.
Name
Bytes
Description
1
Head
1
0xFF
2
Length
1
The sum of the bytes from Length (not
included) to Check word (not include)
3
Command
word
1
0x82
4
Checksum
1
Checksum of SSID. If the SSID is available,
the Network value will be 0x01, otherwise, it
will be 0x00
5
Checksum
1
Checksum of Password. If the format of
password is correct, the value will be 0x01,
otherwise it will be 0x00
6
Check word
1
the sum of the bytes from Head (not
included) to Check word (not included)
Examples:
Phone to Module (HEX): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35 36 CE
Module back to Phone (HEX): FF 00 03 82 01 01 87
Description: The phone sends setting command to module: set the SSID to
“TEST1”,
password to “123456”. Then the module response that: The network which SSID is
“TEST1” is exist, and the format of password is correct.
4.5 Mechanisms of Heartbeat Packet
In transparent mode, user can set the module to send Heartbeat packet to
Network server or the serial port.
To network server: To keep connecting to server, and make sure the module
could check whether the connection is available when it keeps idle for a long time