User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
119
CONN-GUIDE-BT740_v0.2
9.2.2 Status
This event asynchronously sends current status to the host. This event is sent to the host after power up
to inform the host that the module is ready and operational. You can also obtain the information contained
in this message by sending the CMD_GET_MODES command.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
8
1
CHANNEL
0
2
EVENT
[EVT_ STATUS]
3
FLOW_OUT
??
Runtime value
4
STATUS
OK or
INVALID_LICENSE
5
DISCMODE
0..1
1 for discoverable mode
6
CONNMODE
0..1
Bit 0: 1 for connectable mode
In future bit 1, if set, may indicate that incoming
SPP connections are auto accepted
7
SECMODE
12..15
12 = SSP + IO_CAP_NO_INPUT_NO_OUTPUT
13 = SSP + IO_CAP_DISPLAY_YES_NO
14 = SSP + IO_CAP_KEYBOARD_ONLY
15 = SSP + IO_CAP_DISPLAY_ONLY
9.2.3 Invalid Packet Size
This event informs the host that a command packet was received whose length does not match the size
of the structure published in the interface header file BmHostProtocol.h.
Event Packet
Offset
Field
Value
Comments
0
LENGTH
7
1
CHANNEL
0
2
EVENT
[EVT_INVALID_PKTSIZE]
3
FLOW_OUT
??
Runtime value
4
CMD_ID
1..127
Echoed from the command
5
ACT_SIZE
A
Actual size of the packet
6
DES_SIZE
D
Desired size of the packet