Zephyr API 3.6.99
Loading...
Searching...
No Matches
pbp.h File Reference

Public Broadcast Profile (PBP) APIs. More...

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.
 

Detailed Description

Public Broadcast Profile (PBP) APIs.