# 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_SIZE : Each Bond takes up 72 Bytes of the FLASH.
- STATIC_ASSERT
- BONDLIST_MAX_SIZE
- BOND_INFO_FLASH_SECTORS_COUNT
- 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

- STATIC_ASSERT
- 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.