
www.linksprite.com
35
/
50
flow control
:
none
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
:
Command from host to WLAN module
01
:
Message from WLAN module to host
10
:
Reserved
11
:
Reserved
SUBTYPE
:
000000b
:
Scan network
000001b
:
Connect to the network
000010b
:
Disconnect to the network
000011b
:
Set parameters