HCI_EEPROM_WRITE Command and Event

Use the HCI_EEPROM_WRITE command to write data into the EEPROM location specified by the Start_Address parameter. The OCF is 0x27 and the HCI OpCode is 0xFC27.

Table 1. HCI_EEPROM_Write Command

Command

OCF

Command Parameters

Return Parameters

HCI_EEPROM_WRITE

0x27

Start_Address, Length and Data

Status

Use the HCI_EEPROM_Write command to write the data into EEPROM.

Start_Address

Size – 2 bytes

Value

Parameter Description

0xXXXX

Start writing address

Length

Size – 1 byte

Value

Parameter Description

N

Length of the data written into EEPROM

N: 1-240

Data

Size – N byte

Value

Parameter Description

 

N bytes of the data written to EEPROM

N: 1-240

Status

Size – 1 byte

Value

Parameter Description

0x00

HCI_EEPROM_Write command succeeded

0x01-0xFF HCI_EEPROM_Write command failed