Home
last modified time | relevance | path

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

12345678910>>...17

/Zephyr-latest/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-latest/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-latest/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-latest/tests/bluetooth/audio/mocks/src/
Diso.c11 #include <zephyr/bluetooth/iso.h>
14 #include "iso.h"
79 void mock_bt_iso_connected(struct bt_conn *iso) in mock_bt_iso_connected() argument
81 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected()
84 chan->iso = iso; in mock_bt_iso_connected()
97 struct bt_conn *iso; in mock_bt_iso_accept() local
109 iso = malloc(sizeof(struct bt_conn)); in mock_bt_iso_accept()
110 zassert_not_null(iso); in mock_bt_iso_accept()
112 iso->chan = (*chan); in mock_bt_iso_accept()
113 mock_bt_iso_connected(iso); in mock_bt_iso_accept()
[all …]
/Zephyr-latest/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 …]
/Zephyr-latest/samples/bluetooth/hci_uart_3wire/
Doverlay-all-bt_ll_sw_split.conf16 # Broadcast and Connected ISO
22 # ISO Streams
91 # ISO Broadcaster Controller
101 # ISO Receive Controller
111 # ISO Connection Oriented
121 # ISO Transmissions
126 # ISO Receptions
133 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-latest/samples/bluetooth/hci_uart/
Doverlay-all-bt_ll_sw_split.conf16 # Broadcast and Connected ISO
22 # ISO Streams
92 # ISO Broadcaster Controller
102 # ISO Receive Controller
112 # ISO Connection Oriented
122 # ISO Transmissions
127 # ISO Receptions
134 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/sysbuild/hci_ipc/
Dnrf5340_cpunet_iso_acl_group-bt_ll_sw_split.conf35 # Broadcast and Connected ISO
41 # ISO Streams
85 # ISO Broadcaster Controller
92 # ISO Receive Controller
99 # ISO Connection Oriented
107 # ISO Transmissions
112 # ISO Receptions
/Zephyr-latest/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-latest/tests/bsim/bluetooth/audio/
Doverlay-bt_ll_sw_split.conf48 # ISO Broadcaster Controller
58 # ISO Receive Controller
68 # ISO Connection Oriented
78 # ISO Transmissions
83 # ISO Receptions
90 # Ignore HCI ISO data Tx sequence numbers
/Zephyr-latest/samples/bluetooth/hci_ipc/
Dnrf5340_cpunet_iso-bt_ll_sw_split.conf39 # Broadcast and Connected ISO
45 # ISO Streams
102 # ISO Broadcaster Controller
112 # ISO Receive Controller
122 # ISO Connection Oriented
132 # ISO Transmissions
137 # ISO Receptions
144 # Ignore HCI ISO data Tx sequence numbers
Dnrf5340_cpunet_bis-bt_ll_sw_split.conf35 # Broadcast and Connected ISO
41 # ISO Streams
85 # ISO Broadcaster Controller
95 # ISO Receive Controller
105 # ISO Transmissions
110 # ISO Receptions
Dnrf5340_cpunet_cis-bt_ll_sw_split.conf34 # Broadcast and Connected ISO
40 # ISO Streams
86 # ISO Connection Oriented
96 # ISO Transmissions
101 # ISO Receptions
Dnrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf36 # ISO Streams
50 # ISO Connection Oriented
60 # ISO Transmissions
65 # ISO Receptions
/Zephyr-latest/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-latest/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-latest/subsys/bluetooth/
DKconfig.iso74 int "Maximum number of simultaneous ISO channels"
91 int "Number of ISO TX fragment buffers"
109 HCI ISO Data packet fields (e.g. `struct bt_hci_iso_sdu_ts_hdr`).
111 HCI ISO Data packet with Data_Total_Length of 255, utilizing
128 HCI ISO Data packet fields (e.g. `struct bt_hci_iso_sdu_ts_hdr`)
131 bool "ISO test parameters support"
133 Enabling advanced ISO parameters will allow the use of the ISO test
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag_2/
Dprj.conf10 CONFIG_BT_DEVICE_NAME="ISO frag test 2"
22 # Controller ISO configs
31 # ISO Broadcaster Controller
/Zephyr-latest/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-latest/samples/bluetooth/iso_broadcast/
Doverlay-bt_ll_sw_split.conf7 # Enable support for Broadcast ISO in Zephyr Bluetooth Controller
10 # Sufficient ISO PDU length for this sample
17 # Support the highest SDU size required by any BAP LC3 presets (155) + 8 bytes of HCI ISO Data
/Zephyr-latest/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.
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/
Doverlay-bt_ll_sw_split.conf7 # Enable support for Broadcast ISO in Zephyr Bluetooth Controller
10 # Sufficient ISO PDU length for any BAP LC3 presets (155)
17 # Support the highest SDU size required by any BAP LC3 presets (155) + 8 bytes of HCI ISO Data
/Zephyr-latest/samples/bluetooth/iso_receive/
DKconfig6 mainmenu "Bluetooth: ISO Receive"
13 Only print the packet report once in a given interval of ISO packets.
18 Align interval-counter with packet number from incoming ISO packets.

12345678910>>...17