Old version

Dependents:   VNG_BLE_Basic

Fork of nRF51822 by Nordic Semiconductor

Committer:
Rohit Grover
Date:
Mon Jul 07 13:43:31 2014 +0100
Revision:
37:c29c330d942c
Parent:
0:eff01767de02
changes required to upgrade to V7 of the soft-device

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 0:eff01767de02 1 #ifndef __BLE_CENTRAL_BONDMNGR_H_
bogdanm 0:eff01767de02 2 #define __BLE_CENTRAL_BONDMNGR_H_
bogdanm 0:eff01767de02 3
bogdanm 0:eff01767de02 4 #include "ble.h"
bogdanm 0:eff01767de02 5 #include "ble_gap.h"
bogdanm 0:eff01767de02 6
bogdanm 0:eff01767de02 7 #include <stdint.h>
bogdanm 0:eff01767de02 8 #include <stdbool.h>
bogdanm 0:eff01767de02 9
bogdanm 0:eff01767de02 10 typedef struct
bogdanm 0:eff01767de02 11 {
bogdanm 0:eff01767de02 12 ble_gap_sec_params_t * p_sec_params;
bogdanm 0:eff01767de02 13 } ble_central_bondmngr_t;
bogdanm 0:eff01767de02 14
bogdanm 0:eff01767de02 15 typedef struct
bogdanm 0:eff01767de02 16 {
bogdanm 0:eff01767de02 17 ble_gap_sec_params_t * p_sec_params;
bogdanm 0:eff01767de02 18 bool delete_bonds;
bogdanm 0:eff01767de02 19 } ble_central_bondmngr_init_t;
bogdanm 0:eff01767de02 20
bogdanm 0:eff01767de02 21 uint32_t ble_central_bondmngr_init(ble_central_bondmngr_t * p_bm, ble_central_bondmngr_init_t * p_bm_init);
bogdanm 0:eff01767de02 22 void ble_central_bondmngr_on_ble_evt(ble_central_bondmngr_t * p_bm, ble_evt_t * p_ble_evt);
bogdanm 0:eff01767de02 23 uint32_t ble_central_bondmngr_store(ble_central_bondmngr_t * p_bm);
bogdanm 0:eff01767de02 24
bogdanm 0:eff01767de02 25 #endif