Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_avdtp_sep_ops Struct Reference

avdtp sep operations structure More...

#include <avdtp.h>

Data Fields

void(* connected )(struct bt_avdtp_sep *sep)
 Stream End Point (SEP) l2cap connected callback.
void(* disconnected )(struct bt_avdtp_sep *sep)
 Stream End Point (SEP) l2cap disconnected callback.
void(* media_data_cb )(struct bt_avdtp_sep *sep, struct net_buf *buf)
 Stream End Point (SEP) received data.

Detailed Description

avdtp sep operations structure

Field Documentation

◆ connected

void(* bt_avdtp_sep_ops::connected) (struct bt_avdtp_sep *sep)

Stream End Point (SEP) l2cap connected callback.

If this callback is provided it will be called whenever the stream l2cap connection completes.

Parameters
sepThe sep that has been connected

◆ disconnected

void(* bt_avdtp_sep_ops::disconnected) (struct bt_avdtp_sep *sep)

Stream End Point (SEP) l2cap disconnected callback.

If this callback is provided it will be called whenever the stream l2cap channel is disconnected, including when a connection gets rejected.

Parameters
sepThe sep that has been disconnected

◆ media_data_cb

void(* bt_avdtp_sep_ops::media_data_cb) (struct bt_avdtp_sep *sep, struct net_buf *buf)

Stream End Point (SEP) received data.

If this callback is provided it will be called whenever the stream l2cap channel receives data.

Parameters
sepThe sep that has received data.
bufThe data buf

The documentation for this struct was generated from the following file:
  • include/zephyr/bluetooth/classic/avdtp.h