Bluetooth Common HAL callbacks. More...
#include <bt_if.h>
Public Attributes | |
int(* | init )(void) |
int(* | finalize )(void) |
int(* | enable )(bool enable) |
int(* | setDevAddr )(BT_ADDR *addr) |
int(* | getDevAddr )(BT_ADDR *addr) |
int(* | setDevName )(char *name) |
int(* | getDevName )(char *name) |
int(* | paringEnable )(bool enable) |
int(* | getBondList )(BT_ADDR *addrs, int *num) |
int(* | unBond )(BT_ADDR *addr) |
int(* | setVisibility )(BT_VISIBILITY visibility) |
int(* | inquiryStart )(void) |
int(* | inquiryCancel )(void) |
Bluetooth Common HAL callbacks.
int(* init) (void) |
HAL initialization
int(* finalize) (void) |
HAL finalization
int(* enable) (bool enable) |
Turn ON/OFF
int(* setDevAddr) (BT_ADDR *addr) |
Set device address
int(* getDevAddr) (BT_ADDR *addr) |
Get current device address
int(* setDevName) (char *name) |
Set device name
int(* getDevName) (char *name) |
Get current device name
int(* paringEnable) (bool enable) |
Set pairing mode enable/disable
int(* getBondList) (BT_ADDR *addrs, int *num) |
Get bonding list
int(* unBond) (BT_ADDR *addr) |
Un-bond device
int(* setVisibility) (BT_VISIBILITY visibility) |
Set visibility
int(* inquiryStart) (void) |
Start inquiry
int(* inquiryCancel) (void) |
Cancel inquiry