Bluetooth: PACS: Remove CONFIG_BT_PACS_{SNK,SRC}_CONTEXT
The Kconfig option was never used by the stack and should thus be removed. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
f6a4217a88
commit
2147eefa15
4 changed files with 2 additions and 50 deletions
|
@ -21,11 +21,6 @@ CONFIG_BT_ASCS_ASE_SRC_COUNT=1
|
|||
# Support an ISO channel per ASE
|
||||
CONFIG_BT_ISO_MAX_CHAN=2
|
||||
|
||||
# Sink Contexts Supported: Unspecified, Conversational, Media, Live
|
||||
CONFIG_BT_PACS_SNK_CONTEXT=0x0047
|
||||
# Source Contexts Supported: Unspecified, Conversational
|
||||
CONFIG_BT_PACS_SRC_CONTEXT=0x0003
|
||||
|
||||
CONFIG_BT_PAC_SNK_LOC=y
|
||||
CONFIG_BT_PAC_SRC_LOC=y
|
||||
|
||||
|
|
|
@ -24,11 +24,8 @@
|
|||
BT_AUDIO_CONTEXT_TYPE_MEDIA | \
|
||||
BT_AUDIO_CONTEXT_TYPE_LIVE)
|
||||
|
||||
#define AVAILABLE_SINK_CONTEXT CONFIG_BT_PACS_SNK_CONTEXT
|
||||
#define AVAILABLE_SOURCE_CONTEXT CONFIG_BT_PACS_SRC_CONTEXT
|
||||
|
||||
BUILD_ASSERT((CONFIG_BT_PACS_SNK_CONTEXT & MANDATORY_SINK_CONTEXT) == MANDATORY_SINK_CONTEXT,
|
||||
"Need to support mandatory Supported_Sink_Contexts");
|
||||
#define AVAILABLE_SINK_CONTEXT MANDATORY_SINK_CONTEXT
|
||||
#define AVAILABLE_SOURCE_CONTEXT MANDATORY_SINK_CONTEXT
|
||||
|
||||
static uint8_t unicast_server_addata[] = {
|
||||
BT_UUID_16_ENCODE(BT_UUID_ASCS_VAL), /* ASCS UUID */
|
||||
|
|
|
@ -32,11 +32,6 @@ CONFIG_BT_ASCS_ASE_SRC_COUNT=1
|
|||
# Support an ISO channel per ASE
|
||||
CONFIG_BT_ISO_MAX_CHAN=2
|
||||
|
||||
# Sink Contexts Supported: Unspecified, Conversational, Media
|
||||
CONFIG_BT_PACS_SNK_CONTEXT=0x0007
|
||||
# Source Contexts Supported: Unspecified, Conversational, Media
|
||||
CONFIG_BT_PACS_SRC_CONTEXT=0x0007
|
||||
|
||||
# Sink PAC Location Support
|
||||
CONFIG_BT_PAC_SNK_LOC=y
|
||||
# Source PAC Location Support
|
||||
|
|
|
@ -13,24 +13,6 @@ config BT_PAC_SNK
|
|||
This option enables support for Sink Published Audio Capabilities.
|
||||
|
||||
if BT_PAC_SNK
|
||||
config BT_PACS_SNK_CONTEXT
|
||||
hex "Supported Sink Contexts"
|
||||
default 0x03ff
|
||||
range 0x0000 0x03ff
|
||||
help
|
||||
The Supported Sink Contexts exposes the server’s support for
|
||||
reception of audio data associated with specific Context Types:
|
||||
0x0001: Unspecified
|
||||
0x0002: Conversational
|
||||
0x0004: Media
|
||||
0x0008: Instructional
|
||||
0x0010: AttentionSeeking
|
||||
0x0020: ImmediateAlert
|
||||
0x0040: ManMachine
|
||||
0x0080: EmergencyAlert
|
||||
0x0100: Ringtone
|
||||
0x0200: TV
|
||||
|
||||
config BT_PAC_SNK_NOTIFIABLE
|
||||
bool "Sink PAC Notifiable Support"
|
||||
help
|
||||
|
@ -65,23 +47,6 @@ config BT_PAC_SRC
|
|||
This option enables support for Source Published Audio Capabilities.
|
||||
|
||||
if BT_PAC_SRC
|
||||
config BT_PACS_SRC_CONTEXT
|
||||
hex "Supported Source Contexts"
|
||||
default 0x03ff
|
||||
range 0x0000 0x03ff
|
||||
help
|
||||
The Supported Source Contexts exposes the server’s support for
|
||||
transmission of audio data associated with specific Context Types:
|
||||
0x0001: Unspecified
|
||||
0x0002: Conversational
|
||||
0x0004: Media
|
||||
0x0008: Instructional
|
||||
0x0010: AttentionSeeking
|
||||
0x0020: ImmediateAlert
|
||||
0x0040: ManMachine
|
||||
0x0080: EmergencyAlert
|
||||
0x0100: Ringtone
|
||||
0x0200: TV
|
||||
|
||||
config BT_PAC_SRC_NOTIFIABLE
|
||||
bool "Source PAC Notifiable Support"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue