# BLE_ABSTRACTION Macro Definition Documentation

## BOND_INFO_BASE

#define BOND_INFO_BASE FLASH_BOND_INFO_BASE

Start address and size of the memory region where bond list is stored:

Location: bondlist.h:67

- BOND_INFO_BASE: 3KB from base of data flash array (the first 3KB of data flash array is reserved to ROM use)
- BOND_INFO_FLASH_SECTORS_COUNT: Defaulted to 8 sectors (2KB) Notes: if needed, user application can re-define BOND_INFO_BASE and BOND_INFO_FLASH_SECTORS_COUNT. Any increase to the number of sectors will also need to be updated in the linker script. Start of address for bond info

## BOND_INFO_SIZE

#define BOND_INFO_SIZE (72)

Each Bond takes up 72 Bytes of the FLASH.

Location: bondlist.h:74

## STATIC_ASSERT

#define STATIC_ASSERT typedef char static_assertion_failed_##MSG[(COND) ? 1 : -1]

Location: bondlist.h:76

## BONDLIST_MAX_SIZE

#define BONDLIST_MAX_SIZE (28)

Location: bondlist.h:85

## BOND_INFO_FLASH_SECTORS_COUNT

#define BOND_INFO_FLASH_SECTORS_COUNT ((BONDLIST_MAX_SIZE * BOND_INFO_SIZE) >> 8)

Location: bondlist.h:93

## BOND_INFO_STATE_INVALID

#define BOND_INFO_STATE_INVALID 0x00

Invalid bond info state.

Location: bondlist.h:98

## BOND_INFO_STATE_EMPTY

#define BOND_INFO_STATE_EMPTY 0xFFFF

Empty bond info state.

Location: bondlist.h:101

## BOND_INFO_STATE_VALID

#define BOND_INFO_STATE_VALID ((state != BOND_INFO_STATE_INVALID) && \ (state != BOND_INFO_STATE_EMPTY) && \ (state <= BONDLIST_MAX_SIZE))

Macro for valid bond info state.

Location: bondlist.h:104