Zephyr Project API  3.2.0
A Scalable Open Source RTOS
micp.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_micp_mic_dev_register_param
 Register parameters structure for Microphone Input Control Service. More...
 
struct  bt_micp_included
 Microphone Input Control Profile included services. More...
 
struct  bt_micp_mic_dev_cb
 
struct  bt_micp_mic_ctlr_cb
 

Macros

#define BT_MICP_MIC_DEV_AICS_CNT   0
 
#define BT_MICP_ERR_MUTE_DISABLED   0x80
 
#define BT_MICP_ERR_VAL_OUT_OF_RANGE   0x81
 
#define BT_MICP_MUTE_UNMUTED   0x00
 
#define BT_MICP_MUTE_MUTED   0x01
 
#define BT_MICP_MUTE_DISABLED   0x02
 

Functions

int bt_micp_mic_dev_register (struct bt_micp_mic_dev_register_param *param)
 Initialize the Microphone Input Control Profile Microphone Device. More...
 
int bt_micp_mic_dev_included_get (struct bt_micp_included *included)
 Get Microphone Device included services. More...
 
int bt_micp_mic_dev_unmute (void)
 Unmute the Microphone Device. More...
 
int bt_micp_mic_dev_mute (void)
 Mute the Microphone Device. More...
 
int bt_micp_mic_dev_mute_disable (void)
 Disable the mute functionality on the Microphone Device. More...
 
int bt_micp_mic_dev_mute_get (void)
 Read the mute state on the Microphone Device. More...
 
int bt_micp_mic_ctlr_included_get (struct bt_micp_mic_ctlr *mic_ctlr, struct bt_micp_included *included)
 Get Microphone Input Control Profile included services. More...
 
int bt_micp_mic_ctlr_conn_get (const struct bt_micp_mic_ctlr *mic_ctlr, struct bt_conn **conn)
 Get the connection pointer of a Microphone Controller instance. More...
 
int bt_micp_mic_ctlr_discover (struct bt_conn *conn, struct bt_micp_mic_ctlr **mic_ctlr)
 Discover Microphone Input Control Service. More...
 
int bt_micp_mic_ctlr_unmute (struct bt_micp_mic_ctlr *mic_ctlr)
 Unmute a remote Microphone Device. More...
 
int bt_micp_mic_ctlr_mute (struct bt_micp_mic_ctlr *mic_ctlr)
 Mute a remote Microphone Device. More...
 
int bt_micp_mic_ctlr_mute_get (struct bt_micp_mic_ctlr *mic_ctlr)
 Read the mute state of a remote Microphone Device. More...
 
int bt_micp_mic_ctlr_cb_register (struct bt_micp_mic_ctlr_cb *cb)
 Registers the callbacks used by Microphone Controller. More...