Home
last modified time | relevance | path

Searched full:iso (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/Zephyr-4.1.0/subsys/bluetooth/audio/
Dbap_iso.c1 /* bap_iso.c - BAP ISO handling */
18 #include <zephyr/bluetooth/iso.h>
38 struct bt_bap_iso *iso = NULL; in bt_bap_iso_new() local
42 iso = &iso_pool[i]; in bt_bap_iso_new()
47 if (!iso) { in bt_bap_iso_new()
51 (void)memset(iso, 0, offsetof(struct bt_bap_iso, ref)); in bt_bap_iso_new()
53 return iso; in bt_bap_iso_new()
56 struct bt_bap_iso *bt_bap_iso_ref(struct bt_bap_iso *iso) in bt_bap_iso_ref() argument
60 __ASSERT_NO_MSG(iso != NULL); in bt_bap_iso_ref()
68 old = atomic_get(&iso->ref); in bt_bap_iso_ref()
[all …]
Dbap_iso.h2 * @brief Internal APIs for BAP ISO handling
16 #include <zephyr/bluetooth/iso.h>
40 typedef bool (*bt_bap_iso_func_t)(struct bt_bap_iso *iso, void *user_data);
43 struct bt_bap_iso *bt_bap_iso_ref(struct bt_bap_iso *iso);
44 void bt_bap_iso_unref(struct bt_bap_iso *iso);
47 void bt_bap_iso_init(struct bt_bap_iso *iso, struct bt_iso_chan_ops *ops);
48 void bt_bap_iso_bind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
50 void bt_bap_iso_unbind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
51 struct bt_bap_ep *bt_bap_iso_get_ep(bool unicast_client, struct bt_bap_iso *iso,
60 struct bt_bap_stream *bt_bap_iso_get_stream(struct bt_bap_iso *iso, enum bt_audio_dir dir);
/Zephyr-4.1.0/doc/connectivity/bluetooth/shell/host/
Diso.rst9 iso --help
10 iso - Bluetooth ISO shell commands
15 connect :Connect ISO Channel
17 send :Send to ISO Channel [count]
18 disconnect :Disconnect ISO Channel
20 broadcast :Broadcast on ISO channels
32 uart:~$ iso cig_create
35 2. [Peripheral] Listen to ISO connections
39 uart:~$ iso listen txrx
41 3. [Central] Connect ISO channel:
[all …]
/Zephyr-4.1.0/subsys/bluetooth/host/
Diso.c1 /* Bluetooth ISO */
23 #include <zephyr/bluetooth/iso.h>
51 #define iso_chan(_iso) ((_iso)->iso.chan);
80 static void bt_iso_remove_data_path(struct bt_conn *iso);
97 static void bt_iso_sent_cb(struct bt_conn *iso, void *user_data, int err) in bt_iso_sent_cb() argument
100 struct bt_iso_chan *chan = iso->iso.chan; in bt_iso_sent_cb()
103 __ASSERT(chan != NULL, "NULL chan for iso %p", iso); in bt_iso_sent_cb()
117 struct bt_conn *iso; in hci_iso() local
123 LOG_ERR("Invalid HCI ISO packet size (%u)", buf->len); in hci_iso()
133 iso(buf)->handle = bt_iso_handle(handle); in hci_iso()
[all …]
Diso_internal.h2 * @brief Internal APIs for Bluetooth ISO handling.
16 #include <zephyr/bluetooth/iso.h>
30 /** ISO connection handle */
42 /** List of ISO channels to setup as CIS (the CIG). */
70 /** List of ISO channels to setup as BIS (the BIG). */
82 #define iso(buf) ((struct iso_data *)net_buf_user_data(buf)) macro
84 /* Process ISO buffer */
90 /** A callback used to notify about freed buffer in the iso rx pool. */
93 /** Set a callback to notify about freed buffer in the iso rx pool.
95 * @param cb Callback to notify about freed buffer in the iso rx pool. If NULL, the callback is
[all …]
/Zephyr-4.1.0/tests/bluetooth/audio/mocks/src/
Diso.c14 #include <zephyr/bluetooth/iso.h>
20 #include "iso.h"
85 void mock_bt_iso_connected(struct bt_conn *iso) in mock_bt_iso_connected() argument
87 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected()
90 chan->iso = iso; in mock_bt_iso_connected()
103 struct bt_conn *iso; in mock_bt_iso_accept() local
115 iso = malloc(sizeof(struct bt_conn)); in mock_bt_iso_accept()
116 zassert_not_null(iso); in mock_bt_iso_accept()
118 iso->chan = (*chan); in mock_bt_iso_accept()
119 mock_bt_iso_connected(iso); in mock_bt_iso_accept()
[all …]
/Zephyr-4.1.0/subsys/bluetooth/controller/ll_sw/
Disoal.h28 /** Handle to a registered ISO Sub-System sink */
31 /** Handle to a registered ISO Sub-System source */
34 /** Byte length of an ISO SDU */
37 /** Byte length of an ISO PDU */
40 /** Count (ID number) of an ISO SDU */
43 /** Count (ID number) of an ISO PDU */
73 * @brief ISO frame SDU buffer - typically an Audio frame buffer
75 * This provides the underlying vehicle of ISO SDU interchange through the
76 * ISO socket, the contents of which is generally an array of encoded bytes.
77 * Access and life time of this should be limited to ISO and the ISO socket.
[all …]
Dull_iso_internal.h7 /* Calculate ISO PDU buffers required considering SDU fragmentation */
9 /* Internal ISO Tx SDU maximum length.
10 * A length that is minimum of the resultant combination of the HCI ISO data fragments provided and
19 "Insufficient ISO Buffer Size and Count for the required ISO SDU Length");
21 /* Internal ISO Tx buffers to be allocated.
22 * Based on the internal ISO Tx SDU maximum length, calculate the required ISO Tx buffers (PDUs)
/Zephyr-4.1.0/tests/bsim/bluetooth/ll/cis/sysbuild/hci_ipc/
Dnrf5340_cpunet_iso_acl_group-bt_ll_sw_split.conf30 # Broadcast and Connected ISO
36 # ISO Streams
80 # ISO Broadcaster Controller
87 # ISO Receive Controller
94 # ISO Connection Oriented
101 # ISO Transmissions
107 # ISO Receptions
/Zephyr-4.1.0/samples/bluetooth/hci_uart/
Doverlay-all-bt_ll_sw_split.conf16 # Broadcast and Connected ISO
22 # ISO Streams
92 # ISO Broadcaster Controller
104 # ISO Receive Controller
116 # ISO Connection Oriented
125 # ISO Transmissions
131 # ISO Receptions
138 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-4.1.0/samples/bluetooth/hci_uart_3wire/
Doverlay-all-bt_ll_sw_split.conf16 # Broadcast and Connected ISO
22 # ISO Streams
91 # ISO Broadcaster Controller
103 # ISO Receive Controller
115 # ISO Connection Oriented
124 # ISO Transmissions
130 # ISO Receptions
137 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-4.1.0/tests/bluetooth/controller/ctrl_isoal/
DKconfig1 # Bluetooth Controller configuration options for ISO-AL Unit Tests
17 module-str = "Bluetooth Controller ISO-AL"
21 bool "ISO-AL verbose debug logging"
25 Use this option to enable ISO-AL verbose debug logging.
34 int "Number of SDU fragments that the ISO-AL can buffer"
40 ISO-AL per channel. Buffering is required to compute the size of the
43 size of an SDU that can be accurately declared in the HCI ISO Data
56 bool "Enforce Strict Tx ISO Data Sequence Number use"
/Zephyr-4.1.0/tests/bsim/bluetooth/audio/
Doverlay-bt_ll_sw_split.conf48 # ISO Broadcaster Controller
58 # ISO Receive Controller
68 # ISO Connection Oriented
77 # ISO Transmissions
83 # ISO Receptions
90 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-4.1.0/tests/bsim/bluetooth/ll/bis/
DKconfig5 bool "Test Broadcast ISO using internal LL interface"
7 Test Broadcast ISO using internal LL interface.
10 bool "Test ISO interleaved packing"
12 Test ISO interleaved packing. Note, this tests with single BIS to
/Zephyr-4.1.0/samples/bluetooth/hci_ipc/
Dnrf5340_cpunet_bis-bt_ll_sw_split.conf30 # Broadcast and Connected ISO
36 # ISO Streams
80 # ISO Broadcaster Controller
90 # ISO Receive Controller
100 # ISO Transmissions
106 # ISO Receptions
Dnrf5340_cpunet_iso-bt_ll_sw_split.conf34 # Broadcast and Connected ISO
40 # ISO Streams
97 # ISO Broadcaster Controller
109 # ISO Receive Controller
121 # ISO Connection Oriented
130 # ISO Transmissions
136 # ISO Receptions
143 # Ignore HCI ISO data Tx sequence numbers
Dnrf5340_cpunet_cis-bt_ll_sw_split.conf29 # Broadcast and Connected ISO
35 # ISO Streams
81 # ISO Connection Oriented
90 # ISO Transmissions
96 # ISO Receptions
Dnrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf32 # ISO Streams
46 # ISO Connection Oriented
55 # ISO Transmissions
61 # ISO Receptions
Dnrf5340_cpunet_iso_central-bt_ll_sw_split.conf32 # ISO Streams
46 # ISO Connection Oriented
55 # ISO Transmissions
61 # ISO Receptions
/Zephyr-4.1.0/include/zephyr/bluetooth/
Diso.h3 * @brief Bluetooth ISO handling
16 * @brief Isochronous channels (ISO)
17 * @defgroup bt_iso Isochronous channels (ISO)
44 * @brief Headroom needed for outgoing ISO SDUs
49 * @brief Helper to calculate needed buffer size for ISO SDUs.
52 * @param mtu Required ISO SDU size
54 * @return Needed buffer size to match the requested ISO SDU MTU.
68 /** Value to set the ISO data path over HCi. */
77 /** Minimum ISO interval (N * 1.25 ms) */
79 /** Maximum ISO interval (N * 1.25 ms) */
[all …]
/Zephyr-4.1.0/samples/bluetooth/iso_central/
Doverlay-bt_ll_sw_split.conf15 # Sufficient ISO SDU and PDU length for this sample with ISO_TX_MTU of 247
23 # Support the highest SDU size required by this sample 247 + 8 bytes of HCI ISO Data
24 # packet overhead (timestamp and HCI ISO Data packet header)
28 # Use Low Latency Connected ISO policy
/Zephyr-4.1.0/samples/bluetooth/iso_broadcast/
DKconfig4 mainmenu "Bluetooth: ISO Broadcast"
9 Use interleaved packing between BIS ISO stream subevents.
16 Only print the packet report once in a given interval of ISO packets.
/Zephyr-4.1.0/tests/bsim/bluetooth/host/iso/frag_2/
Dprj.conf10 CONFIG_BT_DEVICE_NAME="ISO frag test 2"
22 # Controller ISO configs
32 # ISO Broadcaster Controller
/Zephyr-4.1.0/samples/bluetooth/iso_connected_benchmark/
DREADME.rst5 Measure packet loss and sync loss in connected ISO channels.
7 The ISO Connected Channels Benchmark sample measures and reports packet loss
8 and sync loss in connected ISO channels.
14 and measures the quality of the ISO channels.
51 #. Optionally modify the central ISO settings using the console.
53 #. Observe the receive statistics on the devices (the connected ISO channels may
67 [00:00:10.281,555] <inf> iso_connected: Registering ISO server
71 [00:00:16.711,669] <inf> iso_connected: Waiting for ISO connection
72 [00:00:16.802,856] <inf> iso_connected: Incoming ISO request
74 [00:00:17.016,845] <inf> iso_connected: ISO Channel 0x20002934 connected
[all …]
/Zephyr-4.1.0/tests/bsim/bluetooth/ll/cis/
DKconfig33 int "Skip peripheral ISO events count, all subevents in them"
36 Skip peripheral ISO events count where all subevents are skipped.
46 int "Skip central ISO events count, all subevents in them"
49 Skip central ISO events count where all subevents are skipped.

12345678910>>...18