Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c24 static struct bt_iso_chan iso_chan; variable
87 if (iso_chan.iso) { in iso_accept()
93 *chan = &iso_chan; in iso_accept()
128 iso_chan.ops = &iso_ops; in init()
129 iso_chan.qos = &iso_qos; in init()
131 iso_chan.required_sec_level = BT_SECURITY_L2, in init()
Dcis_central.c343 .iso_chan = default_chan, in connect_cis()
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c27 static struct bt_iso_chan iso_chan; variable
69 ret = bt_iso_chan_send(&iso_chan, buf, seq_num); in iso_timer_timeout()
201 connect_param.iso_chan = &iso_chan; in connected()
254 iso_chan.ops = &iso_ops; in main()
255 iso_chan.qos = &iso_qos; in main()
257 iso_chan.required_sec_level = BT_SECURITY_L2, in main()
260 channels[0] = &iso_chan; in main()
/Zephyr-latest/subsys/bluetooth/host/shell/
Diso.c135 struct bt_iso_chan iso_chan = { variable
205 chans[0] = &iso_chan; in cmd_cig_create()
443 .iso_chan = &iso_chan in cmd_connect()
447 if (iso_chan.iso == NULL) { in cmd_connect()
454 iso_chan.required_sec_level = *argv[1] - '0'; in cmd_connect()
478 if (iso_chan.iso) { in iso_accept()
483 *chan = &iso_chan; in iso_accept()
537 iso_chan.qos->tx = tx_qos; in cmd_listen()
538 iso_chan.qos->rx = rx_qos; in cmd_listen()
562 if (!iso_chan.iso) { in cmd_send()
[all …]
Dbt.h25 extern struct bt_iso_chan iso_chan;
/Zephyr-latest/subsys/bluetooth/host/
Diso.c51 #define iso_chan(_iso) ((_iso)->iso.chan); macro
79 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan);
357 chan = iso_chan(iso); in bt_iso_connected()
462 chan = iso_chan(iso); in bt_iso_disconnected()
707 chan = iso_chan(iso); in bt_iso_recv()
1640 chan = iso_chan(iso); in bt_iso_remove_data_path()
1932 static struct bt_iso_cig *get_cig(const struct bt_iso_chan *iso_chan) in get_cig() argument
1934 if (iso_chan == NULL || iso_chan->iso == NULL) { in get_cig()
1938 __ASSERT(iso_chan->iso->iso.cig_id < ARRAY_SIZE(cigs), "Invalid cig_id %u", in get_cig()
1939 iso_chan->iso->iso.cig_id); in get_cig()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_stream.c136 info->iso_chan = NULL; in bt_bap_ep_get_info()
139 info->iso_chan = &ep->iso->chan; in bt_bap_ep_get_info()
361 struct bt_iso_chan *iso_chan; in bap_stream_send() local
389 iso_chan = bt_bap_stream_iso_chan_get(stream); in bap_stream_send()
392 ret = bt_iso_chan_send_ts(iso_chan, buf, seq_num, ts); in bap_stream_send()
394 ret = bt_iso_chan_send(iso_chan, buf, seq_num); in bap_stream_send()
427 struct bt_iso_chan *iso_chan; in bt_bap_stream_get_tx_sync() local
447 iso_chan = bt_bap_stream_iso_chan_get(stream); in bt_bap_stream_get_tx_sync()
448 if (iso_chan == NULL) { in bt_bap_stream_get_tx_sync()
453 return bt_iso_chan_get_tx_sync(iso_chan, info); in bt_bap_stream_get_tx_sync()
[all …]
Dbap_unicast_client.c3369 struct bt_iso_chan *iso_chan; in bt_bap_unicast_client_connect() local
3380 iso_chan = bt_bap_stream_iso_chan_get(stream); in bt_bap_unicast_client_connect()
3381 if (iso_chan == NULL) { in bt_bap_unicast_client_connect()
3387 LOG_DBG("stream %p iso %p", stream, iso_chan); in bt_bap_unicast_client_connect()
3390 param.iso_chan = iso_chan; in bt_bap_unicast_client_connect()
3392 iso_state = iso_chan->state; in bt_bap_unicast_client_connect()
3405 LOG_DBG("iso_chan %p already connecting or connected (%u)", iso_chan, iso_state); in bt_bap_unicast_client_connect()
3410 LOG_DBG("iso_chan %p in invalid state state (%u), cannot connect", iso_chan, iso_state); in bt_bap_unicast_client_connect()
Dcap_initiator.c463 if (ep_info.iso_chan == NULL) { in bap_stream_get_iso_state()
467 return ep_info.iso_chan->state; in bap_stream_get_iso_state()
Dascs.c832 static int ascs_iso_accept(const struct bt_iso_accept_info *info, struct bt_iso_chan **iso_chan) in ascs_iso_accept() argument
861 *iso_chan = chan; in ascs_iso_accept()
863 LOG_DBG("iso_chan %p", *iso_chan); in ascs_iso_accept()
/Zephyr-latest/samples/bluetooth/iso_peripheral/src/
Dmain.c131 static struct bt_iso_chan iso_chan = { variable
141 if (iso_chan.iso) { in iso_accept()
146 *chan = &iso_chan; in iso_accept()
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/
Dmain.c40 static struct bt_iso_chan iso_chan[CONFIG_BT_ISO_MAX_CHAN]; variable
390 iso_chan[i].ops = &iso_ops;
391 iso_chan[i].qos = &iso_qos[i];
393 iso_chan[i].required_sec_level = BT_SECURITY_L2,
396 channels[i] = &iso_chan[i];
501 iso_connect_param.iso_chan = &iso_chan[chan];
543 ret = bt_iso_chan_send(&iso_chan[chan], buf, seq_num);
563 err = bt_iso_chan_disconnect(&iso_chan[chan]);
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_stream_tx.c65 if (ep_info.iso_chan == NULL || ep_info.iso_chan->state != BT_ISO_STATE_CONNECTED) { in stream_is_streaming()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_audio_stream.c71 if (ep_info.iso_chan == NULL || ep_info.iso_chan->state != BT_ISO_STATE_CONNECTED) { in stream_is_streaming()
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h470 struct bt_iso_chan *iso_chan; member
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h710 struct bt_iso_chan *iso_chan; member
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c1128 connect_param[i].iso_chan = &iso_chans[i].chan; in central_connect_cis()