|
Zephyr Project API 4.3.99
A Scalable Open Source RTOS
|
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. | |
avdtp sep operations structure
| 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.
| sep | The sep that has been connected |
| 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.
| sep | The sep that has been disconnected |
| 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.
| sep | The sep that has received data. |
| buf | The data buf |