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.
Start_Address
– Indicates the
start address of the EEPROM record and takes 2 bytesData is returned in the command complete event:
Start_Address
– Indicates the
start address of the EEPROM record and takes 2 bytes
Command |
OCF |
Command Parameters |
Return Parameters |
---|---|---|---|
|
0x29 |
|
Status, |
Use the |
|||
|
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 |
|
||
0x01-0xFF |
|
||
|
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 |
HCI_EEPROM_READ
CommandHCI_EEPROM_READ
CommandHCI_EEPROM_
READ
commandStart_Address
of the EEPROM recordHCI_EEPROM_READ
Command