10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_HFP_HF_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_HFP_HF_H_
35#define HFP_HF_CMD_OK 0
36#define HFP_HF_CMD_ERROR 1
37#define HFP_HF_CMD_CME_ERROR 2
38#define HFP_HF_CMD_UNKNOWN_ERROR 4
Bluetooth subsystem core APIs.
int bt_hfp_hf_register(struct bt_hfp_hf_cb *cb)
Register HFP HF profile.
int bt_hfp_hf_send_cmd(struct bt_conn *conn, enum bt_hfp_hf_at_cmd cmd)
Handsfree client Send AT.
bt_hfp_hf_at_cmd
Definition hfp_hf.h:27
@ BT_HFP_HF_AT_CHUP
Definition hfp_hf.h:29
@ BT_HFP_HF_ATA
Definition hfp_hf.h:28
static void cmd(uint32_t command)
Execute a display list command by co-processor engine.
Definition ft8xx_reference_api.h:153
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
HFP profile application callback.
Definition hfp_hf.h:49
void(* disconnected)(struct bt_conn *conn)
HF disconnected callback to application.
Definition hfp_hf.h:66
void(* call_setup)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:108
void(* call)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:100
void(* sco_disconnected)(struct bt_conn *sco_conn, uint8_t reason)
HF SCO/eSCO disconnected Callback.
Definition hfp_hf.h:84
void(* signal)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:124
void(* ring_indication)(struct bt_conn *conn)
HF incoming call Ring indication callback to application.
Definition hfp_hf.h:148
void(* battery)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:140
void(* service)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:92
void(* connected)(struct bt_conn *conn)
HF connected callback to application.
Definition hfp_hf.h:57
void(* cmd_complete_cb)(struct bt_conn *conn, struct bt_hfp_hf_cmd_complete *cmd)
HF notify command completed callback to application.
Definition hfp_hf.h:156
void(* call_held)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:116
void(* sco_connected)(struct bt_conn *conn, struct bt_conn *sco_conn)
HF SCO/eSCO connected Callback.
Definition hfp_hf.h:75
void(* roam)(struct bt_conn *conn, uint32_t value)
HF indicator Callback.
Definition hfp_hf.h:132
HFP HF Command completion field.
Definition hfp_hf.h:41
uint8_t type
Definition hfp_hf.h:43
uint8_t cme
Definition hfp_hf.h:45