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
96
CONN-GUIDE-BT740_v0.2
Command Packet
Offset
Field
Value
Comments
0
LENGTH
37
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_SET_LCL_FNAME]
3
FLOW_IN
??
Runtime value
4
FLAGS
1..2
1 = Write to non-vol store for use on next
power up
2 = Make the name visible now
5
NAMELEN
1..30
6..36
NAME[31]
Null terminated string
Not more than 30 characters
Response Packet
Offset
Field
Value
Comments
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_SET_LCL_FNAME]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
8.16.5 Set Device Class
This command sets the device class code so that the base band makes it visible immediately. This is
opposed to setting it via S Register 120 which only expedites on power up.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
7
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_SET_DEVCLASS]
3
FLOW_IN
??
Runtime value
4..6
DEVCLASS[3]
New 24 bit device class
MSB of device class is at offset 4
Response Packet
Offset
Field
Value
Comments
0
LENGTH
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_SET_DEVCLASS]
3
FLOW_OUT
??
Runtime value