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

..--

src/03-Aug-2024-189133

CMakeLists.txtD03-Aug-2024269 128

README.rstD03-Aug-20242.1 KiB6752

prj.confD03-Aug-2024231 1311

sample.yamlD03-Aug-2024271 1110

README.rst

1.. _peripheral_iso:
2
3Bluetooth: Peripheral ISO
4#########################
5
6Overview
7********
8
9This sample demonstrates how to use isochronous channels as a peripheral.
10The sample starts advertising, waits for a central to connect to it and set up an isochronous channel.
11Once the isochronous channel is set up, received isochronous data is printed out.
12It is recommended to run this sample together with the :ref:`Bluetooth: Central ISO <bluetooth_central_iso>` sample.
13
14Requirements
15************
16
17* BlueZ running on the host, or
18* A board with Bluetooth Low Energy 5.2 support
19* A Bluetooth Controller and board that supports setting
20  CONFIG_BT_CTLR_PERIPHERAL_ISO=y
21
22Building and Running
23********************
24
25This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_iso` in the Zephyr tree.
26
271. Start the application.
28   In the terminal window, check that it is advertising.
29
30      Bluetooth initialized
31      Advertising successfully started
32
332. Observe that the central device connects and sets up an isochronous channel.
34
35      Connected E8:DC:8D:B3:47:69 (random)
36      Incoming request from 0x20002260
37      ISO Channel 0x20000698 connected
38
393. Observe that incoming data is printed.
40
41      Incoming data channel 0x20000698 len 1
42               00
43      Incoming data channel 0x20000698 len 2
44               0001
45      Incoming data channel 0x20000698 len 3
46               000102
47      Incoming data channel 0x20000698 len 4
48               00010203
49      Incoming data channel 0x20000698 len 5
50               0001020304
51      Incoming data channel 0x20000698 len 6
52               000102030405
53      Incoming data channel 0x20000698 len 7
54               000102...040506
55      Incoming data channel 0x20000698 len 8
56               000102...050607
57      Incoming data channel 0x20000698 len 9
58               000102...060708
59      Incoming data channel 0x20000698 len 10
60               000102...070809
61      Incoming data channel 0x20000698 len 11
62               000102...08090a
63      Incoming data channel 0x20000698 len 12
64               000102...090a0b
65
66See :ref:`bluetooth samples section <bluetooth-samples>` for more details.
67