# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

syscfg.defs:
    BLE_SVC_AUDIO_PACS_SYSINIT_STAGE:
        description: >
            Sysinit stage for Published Audio Capabilities Service.
        value: 303
    BLE_SVC_AUDIO_PACS_SINK_PAC:
        description: >
            Enable Sink PAC characteristic.
            If disabled, BLE_SVC_AUDIO_PACS_SOURCE_PAC must be enabled.
        value: 1
    BLE_SVC_AUDIO_PACS_SINK_PAC_NOTIFY:
        description: >
            Enable Sink PAC characteristic notifications.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SINK_PAC
    BLE_SVC_AUDIO_PACS_SINK_AUDIO_LOCATIONS:
        description: >
            Enable SOURCE Sink Audio Locations characteristic.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SINK_PAC
    BLE_SVC_AUDIO_PACS_SINK_AUDIO_LOCATIONS_NOTIFY:
        description: >
            Enable SOURCE Sink Audio Locations characteristic notifications.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SINK_AUDIO_LOCATIONS
    BLE_SVC_AUDIO_PACS_SOURCE_PAC:
        description: >
            Enable Source PAC characteristic.
            If disabled, BLE_SVC_AUDIO_PACS_SINK_PAC must be enabled.
        value: 1
    BLE_SVC_AUDIO_PACS_SOURCE_PAC_NOTIFY:
        description: >
            Enable Source PAC characteristic notifications.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SOURCE_PAC
    BLE_SVC_AUDIO_PACS_SOURCE_AUDIO_LOCATIONS:
        description: >
            Enable Source Audio Locations characteristic.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SOURCE_PAC
    BLE_SVC_AUDIO_PACS_SOURCE_AUDIO_LOCATIONS_NOTIFY:
        description: >
            Enable Source Audio Locations characteristic notifications.
        value: 1
        restrictions: BLE_SVC_AUDIO_PACS_SOURCE_AUDIO_LOCATIONS
    BLE_SVC_AUDIO_PACS_SUP_AUDIO_CTX_NOTIFY:
        description: >
            Enable Supported Audio Contexts characteristic notifications.
        value: 1

syscfg.restrictions:
    - 'BLE_SVC_AUDIO_PACS_SINK_PAC == 1 || BLE_SVC_AUDIO_PACS_SOURCE_PAC == 1'
