テスト用

Fork of nRF51822 by Nordic Semiconductor

Committer:
Rohit Grover
Date:
Fri Sep 26 14:46:19 2014 +0100
Revision:
69:936d81c963fe
Parent:
37:c29c330d942c
Release 0.2.1
=============

Features
~~~~~~~~

- Turn on the service-changed characteristic by default.

Bugfixes
~~~~~~~~

- Raised the maximum number of supported characteristics/descriptors to 24
(was 10 previously). We're beginning to find services like Device-
Information with several characteristics populated.

Compatibility
~~~~~~~~~~~~~

Works with 0.2.0 of BLE_API.

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