Old version

Dependents:   VNG_BLE_Basic

Fork of nRF51822 by Nordic Semiconductor

Committer:
longdh
Date:
Thu Jan 21 02:04:47 2016 +0000
Revision:
94:22533f51b97f
Parent:
0:eff01767de02
Child:
37:c29c330d942c
First commit

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