#include <micp.h>
|
void(* | mute )(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute) |
| Callback function for Microphone Control Profile mute.
|
|
void(* | discover )(struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t aics_count) |
| Callback function for bt_micp_mic_ctlr_discover().
|
|
void(* | mute_written )(struct bt_micp_mic_ctlr *mic_ctlr, int err) |
| Callback function for Microphone Control Profile mute/unmute.
|
|
void(* | unmute_written )(struct bt_micp_mic_ctlr *mic_ctlr, int err) |
| Callback function for Microphone Control Profile mute/unmute.
|
|
◆ discover
void(* bt_micp_mic_ctlr_cb::discover) (struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t aics_count) |
Callback function for bt_micp_mic_ctlr_discover().
- Parameters
-
mic_ctlr | Microphone Controller instance pointer. |
err | Error value. 0 on success, GATT error or errno on fail. |
aics_count | Number of Audio Input Control Service instances on peer device. |
◆ mute
void(* bt_micp_mic_ctlr_cb::mute) (struct bt_micp_mic_ctlr *mic_ctlr, int err, uint8_t mute) |
Callback function for Microphone Control Profile mute.
Called when the value is read, or if the value is changed by either the Microphone Device or a Microphone Controller.
- Parameters
-
mic_ctlr | Microphone Controller instance pointer. |
err | Error value. 0 on success, GATT error or errno on fail. For notifications, this will always be 0. |
mute | The mute setting of the Microphone Control Service. |
◆ mute_written
void(* bt_micp_mic_ctlr_cb::mute_written) (struct bt_micp_mic_ctlr *mic_ctlr, int err) |
Callback function for Microphone Control Profile mute/unmute.
- Parameters
-
mic_ctlr | Microphone Controller instance pointer. |
err | Error value. 0 on success, GATT error or errno on fail. |
◆ unmute_written
void(* bt_micp_mic_ctlr_cb::unmute_written) (struct bt_micp_mic_ctlr *mic_ctlr, int err) |
Callback function for Microphone Control Profile mute/unmute.
- Parameters
-
mic_ctlr | Microphone Controller instance pointer. |
err | Error value. 0 on success, GATT error or errno on fail. |
The documentation for this struct was generated from the following file: