| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Hands Free Profile (HFP) More...
Data Structures | |
| struct | bt_hfp_hf_cmd_complete | 
| HFP HF Command completion field.  More... | |
| struct | bt_hfp_hf_cb | 
| HFP profile application callback.  More... | |
Macros | |
| #define | HFP_HF_CMD_OK 0 | 
| #define | HFP_HF_CMD_ERROR 1 | 
| #define | HFP_HF_CMD_CME_ERROR 2 | 
| #define | HFP_HF_CMD_UNKNOWN_ERROR 4 | 
Enumerations | |
| enum | bt_hfp_hf_at_cmd { BT_HFP_HF_ATA , BT_HFP_HF_AT_CHUP } | 
Functions | |
| int | bt_hfp_hf_register (struct bt_hfp_hf_cb *cb) | 
| Register HFP HF profile.  More... | |
| int | bt_hfp_hf_send_cmd (struct bt_conn *conn, enum bt_hfp_hf_at_cmd cmd) | 
| Handsfree client Send AT.  More... | |
Hands Free Profile (HFP)
| #define HFP_HF_CMD_CME_ERROR 2 | 
#include <include/zephyr/bluetooth/hfp_hf.h>
| #define HFP_HF_CMD_ERROR 1 | 
#include <include/zephyr/bluetooth/hfp_hf.h>
| #define HFP_HF_CMD_OK 0 | 
#include <include/zephyr/bluetooth/hfp_hf.h>
| #define HFP_HF_CMD_UNKNOWN_ERROR 4 | 
#include <include/zephyr/bluetooth/hfp_hf.h>
| enum bt_hfp_hf_at_cmd | 
#include <include/zephyr/bluetooth/hfp_hf.h>
| Enumerator | |
|---|---|
| BT_HFP_HF_ATA | |
| BT_HFP_HF_AT_CHUP | |
| int bt_hfp_hf_register | ( | struct bt_hfp_hf_cb * | cb | ) | 
#include <include/zephyr/bluetooth/hfp_hf.h>
Register HFP HF profile.
Register Handsfree profile callbacks to monitor the state and get the required HFP details to display.
| cb | callback structure. | 
| int bt_hfp_hf_send_cmd | ( | struct bt_conn * | conn, | 
| enum bt_hfp_hf_at_cmd | cmd | ||
| ) | 
#include <include/zephyr/bluetooth/hfp_hf.h>
Handsfree client Send AT.
Send specific AT commands to handsfree client profile.
| conn | Connection object. | 
| cmd | AT command to be sent. |