1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef ZEPHYR_INCLUDE_BLUETOOTH_AVDTP_H_
- #define ZEPHYR_INCLUDE_BLUETOOTH_AVDTP_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <bluetooth/l2cap.h>
- struct bt_avdtp_seid_info {
-
- uint8_t id:6;
-
- uint8_t inuse:1;
-
- uint8_t rfa0:1;
-
- uint8_t media_type:4;
-
- uint8_t tsep:1;
-
- uint8_t rfa1:3;
- } __packed;
- struct bt_avdtp_seid_lsep {
-
- struct bt_avdtp_seid_info sep;
-
- struct bt_avdtp_seid_lsep *next;
- };
- struct bt_avdtp_stream {
- struct bt_l2cap_br_chan chan;
- struct bt_avdtp_seid_info lsep;
- struct bt_avdtp_seid_info rsep;
- uint8_t state;
- struct bt_avdtp_stream *next;
- };
- #ifdef __cplusplus
- }
- #endif
- #endif
|