• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-283199

CMakeLists.txtD04-Jan-2025262 128

README.rstD04-Jan-20251.6 KiB4833

overlay-bt_ll_sw_split.confD04-Jan-20251.1 KiB3412

prj.confD04-Jan-202569 54

sample.yamlD04-Jan-2025574 2221

README.rst

1.. zephyr:code-sample:: ble_central_iso
2   :name: ISO (Central)
3   :relevant-api: bt_iso bluetooth
4
5   Transfer isochronous data to a peer device using an isochronous channel as a central.
6
7Overview
8********
9
10This sample demonstrates how to use an isochronous channel as a central.
11The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous channel to it.
12Once the isochronous channel is connected, isochronous data is transferred to the peer device every 10 milliseconds.
13It is recommended to run this sample together with the :zephyr:code-sample:`ble_peripheral_iso` sample.
14
15To run the sample with an encrypted isochronous channel, enable :kconfig:option:`CONFIG_BT_SMP`.
16
17Requirements
18************
19
20* BlueZ running on the host, or
21* A board with Bluetooth Low Energy 5.2 support
22* A Bluetooth Controller and board that supports setting
23  :kconfig:option:`CONFIG_BT_CTLR_CENTRAL_ISO`.
24
25Building and Running
26********************
27This sample can be found under :zephyr_file:`samples/bluetooth/iso_central` in
28the Zephyr tree.
29
301. Start the application.
31   In the terminal window, check that it is scanning for other devices.
32
33      Bluetooth initialized
34      Scanning successfully started
35      Device found: D3:3A:5D:F5:73:33 (random) (RSSI -78)
36      Device found: 70:7B:F4:2B:76:AD (random) (RSSI -68)
37      Device found: 65:CF:20:0D:CB:9D (random) (RSSI -82)
38
392. Observe that the device connects.
40
41      Connected: 65:CF:20:0D:CB:9D (random)
42
433. Observe that the ISO channel is connected
44
45      ISO Channel 0x200048f8 connected
46
47See :zephyr:code-sample-category:`bluetooth` samples for more details.
48