Bluetooth LE common HAL callbacks. More...
#include <bt_if.h>
Public Attributes | |
int(* | setDevAddr )(BT_ADDR *addr, uint8_t type) |
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) |
int(* | setTxPower )(int8_t tx_power) |
int(* | setScanParam )(struct ble_scan_param_s *param) |
int(* | setConnParam )(struct ble_conn_param_s *param) |
Bluetooth LE common HAL callbacks.
int(* setDevAddr) (BT_ADDR *addr, uint8_t type) |
Set BLE device address and type
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
int(* setTxPower) (int8_t tx_power) |
Set Tx Power
int(* setScanParam) (struct ble_scan_param_s *param) |
Set scan parameter
int(* setConnParam) (struct ble_conn_param_s *param) |
Set connection parameter