/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | bap_iso.c | 1 /* 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 …]
|
D | bap_iso.h | 2 * @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-Core-3.7.0/doc/connectivity/bluetooth/api/shell/ |
D | iso.rst | 9 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.7.0/subsys/bluetooth/host/ |
D | iso.c | 1 /* Bluetooth ISO */ 23 #include <zephyr/bluetooth/iso.h> 52 #define iso_chan(_iso) ((_iso)->iso.chan); 77 static void bt_iso_remove_data_path(struct bt_conn *iso); 95 static void bt_iso_sent_cb(struct bt_conn *iso, void *user_data, int err) in bt_iso_sent_cb() argument 98 struct bt_iso_chan *chan = iso->iso.chan; in bt_iso_sent_cb() 101 __ASSERT(chan != NULL, "NULL chan for iso %p", iso); in bt_iso_sent_cb() 115 struct bt_conn *iso; in hci_iso() local 121 LOG_ERR("Invalid HCI ISO packet size (%u)", buf->len); in hci_iso() 131 iso(buf)->handle = bt_iso_handle(handle); in hci_iso() [all …]
|
D | iso_internal.h | 2 * @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.7.0/tests/bluetooth/audio/mocks/src/ |
D | iso.c | 8 #include <zephyr/bluetooth/iso.h> 11 #include "iso.h" 76 void mock_bt_iso_connected(struct bt_conn *iso) in mock_bt_iso_connected() argument 78 struct bt_iso_chan *chan = iso->chan; in mock_bt_iso_connected() 81 chan->iso = iso; in mock_bt_iso_connected() 94 struct bt_conn *iso; in mock_bt_iso_accept() local 106 iso = malloc(sizeof(struct bt_conn)); in mock_bt_iso_accept() 107 zassert_not_null(iso); in mock_bt_iso_accept() 109 iso->chan = (*chan); in mock_bt_iso_accept() 110 mock_bt_iso_connected(iso); in mock_bt_iso_accept() [all …]
|
/Zephyr-Core-3.7.0/tests/bluetooth/ctrl_isoal/ |
D | Kconfig | 1 # 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-Core-3.7.0/subsys/bluetooth/controller/ll_sw/ |
D | isoal.h | 28 /** 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.7.0/samples/bluetooth/hci_uart_3wire/ |
D | overlay-all-bt_ll_sw_split.conf | 14 # Broadcast and Connected ISO 20 # ISO Streams 78 # ISO Broadcaster Controller 85 # ISO Receive Controller 92 # ISO Connection Oriented 98 # ISO Transmissions 103 # ISO Receptions
|
/Zephyr-Core-3.7.0/samples/bluetooth/hci_uart/ |
D | overlay-all-bt_ll_sw_split.conf | 14 # 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.7.0/samples/bluetooth/hci_ipc/ |
D | nrf5340_cpunet_iso-bt_ll_sw_split.conf | 36 # Broadcast and Connected ISO 42 # ISO Streams 84 # ISO Broadcaster Controller 91 # ISO Receive Controller 98 # ISO Connection Oriented 104 # ISO Transmissions 109 # ISO Receptions
|
D | nrf5340_cpunet_bis-bt_ll_sw_split.conf | 32 # Broadcast and Connected ISO 38 # ISO Streams 76 # ISO Broadcaster Controller 83 # ISO Receive Controller 90 # ISO Transmissions 95 # ISO Receptions
|
D | nrf5340_cpunet_cis-bt_ll_sw_split.conf | 31 # Broadcast and Connected ISO 37 # ISO Streams 77 # ISO Connection Oriented 83 # ISO Transmissions 88 # ISO Receptions
|
D | nrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf | 36 # ISO Streams 44 # ISO Connection Oriented 50 # ISO Transmissions 55 # ISO Receptions
|
D | nrf5340_cpunet_iso_central-bt_ll_sw_split.conf | 36 # ISO Streams 44 # ISO Connection Oriented 50 # ISO Transmissions 55 # ISO Receptions
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/cis/sysbuild/hci_ipc/ |
D | nrf5340_cpunet_iso_acl_group-bt_ll_sw_split.conf | 33 # Broadcast and Connected ISO 39 # ISO Streams 83 # ISO Broadcaster Controller 90 # ISO Receive Controller 97 # ISO Connection Oriented 105 # ISO Transmissions 110 # ISO Receptions
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/ |
D | iso.h | 3 * @brief Bluetooth ISO handling 16 * @brief Isochronous channels (ISO) 17 * @defgroup bt_iso Isochronous channels (ISO) 37 * @brief Headroom needed for outgoing ISO SDUs 42 * @brief Helper to calculate needed buffer size for ISO SDUs. 45 * @param mtu Required ISO SDU size 47 * @return Needed buffer size to match the requested ISO SDU MTU. 61 /** Value to set the ISO data path over HCi. */ 68 /** Minimum ISO interval (N * 1.25 ms) */ 70 /** Maximum ISO interval (N * 1.25 ms) */ [all …]
|
/Zephyr-Core-3.7.0/samples/bluetooth/central_iso/ |
D | overlay-bt_ll_sw_split.conf | 15 # 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-Core-3.7.0/subsys/bluetooth/ |
D | Kconfig.iso | 74 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-Core-3.7.0/samples/bluetooth/iso_receive/ |
D | Kconfig | 6 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.7.0/tests/bsim/bluetooth/ll/cis/ |
D | Kconfig | 33 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.7.0/samples/bluetooth/iso_broadcast/ |
D | overlay-bt_ll_sw_split.conf | 7 # 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-Core-3.7.0/samples/bluetooth/iso_connected_benchmark/ |
D | README.rst | 6 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 …]
|
/Zephyr-Core-3.7.0/samples/bluetooth/pbp_public_broadcast_source/ |
D | overlay-bt_ll_sw_split.conf | 7 # 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-Core-3.7.0/samples/bluetooth/bap_broadcast_source/ |
D | overlay-bt_ll_sw_split.conf | 7 # 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
|