forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bluetooth: tester: MICS Server tests
Add support for MICS Server tests Signed-off-by: Piotr Narajowski <[email protected]>
- Loading branch information
1 parent
08130f0
commit a2f92ba
Showing
5 changed files
with
251 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* btp_mics.h - Bluetooth tester headers */ | ||
|
||
/* | ||
* Copyright (c) 2023 Codecoup | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* MICS commands */ | ||
#define BTP_MICS_READ_SUPPORTED_COMMANDS 0x01 | ||
struct btp_mics_read_supported_commands_rp { | ||
uint8_t data[0]; | ||
} __packed; | ||
|
||
#define BTP_MICS_DEV_MUTE_DISABLE 0x02 | ||
#define BTP_MICS_DEV_MUTE_READ 0x03 | ||
#define BTP_MICS_DEV_MUTE 0x04 | ||
#define BTP_MICS_DEV_UNMUTE 0x05 | ||
|
||
#define BTP_MICS_MUTE_STATE_EV 0x80 | ||
struct btp_mics_mute_state_ev { | ||
uint8_t mute; | ||
} __packed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters