zephyr/samples/bluetooth
Emil Gydesen 3e634268d6 Bluetooth: ISO: Introduce bt_iso_chan_send_ts
The bt_iso_chan_send function could take an optional
timestamp by using 0 as an indicator. The issue with
this approach was that a timestamp value of 0 is valid,
and could cause potential issue with syncing streams
in a group.

To fully support transmitting with and without timestamp,
bt_iso_chan_send_ts has been introduced, which is the only
function of the two (bt_iso_chan_send being the other) that
supports timestamps.

A new function, rather than adding a boolean to the existing,
was chosen as it simplifies the individual functions as well
as making it more explicit what the function does.

Since the bt_iso_chan_send function is used by LE audio, both
the BAP and CAP send functions have similarly been updated.
Likewise, all tests and samples have been updated to use the
updated function(s), and BT_ISO_TIMESTAMP_NONE has been
removed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-02-12 13:13:10 +01:00
..
beacon bluetooth: controller: coex: convert to DT device 2023-09-15 16:04:19 +02:00
broadcast_audio_assistant samples: Add Broadcast Assistant sample 2024-02-01 10:54:56 +01:00
broadcast_audio_sink Bluetooth: Audio: Remove LC3 from the assigned numbers defines 2024-02-05 09:14:44 -06:00
broadcast_audio_source Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
broadcaster samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
broadcaster_multiple samples: Bluetooth: Make broadcaster_multiple run on other controllers 2023-11-21 09:56:02 +01:00
bthome_sensor_template samples, tests: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
central samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_gatt_write Bluetooth: ATT: call-back on buffer destroy 2023-12-15 17:14:56 +02:00
central_hr Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
central_ht Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
central_iso Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
central_multilink samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_otc Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
central_past Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
direct_adv Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
direction_finding_central bluetooth: Rename rpmsg HCI driver and sample to ipc 2023-11-02 08:32:20 +02:00
direction_finding_connectionless_rx bluetooth: Rename rpmsg HCI driver and sample to ipc 2023-11-02 08:32:20 +02:00
direction_finding_connectionless_tx bluetooth: Rename rpmsg HCI driver and sample to ipc 2023-11-02 08:32:20 +02:00
direction_finding_peripheral bluetooth: Rename rpmsg HCI driver and sample to ipc 2023-11-02 08:32:20 +02:00
eddystone Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
encrypted_advertising samples: fully migrate basic samples to the new Sphinx extension 2023-09-13 09:15:34 +02:00
extended_adv samples: bluetooth: Added sample for Extended Advertisements 2024-02-01 14:31:27 +00:00
handsfree Bluetooth: Classic: Add support for class of device 2024-01-25 15:09:01 +00:00
hap_ha Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
hci_ipc samples/bluetooth/hci_ipc: Reduce printf size 2023-11-21 23:04:52 -05:00
hci_pwr_ctrl samples: bluetooth: rename shadow variables 2023-08-17 13:00:09 +02:00
hci_spi drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
hci_uart docs: bluetooth: Replace reference to native_posix w native_sim 2023-11-14 09:52:34 +02:00
hci_uart_async tests bsim bt: Add basic connection test with HCI UART async controllers 2024-01-10 10:01:37 +01:00
hci_usb samples: bluetooth: hci_usb: Test exclusion for stm32l562e_dk 2023-11-03 11:45:38 +01:00
hci_usb_h4 samples: bluetooth: hci_usb: Test exclusion for stm32l562e_dk 2023-11-03 11:45:38 +01:00
ibeacon Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
ipsp samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
iso_broadcast Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
iso_broadcast_benchmark Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
iso_connected_benchmark Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
iso_receive samples: bluetooth: iso_receive: Allow syncing any subevent number 2024-01-23 10:02:26 +01:00
mesh tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
mesh_demo tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
mesh_provisioner tf-m: Change NS include path for TF-M 2.0.0 2024-01-17 16:52:52 +01:00
mtu_update Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
observer samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
periodic_adv Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
periodic_adv_conn tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_adv_rsp tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_sync drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
periodic_sync_conn tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_sync_rsp Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
peripheral Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
peripheral_accept_list Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
peripheral_csc random: Rename random header 2023-10-10 14:23:50 +03:00
peripheral_dis samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_esp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_gatt_write Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
peripheral_hids samples: Fixed typos 2023-08-24 15:44:33 +02:00
peripheral_hr samples: Bluetooth: periph_hr: add use of HRS nofitication changed cb 2024-01-08 15:34:20 +02:00
peripheral_ht Bluetooth: ATT: remove BT_ATT_ENFORCE_FLOW 2023-12-06 17:53:54 +00:00
peripheral_identity samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_iso Bluetooth: samples: ISO: Check validity of incoming data 2023-06-07 15:17:36 -04:00
peripheral_ots bluetooth: ots: Fix bt_ots_init paramter struct naming 2023-06-30 16:06:08 +02:00
peripheral_past Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
peripheral_sc_only Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
public_broadcast_sink Bluetooth: Audio: Remove LC3 from the assigned numbers defines 2024-02-05 09:14:44 -06:00
public_broadcast_source Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
scan_adv Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
st_ble_sensor Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
tmap_bmr Bluetooth: Audio: Remove LC3 from the assigned numbers defines 2024-02-05 09:14:44 -06:00
tmap_bms Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
tmap_central Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
tmap_peripheral Bluetooth: Audio: Remove LC3 from the assigned numbers defines 2024-02-05 09:14:44 -06:00
unicast_audio_client Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
unicast_audio_server Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
bluetooth.rst docs: bluetooth: Replace reference to native_posix w native_sim 2023-11-14 09:52:34 +02:00