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
93
CONN-GUIDE-BT740_v0.2
Response Packet
Offset
Field
Value
Comments
2
COMMAND
[CMD_SECURITY_MODE]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
5
SECMODE
12..15
Current mode
12 = SSP with no input no
output
13 = SSP with yes/no display
14 = SSP with keyboard only
15 = SSP with Display only
1. SECMODE is now driven by the ‘Simple Secure Pairing’ procedure which got included in and after v2.1 of the Bluetooth
specification
2. For ‘SECMODE’ the ‘No I/O capability’ option is equivalent to ‘Just works’ scenario in Simple Secure pairing.
3. When this module interacts with a pre 2.1 device it is unconditionally forced into legacy pairing mode.
4. The reader should become familiar with the ‘Simple Secure Pairing’ concept introduced in and all subsequent version of
Bluetooth after v2.1. The best introduction is to Google the phrase “Bluetooth Simple Secure Pairing”.
5. The reader is also welcome to contact Laird for an informal discussion.
8.16.2 Get Remote Friendly Name
This command gets the friendly name of the specified peer device.
According to the Bluetooth specification, a friendly name can be up to 248 bytes long. Sending this name
in its entirety to the host could violate the max packet length capability of the host because memory
restrictions in the host or transmit buffers in the module may not be able to cope. Therefore, the
mechanism for getting the name to the host is via multiple event packets is EVT_REM_FNAME. The host
decides how many bytes of the name are passed up to it via these events from the offset it also specifies.
This implies that in a memory constraint environment, it is possible to relay the name to the host using
multiple commands.
For example, if the host has space for only 10 bytes and a peer happens to have a very long name, the
host can ask for 10 byte fragments of the name over multiple get name requests.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
13
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_GET_REM_FNAME]
3
FLOW_IN
??
Runtime value
4..9
BDADDR[]
Nap[0,1]:Uap[2]:Lap[3,4,5]
Bluetooth addr
10
TIMEOUT
2..120
Timeout in seconds
11
START
N
Offset into the friendly name
string
12
MAXBYTES
M
Maximum number of