www.linksprite.com
flow control
n one
:
4.3. User Serial Control Protocol
4.3.1. Data Format
This protocol is used to define the format of the control data transmitted through UART user
serial port. Control data includes the following two types, COMMAND and MESSAGE.
COMMAND: The receiver must execute the command it receives. In this system, command
can only be originated by a host computer.
MESSAGE: It defines the message that the sender wants to send to the receiver. The sender
does not need ACK from the receiver.
The definition of data format is as following.
TYPE
:
00
:
C ommand from host to WLAN module
01
M essage from WLAN module to host
:
10
R eserved
:
11
:
R eserved
SUBTYPE
:
000000b
:
S can network
000001b
C onnect to the network
:
000010b
D isconnect to the network
:
000011b
:
S et parameters
35 / 50