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
98
CONN-GUIDE-BT740_v0.2
8.16.6 Factory Default
This command clears non-volatile memory in the module so that it reverts to factory default state.
The FLAGS field is a bit mask which selectively clears various types of non-volatile memory and should
be set to FF.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_FACTORYDEFAULT]
3
FLOW_IN
??
Runtime value
5
FLAGS
8 bit mask
See notes below
0xFF to delete all groups,
present and future
Response Packet
Offset
Field
Value
Comments
0
LENGTH
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_FACTORYDEFAULT]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
Note: Non-volatile information in the module is divided into various subgroups and the FLAGS bits
allow selective resetting to factory state for those subgroups. The bits are allocated as follows:
Bit 0 : S registers
Bit 1 : Local Friendly Name
Bit 2 : HID Device Descriptos
Bit 3 : Reserved Always set to 1
Bit 4 : Reserved Always set to 1
Bit 5 : Reserved Always set to 1
Bit 6 : Link Keys
Bit 7 : Special S registers (240 to 255 in the multipoint space)