3.4.1.3 Response Format (BM70/71 to Host)

The BM70/71 responds to the Read Buffer Size command with an HCI Command complete message (HCI Event Responses) with additional parameters appended to indicate the BM70/71 internal buffer sizes. These additional parameters indicate the packet length or buffer size, as well as the total number of buffers available in the BM70/71 device. The following figure illustrates the format, and the tables list the response for various values.

Figure 3-6. Read Buffer Size Event Response

Value of Parameter (3)

Parameter Description

Length – 1 Byte

0xXX

Number of HCI command packets which can be sent to the BM70/71 from the host

Value of Parameter (4...5)

Parameter Description

Length – 2 Bytes

0x1005

HCI command opcode which is processed by the BM70/71

Format is little endian

Value of Parameter (6)

Parameter Description

Length – 1 Byte

0xXX

0x00 - Success

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

Value of Parameter (7...8)

Parameter Description

Length – 2 Bytes

0xXXXX

HCI-ISDAP command packet length.

Maximum length, in bytes, of HCI-ISDAP command packet the BM70/71 can accept. The user must not send any total message size that exceeds this length.

Format is little endian

Value of Parameter (9)

Parameter Description

Length – 1 Byte

0xXX

Synchronous data packet length.

For the purposes of programming, the user can ignore this field.

Value of Parameter (10...11)

Parameter Description

Length – 2 Bytes

0xXXXX

Total number of HCI-ISDAP command packets.

This is the number buffers in the BM70/71 device.

Format is little endian

Value of Parameter (12...13)

Parameter Description

Length – 2 Bytes

0xXXXX

Total number of Synchronous Data packets.

For the purposes of programming, the user can ignore this field.

Format is little endian