11.2.1 Command Format – BM70/71 Module to Host MCU
Start | Event Code | Length | Data | |
---|---|---|---|---|
Byte Number | 0 | 1 | 2 | 3-13 |
Value | 0x04 | 0x03 | 0x0B | See the following table |
Byte Number | Value | Parameter Description | Length |
---|---|---|---|
3 | 0xXX | Disconnect status 0x00 – Connection created 0x01-0xFF – See error codes from Error Code Table Reference | 1 byte |
4-5 | 0x0FFF | Connection handle that was created for connection. For programming, this handle value is 0x0FFF. | 2 bytes |
6-11 | 0xXXXXXXXXXXXX | Bluetooth address For creating a connection with the BM70/71 module, this is set to all zeros. | 6 bytes 0x00 00 00 00 00 00 |
12 | 0xXX | Link type: 0x00 – SCO 0x01 – ACL | 1 byte 0x01 |
13 | 0xXX | Encryption mode 0x00 – Disable 0x01 – Enable | 1 byte |