3.2 HCI_EEPROM_WRITE_NUMBER Command and Event
Use the HCI_EEPROM_WRITE_NUMBER
command to specify the size of the EEPROM write
operation. The OCF is 0x2D and the HCI OpCode is 0xFC2D.
Page_Write_Number
– For the BM78 module, thePage_Write_Number
parameter is fixed as 0x08 and takes 1 byte.
Command |
OCF |
Command Parameters |
Return Parameters |
---|---|---|---|
|
0x2D |
|
Status |
Use the | |||
|
Size – 1 byte | ||
Value |
Parameter Description | ||
0xXX |
For the BM78 module, the supported number of EEPROM page write Atmel – 8 bytes ISSI – 16 bytes A-plus – 8 bytes | ||
Status |
Size – 1 byte | ||
Value |
Parameter Description | ||
0x00 |
| ||
0x01-0xFF |
|
- Example data – The
HCI_EEPROM_WRITE_NUMBER
command- 0x01 – HCI command packet
- 0x2D 0xFC – OpCode 0xFC2D is sent in a little endian as 0x2D 0xFC
- 0x01 – The parameter length
- 0x08 – The write number is 0x08 for the BM78 module
- Example data – Event to the
HCI_EEPROM_WRITE_NUMBER
command- 0x04 – HCI event packet
- 0x0E – Command complete event of HCI event
- 0x04 – Total 4 bytes of parameter appended
- 0x01 0x2D 0xFC – The processed HCI command
- 0x00 – Indicate a success