Developer World
Spresense SDK Library v3.3.0-375c679
ble_common_ops_s Struct Reference

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)
 

Detailed Description

Bluetooth LE Common application callbacks.

Member Data Documentation

◆ connect_status_changed

void(* connect_status_changed) (struct ble_state_s *ble_state, bool connected, uint8_t status)

Connection status change

◆ connected_device_name_resp

void(* connected_device_name_resp) (const char *name)

Device name change Result callback for scan

◆ mtusize

void(* mtusize) (uint16_t handle, uint16_t sz)

MTU size callback

◆ save_bondinfo

void(* save_bondinfo) (int num, struct ble_bondinfo_s *bond)

Save bonding information callback

◆ load_bondinfo

int(* load_bondinfo) (int num, struct ble_bondinfo_s *bond)

Load bonding information callback

◆ encryption_result

void(* encryption_result) (uint16_t conn_handle, bool result)

encryption result callback


The documentation for this struct was generated from the following file: