テスト用です。

Dependencies:   mbed

Committer:
jksoft
Date:
Tue Oct 11 11:09:42 2016 +0000
Revision:
0:8468a4403fea
SB??ver;

Who changed what in which revision?

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