Home
last modified time | relevance | path

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

12345678910>>...12

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dbap_iso.c1 /* bap_iso.c - BAP ISO handling */
25 struct bt_bap_iso *iso = NULL; in bt_bap_iso_new() local
29 iso = &iso_pool[i]; in bt_bap_iso_new()
34 if (!iso) { in bt_bap_iso_new()
38 (void)memset(iso, 0, offsetof(struct bt_bap_iso, ref)); in bt_bap_iso_new()
40 return iso; in bt_bap_iso_new()
43 struct bt_bap_iso *bt_bap_iso_ref(struct bt_bap_iso *iso) in bt_bap_iso_ref() argument
47 __ASSERT_NO_MSG(iso != NULL); in bt_bap_iso_ref()
55 old = atomic_get(&iso->ref); in bt_bap_iso_ref()
60 } while (!atomic_cas(&iso->ref, old, old + 1)); in bt_bap_iso_ref()
[all …]
Dbap_iso.h2 * @brief Internal APIs for BAP ISO handling
10 #include <zephyr/bluetooth/iso.h>
35 typedef bool (*bt_bap_iso_func_t)(struct bt_bap_iso *iso, void *user_data);
38 struct bt_bap_iso *bt_bap_iso_ref(struct bt_bap_iso *iso);
39 void bt_bap_iso_unref(struct bt_bap_iso *iso);
42 void bt_bap_iso_init(struct bt_bap_iso *iso, struct bt_iso_chan_ops *ops);
43 void bt_bap_iso_bind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
44 void bt_bap_iso_unbind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep);
45 struct bt_bap_ep *bt_bap_iso_get_ep(bool unicast_client, struct bt_bap_iso *iso,
54 struct bt_bap_stream *bt_bap_iso_get_stream(struct bt_bap_iso *iso, enum bt_audio_dir dir);
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/shell/
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-Core-3.5.0/subsys/bluetooth/host/
Diso.c1 /* Bluetooth ISO */
17 #include <zephyr/bluetooth/iso.h>
35 #define iso_chan(_iso) ((_iso)->iso.chan);
64 static void bt_iso_remove_data_path(struct bt_conn *iso);
83 static void bt_iso_send_cb(struct bt_conn *iso, void *user_data, int err) in bt_iso_send_cb() argument
85 struct bt_iso_chan *chan = iso->iso.chan; in bt_iso_send_cb()
88 __ASSERT(chan != NULL, "NULL chan for iso %p", iso); in bt_iso_send_cb()
103 struct bt_conn *iso; in hci_iso() local
109 LOG_ERR("Invalid HCI ISO packet size (%u)", buf->len); in hci_iso()
119 iso(buf)->handle = bt_iso_handle(handle); in hci_iso()
[all …]
Diso_internal.h2 * @brief Internal APIs for Bluetooth ISO handling.
12 #include <zephyr/bluetooth/iso.h>
21 /** ISO connection handle */
33 /** List of ISO channels to setup as CIS (the CIG). */
61 /** List of ISO channels to setup as BIS (the BIG). */
73 #define iso(buf) ((struct iso_data *)net_buf_user_data(buf)) macro
75 /* Process ISO buffer */
99 /* Notify ISO channels of a new connection */
100 void bt_iso_connected(struct bt_conn *iso);
102 /* Notify ISO channels of a disconnect event */
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/src/
Diso.c8 #include <zephyr/bluetooth/iso.h>
11 #include "iso.h"
66 void mock_bt_iso_connected(struct bt_conn *iso) in mock_bt_iso_connected() argument
68 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected()
71 chan->iso = iso; in mock_bt_iso_connected()
84 struct bt_conn *iso; in mock_bt_iso_accept() local
96 iso = malloc(sizeof(struct bt_conn)); in mock_bt_iso_accept()
97 zassert_not_null(iso); in mock_bt_iso_accept()
99 iso->chan = (*chan); in mock_bt_iso_accept()
100 mock_bt_iso_connected(iso); in mock_bt_iso_accept()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/ctrl_isoal/
DKconfig1 # Bluetooth Controller configuration options for ISO-AL Unit Tests
16 bool "[DEPRECATED] Bluetooth ISO-AL debug"
20 This option enables debug support for the Bluetooth ISO-AL.
24 module-str = "Bluetooth Controller ISO-AL"
28 bool "ISO-AL verbose debug logging"
32 Use this option to enable ISO-AL verbose debug logging.
41 int "Number of SDU fragments that the ISO-AL can buffer"
47 ISO-AL per channel. Buffering is required to compute the size of the
50 size of an SDU that can be accurately declared in the HCI ISO Data
63 bool "Enforce Strict Tx ISO Data Sequence Number use"
/Zephyr-Core-3.5.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 …]
/Zephyr-Core-3.5.0/samples/bluetooth/hci_uart/
Doverlay-all-bt_ll_sw_split.conf14 # Broadcast and Connected ISO
20 # ISO Streams
79 # ISO Broadcaster Controller
86 # ISO Receive Controller
93 # ISO Connection Oriented
99 # ISO Transmissions
104 # ISO Receptions
/Zephyr-Core-3.5.0/samples/bluetooth/hci_rpmsg/
Dnrf5340_cpunet_iso-bt_ll_sw_split.conf39 # Broadcast and Connected ISO
45 # ISO Streams
87 # ISO Broadcaster Controller
94 # ISO Receive Controller
101 # ISO Connection Oriented
107 # ISO Transmissions
112 # ISO Receptions
Dnrf5340_cpunet_bis-bt_ll_sw_split.conf39 # Broadcast and Connected ISO
45 # ISO Streams
83 # ISO Broadcaster Controller
90 # ISO Receive Controller
97 # ISO Transmissions
102 # ISO Receptions
Dnrf5340_cpunet_cis-bt_ll_sw_split.conf38 # Broadcast and Connected ISO
44 # ISO Streams
84 # ISO Connection Oriented
90 # ISO Transmissions
95 # ISO Receptions
Dnrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf43 # ISO Streams
51 # ISO Connection Oriented
57 # ISO Transmissions
62 # ISO Receptions
Dnrf5340_cpunet_iso_central-bt_ll_sw_split.conf43 # ISO Streams
51 # ISO Connection Oriented
57 # ISO Transmissions
62 # ISO Receptions
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Diso.h2 * @brief Bluetooth ISO handling
15 * @brief Isochronous channels (ISO)
16 * @defgroup bt_iso Isochronous channels (ISO)
31 * @brief Headroom needed for outgoing ISO SDUs
36 * @brief Helper to calculate needed buffer size for ISO SDUs.
39 * @param mtu Required ISO SDU size
41 * @return Needed buffer size to match the requested ISO SDU MTU.
45 /** Value to set the ISO data path over HCi. */
52 /** Minimum ISO interval (N * 1.25 ms) */
54 /** Maximum ISO interval (N * 1.25 ms) */
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/
DKconfig.iso68 int "Maximum number of simultaneous ISO channels"
85 int "Number of ISO TX fragment buffers"
103 HCI ISO Data packet fields (e.g. `struct bt_hci_iso_ts_data_hdr`).
105 HCI ISO Data packet with a size of 255, without utilizing timestamps.
121 HCI ISO Data packet fields (e.g. `struct bt_hci_iso_ts_data_hdr`)
124 bool "Advanced ISO parameters"
126 Enabling advanced ISO parameters will allow the use of the ISO test
/Zephyr-Core-3.5.0/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.
/Zephyr-Core-3.5.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.
/Zephyr-Core-3.5.0/samples/bluetooth/iso_connected_benchmark/
DREADME.rst6 The ISO Connected Channels Benchmark sample measures and reports packet loss
7 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
99 Change ISO settings (y/N)?
[all …]
Dsample.yaml2 name: BLE ISO Connected
3 description: Bluetooth Low Energy ISO Connected Benchmark sample
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/
DKconfig183 the number of RX nodes prepared in one ISO event for each
184 active ISO group. This depends on the number of bursts in an
185 ISO group and number of groups, and may need to be set lower
210 bool "ISO-AL verbose debug logging"
214 Use this option to enable ISO-AL verbose debug logging.
223 ISO AL.
232 ISO AL.
235 int "Number of SDU fragments that the ISO-AL can buffer"
241 ISO-AL per sink. Buffering is required to compute the size and status
244 maximum size of an SDU that can be accurately declared in the HCI ISO
[all …]
/Zephyr-Core-3.5.0/doc/hardware/peripherals/canbus/
Disotp.rst3 ISO-TP Transport Protocol
13 ISO-TP is a transport protocol defined in the ISO-Standard ISO15765-2 Road
23 behavior. ISO-TP segments packets into small fragments depending on the payload
42 :alt: ISO-TP Sequence
/Zephyr-Core-3.5.0/samples/bluetooth/broadcast_audio_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)
19 # otherwise Host tries to fragment ISO data.
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/ll/cis/src/
Dmain.c15 #include <zephyr/bluetooth/iso.h>
290 index = bt_conn_index(chan->iso); in iso_recv()
300 FAIL("ISO data miss match, expected %u actual %u\n", in iso_recv()
315 FAIL("%s: Invalid ISO data after valid ISO data reception.\n" in iso_recv()
327 printk("ISO Channel %p connected\n", chan); in iso_connected()
334 printk("ISO Channel %p disconnected (reason 0x%02x)\n", chan, reason); in iso_disconnected()
508 printk("Connect ISO Channel %d...", chan);
513 FAIL("Failed to connect iso (%d)\n", err);
517 printk("Waiting for ISO channel connection %d...", chan);
523 printk("connected to peer %d ISO channel.\n", chan);
[all …]
/Zephyr-Core-3.5.0/subsys/canbus/isotp/
DKconfig1 # ISO-TP configuration options
7 bool "ISO-TP Transport [EXPERIMENTAL]"
13 Enable ISO TP support for CAN
34 Timeout for the reception of the next FC frame. ISO 15765-2: 1000ms
42 ISO 15765-2: 1000ms
50 ISO 15765-2: 1000ms
140 If not set ISO-TP fixed addressing use SAE J1939 standard.

12345678910>>...12