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

Dependencies:   BLE_API_Native_IRC mbed

Fork of BLE_RCBController by Junichi Katsu

Embed: (wiki syntax)

« Back to documentation index

ble_bondmngr.h File Reference

ble_bondmngr.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_bondmngr_evt_t
 Bond Manager Module event. More...
struct  ble_bondmngr_init_t
 Bond Manager Module init structure. More...

Typedefs

typedef void(* ble_bondmngr_evt_handler_t )(ble_bondmngr_evt_t *p_evt)
 Bond Manager Module event handler type.

Enumerations

enum  ble_bondmngr_evt_type_t {
  BLE_BONDMNGR_EVT_NEW_BOND, BLE_BONDMNGR_EVT_CONN_TO_BONDED_CENTRAL, BLE_BONDMNGR_EVT_ENCRYPTED, BLE_BONDMNGR_EVT_AUTH_STATUS_UPDATED,
  BLE_BONDMNGR_EVT_BOND_FLASH_FULL
}
 

Bond Manager Module event type.

More...

Functions

uint32_t ble_bondmngr_init (ble_bondmngr_init_t *p_init)
 Function for initializing the Bond Manager.
void ble_bondmngr_on_ble_evt (ble_evt_t *p_ble_evt)
 Function for handling all events from the BLE stack that relate to this module.
uint32_t ble_bondmngr_bonded_centrals_store (void)
 Function for storing the bonded centrals data including bonding info and System Attributes into flash memory.
uint32_t ble_bondmngr_bonded_centrals_delete (void)
 Function for deleting the bonded central database from flash.
uint32_t ble_bondmngr_whitelist_get (ble_gap_whitelist_t *p_whitelist)
 Function for getting the whitelist containing all currently bonded centrals.
uint32_t ble_bondmngr_central_addr_get (int8_t central_handle, ble_gap_addr_t *p_central_addr)
 Function for getting the central's address corresponding to a given central_handle.
uint32_t ble_bondmngr_sys_attr_store (void)
 Function for storing the System Attributes of a newly connected central.
uint32_t ble_bondmngr_central_ids_get (uint16_t *p_central_ids, uint16_t *p_length)
 Function for fetching the identifiers of known centrals.
uint32_t ble_bondmngr_bonded_central_delete (uint16_t central_id)
 Function for deleting a single central from the database.
uint32_t ble_bondmngr_is_link_encrypted (bool *status)
 Function to verify encryption status link with bonded central is encrypted or not.

Detailed Description

Definition in file ble_bondmngr.h.