BLE_ABSTRACTION
Summary
Data Structures
- BondInfo_t : Bond Information.
Macros
- BOND_INFO_BASE : Start address and size of the memory region where bond list is stored:
- BOND_INFO_FLASH_SECTORS_COUNT : Number of sectors for bond info.
- BONDLIST_MAX_SIZE : The maximum number of bond information records that can be stored in the memory region that is reserved for the bondlist (Default is 2KB -> 8 sectors -> ~28 records)
- BOND_INFO_STATE_INVALID : Invalid bond info state.
- BOND_INFO_STATE_EMPTY : Empty bond info state.
- BOND_INFO_STATE_VALID : Macro for valid bond info state.
Functions
- BondList_Size : Bondlist functions.
- BondList_GetIRKs : Get the IRKs from bond lists.
- BondList_FindByIRK : Search for the bond information matching specified IRK in flash.
- BondList_FindByAddr : Search for the bonding information for a peer device in flash matching specified address and address type.
- BondList_FlashDefrag : Squeeze bond information together to make space for a new entry.
- BondList_Add : Add bond information to the bond list.
- BondList_Remove : Remove a bond list entry matching the specified index.
- BondList_RemoveAll : Erase bond list sectors containing bond list information in flash.