Bluetooth LE common HAL callbacks. More...
#include <bt_if.h>
Public Attributes | |
int(* | setDevAddr )(BT_ADDR *addr) |
int(* | setDevName )(char *name) |
int(* | setAppearance )(BLE_APPEARANCE appearance) |
int(* | setPPCP )(BLE_CONN_PARAMS ppcp) |
int(* | advertise )(bool enable) |
int(* | startScan )(bool duplicate_filter) |
int(* | stopScan )(void) |
int(* | connect )(uint8_t addr_type, const BT_ADDR *addr) |
int(* | disconnect )(const uint16_t conn_handle) |
int(* | pairing )(uint16_t conn_handle) |
uint16_t(* | setMtuSize )(uint16_t sz) |
uint16_t(* | getMtuSize )(void) |
int(* | getNegotiatedMtuSize )(uint16_t handle) |
Bluetooth LE common HAL callbacks.
int(* setDevAddr) (BT_ADDR *addr) |
Set BLE device address
int(* setDevName) (char *name) |
Set BLE device name
int(* setAppearance) (BLE_APPEARANCE appearance) |
Set BLE appearance ID BLE_APPEARANCE
int(* setPPCP) (BLE_CONN_PARAMS ppcp) |
Set PPCP connection parameter
int(* advertise) (bool enable) |
Advertisement start/stop
int(* startScan) (bool duplicate_filter) |
Start scan
int(* stopScan) (void) |
Stop scan
int(* connect) (uint8_t addr_type, const BT_ADDR *addr) |
Create a connection
int(* disconnect) (const uint16_t conn_handle) |
Destroy a connection
int(* pairing) (uint16_t conn_handle) |
Execute pairing
uint16_t(* setMtuSize) (uint16_t sz) |
Set MTU size
uint16_t(* getMtuSize) (void) |
Get MTU size
int(* getNegotiatedMtuSize) (uint16_t handle) |
Get negotiated MTU size