HCI_EEPROM_READ Command and Event

Use the HCI_EEPROM_READ command to read back the data from the EEPROM location specified by the Start_Address parameter. The OCF is 0x29 and the HCI OpCode is 0xFC29. To verify, use the HCI_EEPROM_READ command to read back the EEPROM record after a HCI_EEPROM_WRITE command.

Data is returned in the command complete event:

Table 1. HCI_EEPROM_Read Command

Command

OCF

Command Parameters

Return Parameters

HCI_EEPROM_Read

0x29

Start_Address and Length

Status, Start_Address, Length and Data

Use the HCI_EEPROM_Read command to read the data from EEPROM.

Start_Address

Size – 2 bytes

Value

Parameter Description

0xXXXX

Start reading address

Length

Size – 1 byte

Value

Parameter Description

N

Indicates the length of the data to read (in bytes) from EEPROM.

N: 1-240

Status

Size – 1 byte

Value

Parameter Description

0x00

HCI_EEPROM_Read command succeeded

0x01-0xFF

HCI_EEPROM_Read command failed. See listing of Error Codes.

Start_Address

Size – 2 bytes

Value

Parameter Description

0xXXXX

Start reading address

Length Size – 1 byte
   

Data

Size – N bytes

Value

Parameter Description

 

N bytes of data read from EEPROM