modified locally to use with HRM1017

Dependents:   BLE_HTM_HRM1017

Fork of nRF51822 by Nordic Semiconductor

Committer:
bogdanm
Date:
Wed Mar 26 14:38:17 2014 +0000
Revision:
0:eff01767de02
Child:
37:c29c330d942c
Initial import of the nRF51822 code

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 "nordic_global.h"
bogdanm 0:eff01767de02 5 #include "ble.h"
bogdanm 0:eff01767de02 6 #include "ble_gap.h"
bogdanm 0:eff01767de02 7
bogdanm 0:eff01767de02 8 #include <stdint.h>
bogdanm 0:eff01767de02 9 #include <stdbool.h>
bogdanm 0:eff01767de02 10
bogdanm 0:eff01767de02 11 typedef struct
bogdanm 0:eff01767de02 12 {
bogdanm 0:eff01767de02 13 ble_gap_sec_params_t * p_sec_params;
bogdanm 0:eff01767de02 14 } ble_central_bondmngr_t;
bogdanm 0:eff01767de02 15
bogdanm 0:eff01767de02 16 typedef struct
bogdanm 0:eff01767de02 17 {
bogdanm 0:eff01767de02 18 ble_gap_sec_params_t * p_sec_params;
bogdanm 0:eff01767de02 19 bool delete_bonds;
bogdanm 0:eff01767de02 20 } ble_central_bondmngr_init_t;
bogdanm 0:eff01767de02 21
bogdanm 0:eff01767de02 22 uint32_t ble_central_bondmngr_init(ble_central_bondmngr_t * p_bm, ble_central_bondmngr_init_t * p_bm_init);
bogdanm 0:eff01767de02 23 void ble_central_bondmngr_on_ble_evt(ble_central_bondmngr_t * p_bm, ble_evt_t * p_ble_evt);
bogdanm 0:eff01767de02 24 uint32_t ble_central_bondmngr_store(ble_central_bondmngr_t * p_bm);
bogdanm 0:eff01767de02 25
bogdanm 0:eff01767de02 26 #endif