3.6.2.1 Response Format (BM70/71 to Host)

The following figure and tables illustrate the format and information returned to the host.

Figure 3-22. Connection Complete Event Response Format

Value of Parameter (3)

Parameter Description

Length – 1 Byte

0xXX

Connection operation status

0x00 – Connection is created

0x01 ... 0xFF – For more details on error codes, see Error Code Table Reference.

Value of Parameter (4...5)

Parameter Description

Length – 2 Bytes

0x0FFF

Connection handle that is created for the connection.

For programming, this handle value must be set as 0x0FFF

Format is little endian

Value of Parameter (6..11)

Parameter Description

Length – 6 Bytes

0xXXXXXXXXXXXX

Bluetooth address

For creating connection with the BM70/71, this parameter is set to all zeros.

0x00 00 00 00 00 00

Value of Parameter (12)

Parameter Description

Length – 1 Byte

0xXX

Link type

0x00 – Synchronous Connection-Oriented (SCO)

0x01 – Asynchronous Connection-Less (ACL)

0x01

Value of Parameter (13)

Parameter Description

Length – 1 Byte

0xXX

Encryption mode

0x00 – Disable

0x01 – Enable