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.
Start_Address
– Indicates the
start address of the EEPROM record and takes 2 bytes
Command |
OCF |
Command Parameters |
Return Parameters |
---|---|---|---|
|
0x27 |
|
Status |
Use the |
|||
|
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 |
|
||
0x01-0xFF | HCI_EEPROM_Write command failed |
HCI_EEPROM_WRITE
commandStart_Address
of the EEPROM recordHCI_EEPROM_WRITE
CommandHCI_EEPROM_WRITE
commandHCI_EEPROM_WRITE
Command