Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
HFP profile application callback. More...
#include <hfp_hf.h>
Data Fields | |
void(* | connected )(struct bt_conn *conn) |
void(* | disconnected )(struct bt_conn *conn) |
void(* | service )(struct bt_conn *conn, uint32_t value) |
void(* | call )(struct bt_conn *conn, uint32_t value) |
void(* | call_setup )(struct bt_conn *conn, uint32_t value) |
void(* | call_held )(struct bt_conn *conn, uint32_t value) |
void(* | signal )(struct bt_conn *conn, uint32_t value) |
void(* | roam )(struct bt_conn *conn, uint32_t value) |
void(* | battery )(struct bt_conn *conn, uint32_t value) |
void(* | ring_indication )(struct bt_conn *conn) |
void(* | cmd_complete_cb )(struct bt_conn *conn, struct bt_hfp_hf_cmd_complete *cmd) |
HFP profile application callback.
HF indicator Callback
This callback battery service indicator value to the application
conn | Connection object. |
value | battery indicator value received from the AG. |
HF indicator Callback
This callback provides call indicator value to the application
conn | Connection object. |
value | call indicator value received from the AG. |
HF indicator Callback
This callback provides call held indicator value to the application
conn | Connection object. |
value | call held indicator value received from the AG. |
HF indicator Callback
This callback provides call setup indicator value to the application
conn | Connection object. |
value | call setup indicator value received from the AG. |
void(* bt_hfp_hf_cb::cmd_complete_cb) (struct bt_conn *conn, struct bt_hfp_hf_cmd_complete *cmd) |
HF notify command completed callback to application
The command sent from the application is notified about its status
conn | Connection object. |
cmd | structure contains status of the command including cme. |
void(* bt_hfp_hf_cb::connected) (struct bt_conn *conn) |
HF connected callback to application
If this callback is provided it will be called whenever the connection completes.
conn | Connection object. |
void(* bt_hfp_hf_cb::disconnected) (struct bt_conn *conn) |
HF disconnected callback to application
If this callback is provided it will be called whenever the connection gets disconnected, including when a connection gets rejected or cancelled or any error in SLC establisment.
conn | Connection object. |
void(* bt_hfp_hf_cb::ring_indication) (struct bt_conn *conn) |
HF incoming call Ring indication callback to application
If this callback is provided it will be called whenever there is an incoming call.
conn | Connection object. |
HF indicator Callback
This callback provides roaming indicator value to the application
conn | Connection object. |
value | roaming indicator value received from the AG. |
HF indicator Callback
This callback provides service indicator value to the application
conn | Connection object. |
value | service indicator value received from the AG. |
HF indicator Callback
This callback provides signal indicator value to the application
conn | Connection object. |
value | signal indicator value received from the AG. |