Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Struct to hold the Broadcast Source callbacks. More...

#include <bap.h>

Data Fields

void(* started )(struct bt_bap_broadcast_source *source)
 The Broadcast Source has started and all of the streams are ready for audio data.
 
void(* stopped )(struct bt_bap_broadcast_source *source, uint8_t reason)
 The Broadcast Source has stopped and none of the streams are ready for audio data.
 

Detailed Description

Struct to hold the Broadcast Source callbacks.

These can be registered for usage with bt_bap_broadcast_source_register_cb().

Field Documentation

◆ started

void(* bt_bap_broadcast_source_cb::started) (struct bt_bap_broadcast_source *source)

The Broadcast Source has started and all of the streams are ready for audio data.

Parameters
sourceThe started Broadcast Source

◆ stopped

void(* bt_bap_broadcast_source_cb::stopped) (struct bt_bap_broadcast_source *source, uint8_t reason)

The Broadcast Source has stopped and none of the streams are ready for audio data.

Parameters
sourceThe stopped Broadcast Source
reasonThe reason why the Broadcast Source stopped (see the BT_HCI_ERR_* values)

The documentation for this struct was generated from the following file: