Home
last modified time | relevance | path

Searched refs:iso_chan (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/samples/bluetooth/central_iso/src/
Dmain.c26 static struct bt_iso_chan iso_chan; variable
66 ret = bt_iso_chan_send(&iso_chan, buf, seq_num++, BT_ISO_TIMESTAMP_NONE); in iso_timer_timeout()
189 connect_param.iso_chan = &iso_chan; in connected()
242 iso_chan.ops = &iso_ops; in main()
243 iso_chan.qos = &iso_qos; in main()
245 iso_chan.required_sec_level = BT_SECURITY_L2, in main()
248 channels[0] = &iso_chan; in main()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c21 static struct bt_iso_chan iso_chan; variable
88 if (iso_chan.iso) { in iso_accept()
94 *chan = &iso_chan; in iso_accept()
129 iso_chan.ops = &iso_ops; in init()
130 iso_chan.qos = &iso_qos; in init()
132 iso_chan.required_sec_level = BT_SECURITY_L2, in init()
Dcis_central.c268 .iso_chan = default_chan, in connect_cis()
/Zephyr-Core-3.5.0/subsys/bluetooth/shell/
Diso.c128 struct bt_iso_chan iso_chan = { variable
150 chans[0] = &iso_chan; in cmd_cig_create()
372 .iso_chan = &iso_chan in cmd_connect()
376 if (iso_chan.iso == NULL) { in cmd_connect()
383 iso_chan.required_sec_level = *argv[1] - '0'; in cmd_connect()
407 if (iso_chan.iso) { in iso_accept()
412 *chan = &iso_chan; in iso_accept()
467 iso_chan.qos->tx = tx_qos; in cmd_listen()
468 iso_chan.qos->rx = rx_qos; in cmd_listen()
492 if (!iso_chan.iso) { in cmd_send()
[all …]
Dbt.h25 extern struct bt_iso_chan iso_chan;
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Diso.c35 #define iso_chan(_iso) ((_iso)->iso.chan); macro
63 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan);
371 chan = iso_chan(iso); in bt_iso_connected()
477 chan = iso_chan(iso); in bt_iso_disconnected()
720 chan = iso_chan(iso); in bt_iso_recv()
1428 chan = iso_chan(iso); in bt_iso_remove_data_path()
1725 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan) in get_cig() argument
1727 if (iso_chan == NULL || iso_chan->iso == NULL) { in get_cig()
1731 __ASSERT(iso_chan->iso->iso.cig_id < ARRAY_SIZE(cigs), in get_cig()
1732 "Invalid cig_id %u", iso_chan->iso->iso.cig_id); in get_cig()
[all …]
/Zephyr-Core-3.5.0/samples/bluetooth/peripheral_iso/src/
Dmain.c126 static struct bt_iso_chan iso_chan = { variable
136 if (iso_chan.iso) { in iso_accept()
141 *chan = &iso_chan; in iso_accept()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dbap_stream.c284 struct bt_iso_chan *iso_chan; in bt_bap_stream_get_tx_sync() local
304 iso_chan = bt_bap_stream_iso_chan_get(stream); in bt_bap_stream_get_tx_sync()
305 if (iso_chan == NULL) { in bt_bap_stream_get_tx_sync()
310 return bt_iso_chan_get_tx_sync(iso_chan, info); in bt_bap_stream_get_tx_sync()
401 struct bt_iso_chan *iso_chan = bt_bap_stream_iso_chan_get(stream); in bt_bap_stream_disconnect() local
403 LOG_DBG("stream %p iso %p", stream, iso_chan); in bt_bap_stream_disconnect()
409 if (iso_chan == NULL || iso_chan->iso == NULL) { in bt_bap_stream_disconnect()
413 return bt_iso_chan_disconnect(iso_chan); in bt_bap_stream_disconnect()
Dbap_unicast_client.c2199 struct bt_iso_chan *iso_chan; in unicast_client_stream_connect() local
2201 iso_chan = bt_bap_stream_iso_chan_get(stream); in unicast_client_stream_connect()
2203 LOG_DBG("stream %p iso %p", stream, iso_chan); in unicast_client_stream_connect()
2205 if (stream == NULL || iso_chan == NULL) { in unicast_client_stream_connect()
2210 param.iso_chan = iso_chan; in unicast_client_stream_connect()
2212 switch (iso_chan->state) { in unicast_client_stream_connect()
Dascs.c664 static int ascs_iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_chan **iso_chan) in ascs_iso_accept() argument
693 *iso_chan = chan; in ascs_iso_accept()
695 LOG_DBG("iso_chan %p", *iso_chan); in ascs_iso_accept()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/ll/cis/src/
Dmain.c37 static struct bt_iso_chan iso_chan[CONFIG_BT_ISO_MAX_CHAN]; variable
402 iso_chan[i].ops = &iso_ops;
403 iso_chan[i].qos = &iso_qos[i];
405 iso_chan[i].required_sec_level = BT_SECURITY_L2,
408 channels[i] = &iso_chan[i];
510 iso_connect_param.iso_chan = &iso_chan[chan];
552 ret = bt_iso_chan_send(&iso_chan[chan], buf,
573 err = bt_iso_chan_disconnect(&iso_chan[chan]);
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Diso.h408 struct bt_iso_chan *iso_chan; member
/Zephyr-Core-3.5.0/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c1068 connect_param[i].iso_chan = &iso_chans[i].chan; in central_create_cig()