zephyr/subsys/bluetooth/audio/ccid_internal.h
Asbjørn Sæbø 3b44a6d4aa Bluetooth: Audio: CCID - updates for upmerge
Updates to the CCID module for upmerge to Zephyr main

- add bt_ prefix to the ccid_get() function, add explaining comment,
  use defined value for limit
- update copyright statement
- update Kconfig to current practice

Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
2021-11-02 13:23:42 +01:00

27 lines
615 B
C

/* Bluetooth Audio Content Control Identifier */
/*
* Copyright (c) 2020 Bose Corporation
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CCID_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_CCID_H_
#include <device.h>
#include <zephyr/types.h>
/**
* @brief Gets a free CCID value.
*
* The maximum number of CCID values that can retrieved on the device is 0xFE,
* one less than per the GSS specification.
*
* @return uint8_t A content control ID value.
*/
uint8_t bt_ccid_get_value(void);
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_CCID_H_ */