mbed HRM11017を使ってkonashi.jsでナイトライダー

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_RCBController by Junichi Katsu

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 "nordic_global.h"
00005 #include "ble.h"
00006 #include "ble_gap.h"
00007 
00008 #include <stdint.h>
00009 #include <stdbool.h>
00010 
00011 typedef struct 
00012 {
00013     ble_gap_sec_params_t * p_sec_params;
00014 } ble_central_bondmngr_t;
00015 
00016 typedef struct
00017 {
00018     ble_gap_sec_params_t * p_sec_params;
00019     bool delete_bonds;
00020 } ble_central_bondmngr_init_t;
00021 
00022 uint32_t ble_central_bondmngr_init(ble_central_bondmngr_t * p_bm, ble_central_bondmngr_init_t * p_bm_init);
00023 void ble_central_bondmngr_on_ble_evt(ble_central_bondmngr_t * p_bm, ble_evt_t * p_ble_evt);
00024 uint32_t ble_central_bondmngr_store(ble_central_bondmngr_t * p_bm);
00025 
00026 #endif