1 /** @file 2 * @brief Internal APIs for Bluetooth MICP. 3 */ 4 5 /* 6 * Copyright (c) 2020 Bose Corporation 7 * Copyright (c) 2020 Nordic Semiconductor ASA 8 * 9 * SPDX-License-Identifier: Apache-2.0 10 */ 11 12 #ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_MICP_INTERNAL_ 13 #define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_MICP_INTERNAL_ 14 15 #include <zephyr/types.h> 16 #include <zephyr/bluetooth/gatt.h> 17 18 struct bt_micp_mic_ctlr { 19 uint16_t start_handle; 20 uint16_t end_handle; 21 uint16_t mute_handle; 22 struct bt_gatt_subscribe_params mute_sub_params; 23 struct bt_gatt_discover_params mute_sub_disc_params; 24 25 bool busy; 26 uint8_t mute_val_buf[1]; /* Mute value is a single octet */ 27 struct bt_gatt_write_params write_params; 28 struct bt_gatt_read_params read_params; 29 struct bt_gatt_discover_params discover_params; 30 struct bt_conn *conn; 31 32 uint8_t aics_inst_cnt; 33 struct bt_aics *aics[CONFIG_BT_AICS_CLIENT_MAX_INSTANCE_COUNT]; 34 }; 35 36 #endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_MICP_INTERNAL_ */ 37