4 Command Protocols

To program the values into the configuration parameters memory space or Flash a new firmware revision into the Flash, the user needs to follow the command protocol described in the following sub-sections. The command protocol is partly based on the HCI command protocol available in the Bluetooth core specification. For more details on command protocol, refer to the Bluetooth Core Specification (4.2), volume 2, Part E, Host Controller Interface Functional Specification and volume 4, Part A, UART Transport Layer.

The BM70/71 module uses some of the HCI packet protocol for programming the device. In addition to the HCI commands, the BM70/71 module also implements the reserved Opcode Group Field (OGF) value (0x3F) for vendor-specific debug commands. For more details on vendor-specific debug commands, refer to the Bluetooth Core Specification (4.2), volume 2, part E, section 5, HCI Data Formats, within the HCI Command Packet.

In general, the commands and responses for memory programming of the BM70/71 module are classified into three categories:

  • HCI command packets
  • HCI-ISDAP Flash commands
  • HCI event responses