Developer World
Spresense SDK Library v3.2.0-ebc0364
bt_hal_common_ops_s Struct Reference

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)
 

Detailed Description

Bluetooth Common HAL callbacks.

Member Data Documentation

◆ init

int(* init) (void)

HAL initialization

◆ finalize

int(* finalize) (void)

HAL finalization

◆ enable

int(* enable) (bool enable)

Turn ON/OFF

◆ setDevAddr

int(* setDevAddr) (BT_ADDR *addr)

Set device address

◆ getDevAddr

int(* getDevAddr) (BT_ADDR *addr)

Get current device address

◆ setDevName

int(* setDevName) (char *name)

Set device name

◆ getDevName

int(* getDevName) (char *name)

Get current device name

◆ paringEnable

int(* paringEnable) (bool enable)

Set pairing mode enable/disable

◆ getBondList

int(* getBondList) (BT_ADDR *addrs, int *num)

Get bonding list

◆ unBond

int(* unBond) (BT_ADDR *addr)

Un-bond device

◆ setVisibility

int(* setVisibility) (BT_VISIBILITY visibility)

Set visibility

◆ inquiryStart

int(* inquiryStart) (void)

Start inquiry

◆ inquiryCancel

int(* inquiryCancel) (void)

Cancel inquiry


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