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
92
CONN-GUIDE-BT740_v0.2
Command Packet
Offset
Field
Value
Comments
10..25
KEY[16]
16 byte Link Key
Any random value
26..29
FLAGS[4]
00 00 00 00
For future use and MUST be
set to 00000000
Response Packet
Offset
Field
Value
Comments
0
LENGTH
11
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_ TRUSTED_DB_ADD]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
The STATUS value is MPSTATUS_OK if the device was successfully added to the database.
If the device Bluetooth address is already in the trusted device database, then the old one is deleted and
is replaced by this new one.
8.16 Miscellaneous Commands
8.16.1 Get Security Mode
This command gets the current security mode of the module. Bluetooth v2.1 and newer devices cannot
disable security therefore only values 12 to 15 inclusive are valid. These values specify Simple Secure
Pairing with appropriate I/O capabilities.
Specifying a value of 0xFF means leave the mode as it is, but inform the host with regards to current
mode.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_SECURITY_MODE]
3
FLOW_IN
??
Runtime value
4
SECMODE
0xFF
0xFF = Get current mode
Response Packet
Offset
Field
Value
Comments
0
LENGTH
6
Fixed
1
CHANNEL
0
Fixed