Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

BAP Broadcast APIs. More...

Modules

 BAP Broadcast Sink APIs
 BAP Broadcast Sink APIs.
 
 BAP Broadcast Source APIs
 BAP Broadcast Source APIs.
 

Data Structures

struct  bt_bap_base_bis_data
 
struct  bt_bap_base_subgroup
 
struct  bt_bap_base
 

Functions

int bt_bap_decode_base (struct bt_data *data, struct bt_bap_base *base)
 Decode a Broadcast Audio Source Endpoint (BASE) from advertising data.
 

Detailed Description

BAP Broadcast APIs.

Function Documentation

◆ bt_bap_decode_base()

int bt_bap_decode_base ( struct bt_data data,
struct bt_bap_base base 
)

#include <zephyr/bluetooth/audio/bap.h>

Decode a Broadcast Audio Source Endpoint (BASE) from advertising data.

The BASE is sent via periodic advertising, and can be decoded into a bt_bap_base using this function.

Parameters
dataThe periodic advertising data
baseThe output struct to put the decode BASE in
Returns
0 in case of success or negative errno value in case of error.