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

Bluetooth HFP HAL callbacks. More...

#include <bt_if.h>

Public Attributes

int(* connect )(BT_ADDR *addr, uint16_t handle, bool connect)
 
int(* audio_connect )(BT_ADDR *addr, uint16_t handle, bool connect)
 
int(* set_hf_feature )(BT_HFP_HF_FEATURE_FLAG hf_heature)
 
int(* send_at_command )(BT_ADDR *addr, char *at_str, uint16_t handle)
 
int(* press_button )(BT_ADDR *addr, uint16_t handle)
 

Detailed Description

Bluetooth HFP HAL callbacks.

Member Data Documentation

◆ connect

int(* connect) (BT_ADDR *addr, uint16_t handle, bool connect)

Connect/Disconnect HFP by BT_ADDR

◆ audio_connect

int(* audio_connect) (BT_ADDR *addr, uint16_t handle, bool connect)

Connect/Disconnect HFP audio by BT_ADDR

◆ set_hf_feature

int(* set_hf_feature) (BT_HFP_HF_FEATURE_FLAG hf_heature)

Setup HFP HF feature BT_HFP_HF_FEATURE_FLAG

◆ send_at_command

int(* send_at_command) (BT_ADDR *addr, char *at_str, uint16_t handle)

Send AT comand

◆ press_button

int(* press_button) (BT_ADDR *addr, uint16_t handle)

Send pressing button comand


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