43#ifndef __MODULES_INCLUDE_BLUETOOTH_BT_HFP_H
44#define __MODULES_INCLUDE_BLUETOOTH_BT_HFP_H
Bluetooth common header for SDK on Spresense.
BT_CMD_STATUS
BT hci command status.
Definition: bluetooth.h:189
BT_CONNECT_STATUS
BT profile connection status.
Definition: bt_common.h:124
int bt_hfp_disconnect(struct bt_acl_state_s *bt_acl_state)
Bluetooth HFP disconnect Disconnect to peer device with HFP.
int bt_hfp_set_feature(BT_HFP_HF_FEATURE_FLAG flag)
Bluetooth set feature Set feature.
int bt_hfp_audio_connect(struct bt_acl_state_s *bt_acl_state)
Bluetooth HFP Audio connect Connect to peer device with HFP Audio.
bool bt_hfp_is_supported(void)
Get HFP support or not support.
int bt_hfp_press_button(struct bt_acl_state_s *bt_acl_state)
Bluetooth press button Press button.
int bt_hfp_send_at_command(struct bt_acl_state_s *bt_acl_state, char *at_cmd_str)
Bluetooth send HFP command Send HFP command.
int bt_hfp_audio_disconnect(struct bt_acl_state_s *bt_acl_state)
Bluetooth HFP Audio disconnect Disconnect to peer device with HFP Audio.
int bt_hfp_register_cb(struct bt_hfp_ops_s *bt_hfp_ops)
Bluetooth HFP Register callbacks Set callback about HFP.
int bt_hfp_connect(struct bt_acl_state_s *bt_acl_state)
Bluetooth HFP connect Connect to peer device with HFP.
Bluetooth HFP common header for SDK on Spresense.
BT_PROFILE_TYPE
BT HFP profile type.
Definition: bt_hfp_features.h:65
BT_HFP_HF_FEATURE_FLAG
HFP HF device supported feature flags.
Definition: bt_hfp_features.h:75
BT_HFP_AG_FEATURE_FLAG
HFP AG device supported feature flags.
Definition: bt_hfp_features.h:94
Bluetooth ACL context.
Definition: bt_common.h:152
Bluetooth HFP HAL callbacks.
Definition: bt_if.h:115
Bluetooth HFP application callbacks.
Definition: bt_hfp.h:64
void(* disconnect)(struct bt_acl_state_s *bt_acl_state)
Definition: bt_hfp.h:67
void(* hf_at_response)(struct bt_acl_state_s *bt_acl_state, char *at_resp)
Definition: bt_hfp.h:71
void(* command_status)(BT_CMD_STATUS status)
Definition: bt_hfp.h:65
void(* audio_connect)(struct bt_acl_state_s *bt_acl_state)
Definition: bt_hfp.h:68
void(* audio_disconnect)(struct bt_acl_state_s *bt_acl_state)
Definition: bt_hfp.h:69
void(* connect)(struct bt_acl_state_s *bt_acl_state, BT_PROFILE_TYPE btProfileType)
Definition: bt_hfp.h:66
void(* ag_feature)(struct bt_acl_state_s *bt_acl_state, BT_HFP_AG_FEATURE_FLAG feature)
Definition: bt_hfp.h:70
Bluetooth HFP context.
Definition: bt_hfp.h:79
struct bt_acl_state_s * bt_acl_state
Definition: bt_hfp.h:84
BT_CONNECT_STATUS bt_hfp_audio_connection
Definition: bt_hfp.h:81
BT_HFP_HF_FEATURE_FLAG bt_hfp_supported_feature
Definition: bt_hfp.h:87
BT_CONNECT_STATUS bt_hfp_connection
Definition: bt_hfp.h:80
struct bt_hal_hfp_ops_s * bt_hal_hfp_ops
Definition: bt_hfp.h:85
uint16_t bt_hfp_audio_handle
Definition: bt_hfp.h:83
uint16_t bt_hfp_handle
Definition: bt_hfp.h:82
struct bt_hfp_ops_s * bt_hfp_ops
Definition: bt_hfp.h:86