README.rst
1.. zephyr:code-sample:: ble_peripheral_iso
2 :name: ISO (Peripheral)
3 :relevant-api: bt_bas bluetooth
4
5 Implement a Bluetooth LE Peripheral that uses isochronous channels.
6
7Overview
8********
9
10This sample demonstrates how to use isochronous channels as a peripheral.
11The sample starts advertising, waits for a central to connect to it and set up an isochronous channel.
12Once the isochronous channel is set up, received isochronous data is printed out.
13It is recommended to run this sample together with the :zephyr:code-sample:`ble_central_iso` sample.
14
15Requirements
16************
17
18* BlueZ running on the host, or
19* A board with Bluetooth Low Energy 5.2 support
20* A Bluetooth Controller and board that supports setting
21 CONFIG_BT_CTLR_PERIPHERAL_ISO=y
22
23Building and Running
24********************
25
261. Start the application.
27 In the terminal window, check that it is advertising.
28
29 Bluetooth initialized
30 Advertising successfully started
31
322. Observe that the central device connects and sets up an isochronous channel.
33
34 Connected E8:DC:8D:B3:47:69 (random)
35 Incoming request from 0x20002260
36 ISO Channel 0x20000698 connected
37
383. Observe that incoming data is printed.
39
40 Incoming data channel 0x20000698 len 1
41 00
42 Incoming data channel 0x20000698 len 2
43 0001
44 Incoming data channel 0x20000698 len 3
45 000102
46 Incoming data channel 0x20000698 len 4
47 00010203
48 Incoming data channel 0x20000698 len 5
49 0001020304
50 Incoming data channel 0x20000698 len 6
51 000102030405
52 Incoming data channel 0x20000698 len 7
53 000102...040506
54 Incoming data channel 0x20000698 len 8
55 000102...050607
56 Incoming data channel 0x20000698 len 9
57 000102...060708
58 Incoming data channel 0x20000698 len 10
59 000102...070809
60 Incoming data channel 0x20000698 len 11
61 000102...08090a
62 Incoming data channel 0x20000698 len 12
63 000102...090a0b
64
65See :zephyr:code-sample-category:`bluetooth` samples for more details.
66