3.1 HCI_Reset Command and Event
Use the HCI_Reset
command to enable the EEPROM operation. The OGF is 0x03 and
the OCF is 0x03, so the HCI OpCode is 0x0C03. For more details, refer to the Bluetooth Core Specification v5.2.
Command | OCF | Command Parameters | Return Parameters |
---|---|---|---|
HCI_Reset | 0x0003 | Status |
- Example data – The
HCI_Reset
command- 0x01 – HCI command packet
- 0x03 0x0C – OpCode 0x0C03 is sent in little endian as 0x03 and 0x0C
- 0x00 – The
HCI_Reset
packet has no parameter, so the length field is set to 0x00
- Example data – The event to
HCI_Reset
- 0x04 – HCI event packet
- 0x0E – Command complete event of HCI event
- 0x04 – Total 4 bytes of parameter appended
- 0x01 0x03 0x0C – The processed HCI command
- 0x00 – Indicate a success