EVE 1.0
BLE interface
Collaboration diagram for BLE interface:

Data Structures

struct  eve_svc_init_t
 

Macros

#define BLE_BOND_DB_SIZE   (0x08)
 
#define BLE_NO_BOND   (0xFF)
 

Functions

uint32_t eve_svc_init (const eve_svc_init_t *eve_svc_init)
 
void BleSetOobAuthKey (const ble_advdata_tk_value_t *AuthKey)
 
uint8_t BleGetBondId (void)
 
void BleDeleteBond (uint8_t BondId)
 
void BleDeleteAllBonds (void)
 
void BleWaitForFlashOpCompletion (void)
 

Detailed Description

Macro Definition Documentation

#define BLE_BOND_DB_SIZE   (0x08)

Number of entries in the internal bond database

Definition at line 62 of file ble.h.

#define BLE_NO_BOND   (0xFF)

Return code, indicates that a current connection is not with a bonded device

Definition at line 65 of file ble.h.

Function Documentation

uint32_t eve_svc_init ( const eve_svc_init_t eve_svc_init)

Function for initializing the EVE service manager.

Parameters
[in]eve_svc_initInformation needed to initialize the service.
Returns
NRF_SUCCESS on successful initialization of service, otherwise an error code.
void BleSetOobAuthKey ( const ble_advdata_tk_value_t *  AuthKey)

Set an out-of-band key to be used for the connection.

uint8_t BleGetBondId ( void  )

Get index of the current connection in an internal bond database

Returns
index in the internal bond database in range of [0...BLE_BOND_DB_SIZE) or BLE_NO_BOND if the connected device does not have a bond.
void BleDeleteBond ( uint8_t  BondId)

Delete a record from an internal bond database

Parameters
[in]BondIdIndex of the record in the database
void BleDeleteAllBonds ( void  )

Delete all records from an internal bond database

void BleWaitForFlashOpCompletion ( void  )

Synchronously wait for completion of pending flash write operations