Bluetooth: Audio: Rename vcs.h to vcp.h as well as the Kconfig file
Rename vcs.h to vcp.h to better detail what the file contains, as it is more than just VCS. This also renames the Kconfig file. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
76499a6127
commit
aaac86dada
12 changed files with 26 additions and 25 deletions
|
@ -28,7 +28,7 @@ config BT_CCID
|
|||
rsource "Kconfig.baps"
|
||||
rsource "Kconfig.vocs"
|
||||
rsource "Kconfig.aics"
|
||||
rsource "Kconfig.vcs"
|
||||
rsource "Kconfig.vcp"
|
||||
rsource "Kconfig.micp"
|
||||
rsource "Kconfig.csip"
|
||||
rsource "Kconfig.tbs"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/*
|
||||
* Copyright (c) 2018 Intel Corporation
|
||||
* Copyright (c) 2019-2020 Bose Corporation
|
||||
* Copyright (c) 2020-2021 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
@ -20,10 +20,10 @@
|
|||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/audio/vcs.h>
|
||||
#include <zephyr/bluetooth/audio/vcp.h>
|
||||
|
||||
#include "audio_internal.h"
|
||||
#include "vcs_internal.h"
|
||||
#include "vcp_internal.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_BT_VCS_LOG_LEVEL
|
||||
#include <zephyr/logging/log.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/*
|
||||
* Copyright (c) 2020 Bose Corporation
|
||||
* Copyright (c) 2020-2021 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
@ -18,9 +18,9 @@
|
|||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/audio/vcs.h>
|
||||
#include <zephyr/bluetooth/audio/vcp.h>
|
||||
|
||||
#include "vcs_internal.h"
|
||||
#include "vcp_internal.h"
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
* @brief Internal Header for Bluetooth Volume Control Service (VCS).
|
||||
*
|
||||
* Copyright (c) 2020 Bose Corporation
|
||||
* Copyright (c) 2020-2021 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCS_INTERNAL_
|
||||
#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCS_INTERNAL_
|
||||
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCP_INTERNAL_
|
||||
#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCP_INTERNAL_
|
||||
|
||||
/* VCS opcodes */
|
||||
#define BT_VCS_OPCODE_REL_VOL_DOWN 0x00
|
||||
|
@ -107,4 +107,4 @@ int bt_vcs_client_mute(struct bt_vcs *vcs);
|
|||
|
||||
bool bt_vcs_client_valid_vocs_inst(struct bt_vcs *vcs, struct bt_vocs *vocs);
|
||||
bool bt_vcs_client_valid_aics_inst(struct bt_vcs *vcs, struct bt_aics *aics);
|
||||
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCS_INTERNAL_*/
|
||||
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_VCP_INTERNAL_*/
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
* @brief Bluetooth VCS server shell.
|
||||
*
|
||||
* Copyright (c) 2020 Bose Corporation
|
||||
* Copyright (c) 2020-2021 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/audio/vcs.h>
|
||||
#include <zephyr/bluetooth/audio/vcp.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
* @brief Bluetooth VCS client shell.
|
||||
*
|
||||
* Copyright (c) 2020 Bose Corporation
|
||||
* Copyright (c) 2020-2021 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/audio/vcs.h>
|
||||
#include <zephyr/bluetooth/audio/vcp.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue