Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ble_central_bondmngr.h Source File

ble_central_bondmngr.h

00001 #ifndef __BLE_CENTRAL_BONDMNGR_H_
00002 #define __BLE_CENTRAL_BONDMNGR_H_
00003 
00004 #include "ble.h"
00005 #include "ble_gap.h"
00006 
00007 #include <stdint.h>
00008 #include <stdbool.h>
00009 
00010 typedef struct 
00011 {
00012     ble_gap_sec_params_t * p_sec_params;
00013 } ble_central_bondmngr_t;
00014 
00015 typedef struct
00016 {
00017     ble_gap_sec_params_t * p_sec_params;
00018     bool delete_bonds;
00019 } ble_central_bondmngr_init_t;
00020 
00021 uint32_t ble_central_bondmngr_init(ble_central_bondmngr_t * p_bm, ble_central_bondmngr_init_t * p_bm_init);
00022 void ble_central_bondmngr_on_ble_evt(ble_central_bondmngr_t * p_bm, ble_evt_t * p_ble_evt);
00023 uint32_t ble_central_bondmngr_store(ble_central_bondmngr_t * p_bm);
00024 
00025 #endif