samples: Bluetooth: ISO: Rename ISO central and peripheral

The samples had a _iso suffix, but the other ISO samples
prefix iso_.

Renames the central and peripheral sample so that they
prefix iso_ rather than suffix _iso.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-08-28 15:19:24 +02:00 committed by Alberto Escolar
commit 0f5d0f3555
13 changed files with 14 additions and 14 deletions

View file

@ -404,7 +404,6 @@ Bluetooth Host:
- samples/bluetooth/hci_*/ - samples/bluetooth/hci_*/
- samples/bluetooth/pbp*/ - samples/bluetooth/pbp*/
- samples/bluetooth/tmap*/ - samples/bluetooth/tmap*/
- samples/bluetooth/*_iso/
- samples/bluetooth/iso_*/ - samples/bluetooth/iso_*/
- samples/bluetooth/mesh*/ - samples/bluetooth/mesh*/
- subsys/bluetooth/shell/bredr.c - subsys/bluetooth/shell/bredr.c
@ -522,7 +521,6 @@ Bluetooth ISO:
files: files:
- include/zephyr/bluetooth/iso.h - include/zephyr/bluetooth/iso.h
- doc/connectivity/bluetooth/api/shell/iso.rst - doc/connectivity/bluetooth/api/shell/iso.rst
- samples/bluetooth/*_iso/
- samples/bluetooth/iso_*/ - samples/bluetooth/iso_*/
- subsys/bluetooth/shell/iso.c - subsys/bluetooth/shell/iso.c
- subsys/bluetooth/Kconfig.iso - subsys/bluetooth/Kconfig.iso

View file

@ -206,6 +206,8 @@ REDIRECTS = [
('samples/bluetooth/broadcast_audio_assistant/README', 'samples/bluetooth/bap_broadcast_assistant/README'), ('samples/bluetooth/broadcast_audio_assistant/README', 'samples/bluetooth/bap_broadcast_assistant/README'),
('samples/bluetooth/broadcast_audio_sink/README', 'samples/bluetooth/bap_broadcast_sink/README'), ('samples/bluetooth/broadcast_audio_sink/README', 'samples/bluetooth/bap_broadcast_sink/README'),
('samples/bluetooth/broadcast_audio_source/README', 'samples/bluetooth/bap_broadcast_source/README'), ('samples/bluetooth/broadcast_audio_source/README', 'samples/bluetooth/bap_broadcast_source/README'),
('samples/bluetooth/central_iso/README', 'samples/bluetooth/iso_central/README'),
('samples/bluetooth/peripheral_iso/README', 'samples/bluetooth/iso_peripheral/README'),
('samples/bluetooth/public_broadcast_sink/README', 'samples/bluetooth/pbp_public_broadcast_sink/README'), ('samples/bluetooth/public_broadcast_sink/README', 'samples/bluetooth/pbp_public_broadcast_sink/README'),
('samples/bluetooth/public_broadcast_source/README', 'samples/bluetooth/pbp_public_broadcast_source/README'), ('samples/bluetooth/public_broadcast_source/README', 'samples/bluetooth/pbp_public_broadcast_source/README'),
('samples/bluetooth/unicast_audio_client/README', 'samples/bluetooth/bap_unicast_client/README'), ('samples/bluetooth/unicast_audio_client/README', 'samples/bluetooth/bap_unicast_client/README'),

View file

@ -1,6 +1,6 @@
.. _bluetooth_central_iso: .. _bluetooth_iso_central:
Bluetooth: Central ISO Bluetooth: ISO Central
###################### ######################
Overview Overview
@ -9,7 +9,7 @@ Overview
This sample demonstrates how to use an isochronous channel as a central. This sample demonstrates how to use an isochronous channel as a central.
The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous channel to it. The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous channel to it.
Once the isochronous channel is connected, isochronous data is transferred to the peer device every 10 milliseconds. Once the isochronous channel is connected, isochronous data is transferred to the peer device every 10 milliseconds.
It is recommended to run this sample together with the :ref:`Bluetooth: Peripheral ISO <peripheral_iso>` sample. It is recommended to run this sample together with the :ref:`Bluetooth: ISO Peripheral <iso_peripheral>` sample.
To run the sample with an encrypted isochronous channel, enable :kconfig:option:`CONFIG_BT_SMP`. To run the sample with an encrypted isochronous channel, enable :kconfig:option:`CONFIG_BT_SMP`.
@ -23,7 +23,7 @@ Requirements
Building and Running Building and Running
******************** ********************
This sample can be found under :zephyr_file:`samples/bluetooth/central_iso` in This sample can be found under :zephyr_file:`samples/bluetooth/iso_central` in
the Zephyr tree. the Zephyr tree.
1. Start the application. 1. Start the application.

View file

@ -2,13 +2,13 @@ sample:
description: Bluetooth ISO central (client) sample description: Bluetooth ISO central (client) sample
name: Bluetooth ISO central (client) sample name: Bluetooth ISO central (client) sample
tests: tests:
sample.bluetooth.central_iso: sample.bluetooth.iso_central:
harness: bluetooth harness: bluetooth
platform_allow: qemu_x86 platform_allow: qemu_x86
integration_platforms: integration_platforms:
- qemu_x86 - qemu_x86
tags: bluetooth tags: bluetooth
sample.bluetooth.central_iso.bt_ll_sw_split: sample.bluetooth.iso_central.bt_ll_sw_split:
harness: bluetooth harness: bluetooth
platform_allow: platform_allow:
- qemu_cortex_m3 - qemu_cortex_m3

View file

@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.20.0) cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(peripheral_iso) project(iso_peripheral)
target_sources(app PRIVATE target_sources(app PRIVATE
src/main.c src/main.c

View file

@ -1,6 +1,6 @@
.. _peripheral_iso: .. _iso_peripheral:
Bluetooth: Peripheral ISO Bluetooth: ISO Peripheral
######################### #########################
Overview Overview
@ -9,7 +9,7 @@ Overview
This sample demonstrates how to use isochronous channels as a peripheral. This sample demonstrates how to use isochronous channels as a peripheral.
The sample starts advertising, waits for a central to connect to it and set up an isochronous channel. The sample starts advertising, waits for a central to connect to it and set up an isochronous channel.
Once the isochronous channel is set up, received isochronous data is printed out. Once the isochronous channel is set up, received isochronous data is printed out.
It is recommended to run this sample together with the :ref:`Bluetooth: Central ISO <bluetooth_central_iso>` sample. It is recommended to run this sample together with the :ref:`Bluetooth: Central ISO <bluetooth_iso_central>` sample.
Requirements Requirements
************ ************
@ -22,7 +22,7 @@ Requirements
Building and Running Building and Running
******************** ********************
This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_iso` in the Zephyr tree. This sample can be found under :zephyr_file:`samples/bluetooth/iso_peripheral` in the Zephyr tree.
1. Start the application. 1. Start the application.
In the terminal window, check that it is advertising. In the terminal window, check that it is advertising.

View file

@ -2,7 +2,7 @@ sample:
description: Bluetooth ISO peripheral (server) sample description: Bluetooth ISO peripheral (server) sample
name: Bluetooth ISO peripheral (server) sample name: Bluetooth ISO peripheral (server) sample
tests: tests:
sample.bluetooth.peripheral_iso: sample.bluetooth.iso_peripheral:
harness: bluetooth harness: bluetooth
platform_allow: qemu_x86 platform_allow: qemu_x86
tags: bluetooth tags: bluetooth