Bluetooth: uuid: Rename PACS Available Contexts UUID define

This renames the UUID to follow the same naming scheme as for
BT_UUID_PACS_SUPPORTED_CONTEXT.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2022-05-19 14:44:48 +02:00 committed by Carles Cufí
parent 3e92f11d1f
commit eddfc89ebf
2 changed files with 6 additions and 6 deletions

View file

@ -2150,15 +2150,15 @@ struct bt_uuid_128 {
*/
#define BT_UUID_PACS_SRC_LOC \
BT_UUID_DECLARE_16(BT_UUID_PACS_SRC_LOC_VAL)
/** @def BT_UUID_PACS_CONTEXT_VAL
/** @def BT_UUID_PACS_AVAILABLE_CONTEXT_VAL
* @brief Available Audio Contexts Characteristic value
*/
#define BT_UUID_PACS_CONTEXT_VAL 0x2BCD
/** @def BT_UUID_PACS_CONTEXT
#define BT_UUID_PACS_AVAILABLE_CONTEXT_VAL 0x2BCD
/** @def BT_UUID_PACS_AVAILABLE_CONTEXT
* @brief Available Audio Contexts Characteristic
*/
#define BT_UUID_PACS_CONTEXT \
BT_UUID_DECLARE_16(BT_UUID_PACS_CONTEXT_VAL)
#define BT_UUID_PACS_AVAILABLE_CONTEXT \
BT_UUID_DECLARE_16(BT_UUID_PACS_AVAILABLE_CONTEXT_VAL)
/** @def BT_UUID_PACS_SUPPORTED_CONTEXT_VAL
* @brief Supported Audio Context Characteristic value
*/

View file

@ -440,7 +440,7 @@ BT_GATT_SERVICE_DEFINE(pacs_svc,
BT_GATT_PERM_READ | BT_GATT_PERM_WRITE_ENCRYPT),
#endif /* CONFIG_BT_PAC_SRC_LOC */
#endif /* CONFIG_BT_PAC_SNK */
BT_GATT_CHARACTERISTIC(BT_UUID_PACS_CONTEXT,
BT_GATT_CHARACTERISTIC(BT_UUID_PACS_AVAILABLE_CONTEXT,
BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
BT_GATT_PERM_READ_ENCRYPT,
context_read, NULL, NULL),