|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Public Broadcast Profile (PBP) APIs. More...
#include <zephyr/bluetooth/audio/audio.h>#include <zephyr/bluetooth/bluetooth.h>#include <zephyr/bluetooth/uuid.h>#include <zephyr/net_buf.h>#include <zephyr/sys/util.h>#include <zephyr/sys/util_macro.h>Go to the source code of this file.
Macros | |
| #define | BT_PBP_MIN_PBA_SIZE (BT_UUID_SIZE_16 + 1 + 1) |
| Minimum size of the Public Broadcast Announcement. | |
Enumerations | |
| enum | bt_pbp_announcement_feature { BT_PBP_ANNOUNCEMENT_FEATURE_ENCRYPTION = BIT(0) , BT_PBP_ANNOUNCEMENT_FEATURE_STANDARD_QUALITY = BIT(1) , BT_PBP_ANNOUNCEMENT_FEATURE_HIGH_QUALITY = BIT(2) } |
| Public Broadcast Announcement features. More... | |
Functions | |
| int | bt_pbp_get_announcement (const uint8_t meta[], size_t meta_len, enum bt_pbp_announcement_feature features, struct net_buf_simple *pba_data_buf) |
| Creates a Public Broadcast Announcement based on the information received in the features parameter. | |
| int | bt_pbp_parse_announcement (struct bt_data *data, enum bt_pbp_announcement_feature *features, uint8_t **meta) |
| Parses the received advertising data corresponding to a Public Broadcast Announcement. | |
Public Broadcast Profile (PBP) APIs.