The host MCU uses the create connection command (opcode – 0x0405) to create a connection with a remote device. With regards to memory programming, the host MCU uses this packet to establish a programming session with the BM70/71 module. The parameters in the packet are all set to zero, which indicates to the BM70/71 module that the host MCU is requesting a programming connection.
Command Format – Host MCU to BM70/71 Module
Table 9-6. Create Connection Command Format
Start
Opcode
Length
Data
Byte Number
0
1-2
3
4-16
Size (bytes)
1
2
1
13
Value
0x01
0x0405
0x0D
See the following table
Note: The opcode field for the HCI vendor command is formatted as LE. For the opcode (0x0C33), byte[1] is 0x33, byte[2] is 0x0C.
Table 9-7. Data Field Parameters
Byte Number
Value
Parameter Description
Length
4-9
0x00 0x00 0x00 0x00 0x00 0x00
Bluetooth address. The host MCU uses a value of zero to indicate about the BM70/71 module requesting a programming session.
6 bytes
10-11
0x0000
Packet type
2 bytes
12
0x00
Page Scan Repetition mode
1 byte
13
0x00
Reserved, must be set to zero
1 byte
14-15
0x0000
Clock offset
2 bytes
16
0x00
Role switch enable
1 byte
Figure 9-3. Message Sequence for Create Connection Command
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.