Home
last modified time | relevance | path

Searched refs:a2dp (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/classic/
Da2dp.c76 static int bt_a2dp_get_sep_caps(struct bt_a2dp *a2dp);
80 struct bt_a2dp *a2dp = &connection[bt_conn_index(conn)]; in a2dp_get_connection() local
82 if (a2dp->session.br_chan.chan.conn == NULL) { in a2dp_get_connection()
84 (void)memset(a2dp, 0, sizeof(struct bt_a2dp)); in a2dp_get_connection()
86 return a2dp; in a2dp_get_connection()
92 struct bt_a2dp *a2dp = A2DP_AVDTP(session); in a2dp_connected() local
94 a2dp->a2dp_state = INTERNAL_STATE_AVDTP_CONNECTED; in a2dp_connected()
97 a2dp_cb->connected(a2dp, 0); in a2dp_connected()
104 struct bt_a2dp *a2dp = A2DP_AVDTP(session); in a2dp_disconnected() local
108 a2dp_cb->disconnected(a2dp); in a2dp_disconnected()
[all …]
DCMakeLists.txt8 zephyr_library_sources_ifdef(CONFIG_BT_A2DP a2dp.c a2dp_codec_sbc.c)
/Zephyr-latest/doc/connectivity/bluetooth/shell/classic/
Da2dp.rst4 The :code:`a2dp` command exposes parts of the A2DP API.
9 * Source and Sink sides register a2dp callbacks. using :code:`a2dp register_cb`.
10 …nd Sink sides register stream endpoints. using :code:`a2dp register_ep source sbc` and :code:`a2dp
11 …onnection. It will create the AVDTP Signaling and Media L2CAP channels. using :code:`a2dp connect`.
12 …* Source and Sink side can discover remote device's stream endpoints. using :code:`a2dp discover_p…
13 …re the stream to create the stream after discover remote's endpoints. using :code:`a2dp configure`.
14 * Source or Sink establish the stream. using :code:`a2dp establish`.
15 * Source or Sink start the media. using :code:`a2dp start`.
16 * Source test the media sending. using :code:`a2dp send_media` to send one test packet data.
17 * Source or Sink suspend the media. using :code:`a2dp suspend`.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Da2dp.h380 typedef uint8_t (*bt_a2dp_discover_ep_cb)(struct bt_a2dp *a2dp, struct bt_a2dp_ep_info *info,
408 void (*connected)(struct bt_a2dp *a2dp, int err);
416 void (*disconnected)(struct bt_a2dp *a2dp);
432 int (*config_req)(struct bt_a2dp *a2dp, struct bt_a2dp_ep *ep,
597 int bt_a2dp_disconnect(struct bt_a2dp *a2dp);
626 int bt_a2dp_discover(struct bt_a2dp *a2dp, struct bt_a2dp_discover_param *param);
639 struct bt_a2dp *a2dp; member
748 int bt_a2dp_stream_config(struct bt_a2dp *a2dp, struct bt_a2dp_stream *stream,
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
DCMakeLists.txt6 zephyr_library_sources_ifdef(CONFIG_BT_A2DP a2dp.c)
Da2dp.c289 void app_connected(struct bt_a2dp *a2dp, int err) in app_connected() argument
292 default_a2dp = a2dp; in app_connected()
299 void app_disconnected(struct bt_a2dp *a2dp) in app_disconnected() argument
305 int app_config_req(struct bt_a2dp *a2dp, struct bt_a2dp_ep *ep, in app_config_req() argument
654 static uint8_t bt_a2dp_discover_peer_endpoint_cb(struct bt_a2dp *a2dp, in bt_a2dp_discover_peer_endpoint_cb() argument
825 SHELL_CMD_ARG_REGISTER(a2dp, &a2dp_cmds, "Bluetooth A2DP sh commands",
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-shell.rst24 shell/classic/a2dp.rst