Skip to content

Commit

Permalink
bluetooth: A2DP zblue 4.0
Browse files Browse the repository at this point in the history
bug: v/55032

zephyr4.0 A2DP adapter
  • Loading branch information
jialu522 committed Mar 3, 2025
1 parent 2a85c9b commit 4796c0e
Show file tree
Hide file tree
Showing 13 changed files with 1,374 additions and 3,931 deletions.
225 changes: 136 additions & 89 deletions include/zephyr/bluetooth/classic/a2dp.h

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions include/zephyr/bluetooth/classic/avdtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ enum bt_avdtp_media_type {
*/
struct bt_avdtp_sep_info {
/** End Point usage status */
uint8_t inuse:1;
uint8_t inuse: 1;
/** Stream End Point ID that is the identifier of the stream endpoint */
uint8_t id:6;
uint8_t id: 6;
/** Reserved */
uint8_t reserved:1;
uint8_t reserved: 1;
/** Stream End-point Type that indicates if the stream end-point is SNK or SRC */
enum bt_avdtp_sep_type tsep;
/** Media-type of the End Point
Expand Down Expand Up @@ -127,8 +127,9 @@ struct bt_avdtp_sep {
/** Media Transport Channel*/
struct bt_l2cap_br_chan chan;
/** the endpoint media data */
void (*media_data_cb)(struct bt_avdtp_sep *sep,
struct net_buf *buf);
void (*media_data_cb)(struct bt_avdtp_sep *sep, struct net_buf *buf);
/* semaphore for lock/unlock */
struct k_sem sem_lock;
/** avdtp session */
struct bt_avdtp *session;
/** SEP state */
Expand Down
123 changes: 0 additions & 123 deletions include/zephyr/bluetooth/zephyr3/a2dp-codec.h

This file was deleted.

113 changes: 0 additions & 113 deletions include/zephyr/bluetooth/zephyr3/a2dp.h

This file was deleted.

Loading

0 comments on commit 4796c0e

Please sign in to comment.