Bluetooth LE Common application callbacks. More...
#include <bt_common.h>
Public Attributes | |
void(* | connect_status_changed )(struct ble_state_s *ble_state, bool connected, uint8_t status) |
void(* | connected_device_name_resp )(const char *name) |
void(* | scan_result )(BT_ADDR addr, uint8_t *data, uint8_t len) |
void(* | mtusize )(uint16_t handle, uint16_t sz) |
void(* | save_bondinfo )(int num, struct ble_bondinfo_s *bond) |
int(* | load_bondinfo )(int num, struct ble_bondinfo_s *bond) |
void(* | encryption_result )(uint16_t conn_handle, bool result) |
Bluetooth LE Common application callbacks.
void(* connect_status_changed) (struct ble_state_s *ble_state, bool connected, uint8_t status) |
Connection status change
void(* connected_device_name_resp) (const char *name) |
Device name change Result callback for scan
void(* mtusize) (uint16_t handle, uint16_t sz) |
MTU size callback
void(* save_bondinfo) (int num, struct ble_bondinfo_s *bond) |
Save bonding information callback
int(* load_bondinfo) (int num, struct ble_bondinfo_s *bond) |
Load bonding information callback
void(* encryption_result) (uint16_t conn_handle, bool result) |
encryption result callback