
A
RF32
User Guide
Ref. 08-07-V10-ltu
p 13
Operating modes
There are two main operating modes in the module : command mode and
transparent mode.
The command mode is used to set up the Bluetooth
®
link between two
pieces of Bluetooth
®
equipment.
The transparent mode is used to transfer data between two pieces of
Bluetooth
®
equipment.
Command mode
A specific protocol is used to send commands to the Bluetooth
®
module.
The frame format is the following :
All the values are in hexadecimal format.
Start
delimiter
Packet type Operation
code
Data
length
Check-
sum
Data End
delimiter
1 byte
1 byte
1 byte
2 bytes
1 byte
<data
length>
bytes
1 byte
Start delimiter: 02 (<STX>)
Packet type : 52 (‘R’ for request), 69 (‘i’ for indication), 43 (‘C’ for confirm)
Operation code : command dependent
Data length : size of data. First byte is the Least Significant Byte and
second byte is the Most Significant Byte
Checksum: Sum of all bytes from the packet type field to the data length
field
Data : command data
End delimite r: 03 (<ETX>)
Example of the inquiry command
Start
delimiter
Packet
type
Operation
code
Data
length
Check-
sum
Data End
delimiter
02
52
00
03 00
55
0A 00
00
03
Frame : 02 52 00 03 00 55 0A 00 00 03