Hands Free Profile (HFP) .
More...
Hands Free Profile (HFP) .
◆ HFP_HF_CMD_CME_ERROR
#define HFP_HF_CMD_CME_ERROR 2 |
◆ HFP_HF_CMD_ERROR
#define HFP_HF_CMD_ERROR 1 |
◆ HFP_HF_CMD_OK
◆ HFP_HF_CMD_UNKNOWN_ERROR
#define HFP_HF_CMD_UNKNOWN_ERROR 4 |
◆ bt_hfp_hf_at_cmd
◆ bt_hfp_hf_register()
#include <zephyr/bluetooth/classic/hfp_hf.h>
Register HFP HF profile.
Register Handsfree profile callbacks to monitor the state and get the required HFP details to display.
- Parameters
-
- Returns
- 0 in case of success or negative value in case of error.
◆ bt_hfp_hf_send_cmd()
#include <zephyr/bluetooth/classic/hfp_hf.h>
Handsfree client Send AT.
Send specific AT commands to handsfree client profile.
- Parameters
-
conn | Connection object. |
cmd | AT command to be sent. |
- Returns
- 0 in case of success or negative value in case of error.