![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/0/ca/0cae29db-a0a3-4b47-a54d-5384a59d1fda/0cae29db-a0a3-4b47-a54d-5384a59d1fda-bg44.png)
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 68
Copyright 2004-2005 © Embedded Artists AB
B.9 EEPROM API
B.9.1 eepromPageRead
tS8 eepromPageRead( tU16 addr, tU8* pBuf, tU16 len )
Read data from the eeprom.
Parameters:
[in] addr – the address to read from
[in] pBuf – the read data is stored in this buffer
[in] len – number of bytes to read
Returns:
I2C_CODE_OK – the function completed successfully
I2C_CODE_ERROR – an error occurred
B.9.2 eepromWrite
tS8 eepromWrite( tU16 addr, tU8* pData, tU16 len )
Read data from the eeprom.
Parameters:
[in] addr – the address to write to
[in] pData – the data to write
[in] len – number of bytes to write
Returns:
I2C_CODE_OK – the function completed successfully
I2C_CODE_ERROR – an error occurred
B.9.3 eepromPoll
tS8 eepromPoll( void )
Waits till I2C returns ACK (after BURN cycle)
Returns:
I2C_CODE_OK – the function completed successfully
I2C_CODE_ERROR – an error occurred