Skip to content

Commit 0f5d0f3

Browse files
Thalleyaescolar
authored andcommitted
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 <[email protected]>
1 parent 5eda8e7 commit 0f5d0f3

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

MAINTAINERS.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ Bluetooth Host:
404404
- samples/bluetooth/hci_*/
405405
- samples/bluetooth/pbp*/
406406
- samples/bluetooth/tmap*/
407-
- samples/bluetooth/*_iso/
408407
- samples/bluetooth/iso_*/
409408
- samples/bluetooth/mesh*/
410409
- subsys/bluetooth/shell/bredr.c
@@ -522,7 +521,6 @@ Bluetooth ISO:
522521
files:
523522
- include/zephyr/bluetooth/iso.h
524523
- doc/connectivity/bluetooth/api/shell/iso.rst
525-
- samples/bluetooth/*_iso/
526524
- samples/bluetooth/iso_*/
527525
- subsys/bluetooth/shell/iso.c
528526
- subsys/bluetooth/Kconfig.iso

doc/_scripts/redirects.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@
206206
('samples/bluetooth/broadcast_audio_assistant/README', 'samples/bluetooth/bap_broadcast_assistant/README'),
207207
('samples/bluetooth/broadcast_audio_sink/README', 'samples/bluetooth/bap_broadcast_sink/README'),
208208
('samples/bluetooth/broadcast_audio_source/README', 'samples/bluetooth/bap_broadcast_source/README'),
209+
('samples/bluetooth/central_iso/README', 'samples/bluetooth/iso_central/README'),
210+
('samples/bluetooth/peripheral_iso/README', 'samples/bluetooth/iso_peripheral/README'),
209211
('samples/bluetooth/public_broadcast_sink/README', 'samples/bluetooth/pbp_public_broadcast_sink/README'),
210212
('samples/bluetooth/public_broadcast_source/README', 'samples/bluetooth/pbp_public_broadcast_source/README'),
211213
('samples/bluetooth/unicast_audio_client/README', 'samples/bluetooth/bap_unicast_client/README'),

samples/bluetooth/central_iso/README.rst renamed to samples/bluetooth/iso_central/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.. _bluetooth_central_iso:
1+
.. _bluetooth_iso_central:
22

3-
Bluetooth: Central ISO
3+
Bluetooth: ISO Central
44
######################
55

66
Overview
@@ -9,7 +9,7 @@ Overview
99
This sample demonstrates how to use an isochronous channel as a central.
1010
The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous channel to it.
1111
Once the isochronous channel is connected, isochronous data is transferred to the peer device every 10 milliseconds.
12-
It is recommended to run this sample together with the :ref:`Bluetooth: Peripheral ISO <peripheral_iso>` sample.
12+
It is recommended to run this sample together with the :ref:`Bluetooth: ISO Peripheral <iso_peripheral>` sample.
1313

1414
To run the sample with an encrypted isochronous channel, enable :kconfig:option:`CONFIG_BT_SMP`.
1515

@@ -23,7 +23,7 @@ Requirements
2323

2424
Building and Running
2525
********************
26-
This sample can be found under :zephyr_file:`samples/bluetooth/central_iso` in
26+
This sample can be found under :zephyr_file:`samples/bluetooth/iso_central` in
2727
the Zephyr tree.
2828

2929
1. Start the application.
File renamed without changes.

samples/bluetooth/central_iso/sample.yaml renamed to samples/bluetooth/iso_central/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ sample:
22
description: Bluetooth ISO central (client) sample
33
name: Bluetooth ISO central (client) sample
44
tests:
5-
sample.bluetooth.central_iso:
5+
sample.bluetooth.iso_central:
66
harness: bluetooth
77
platform_allow: qemu_x86
88
integration_platforms:
99
- qemu_x86
1010
tags: bluetooth
11-
sample.bluetooth.central_iso.bt_ll_sw_split:
11+
sample.bluetooth.iso_central.bt_ll_sw_split:
1212
harness: bluetooth
1313
platform_allow:
1414
- qemu_cortex_m3

samples/bluetooth/peripheral_iso/CMakeLists.txt renamed to samples/bluetooth/iso_peripheral/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
cmake_minimum_required(VERSION 3.20.0)
44
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5-
project(peripheral_iso)
5+
project(iso_peripheral)
66

77
target_sources(app PRIVATE
88
src/main.c

samples/bluetooth/peripheral_iso/README.rst renamed to samples/bluetooth/iso_peripheral/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.. _peripheral_iso:
1+
.. _iso_peripheral:
22

3-
Bluetooth: Peripheral ISO
3+
Bluetooth: ISO Peripheral
44
#########################
55

66
Overview
@@ -9,7 +9,7 @@ Overview
99
This sample demonstrates how to use isochronous channels as a peripheral.
1010
The sample starts advertising, waits for a central to connect to it and set up an isochronous channel.
1111
Once the isochronous channel is set up, received isochronous data is printed out.
12-
It is recommended to run this sample together with the :ref:`Bluetooth: Central ISO <bluetooth_central_iso>` sample.
12+
It is recommended to run this sample together with the :ref:`Bluetooth: Central ISO <bluetooth_iso_central>` sample.
1313

1414
Requirements
1515
************
@@ -22,7 +22,7 @@ Requirements
2222
Building and Running
2323
********************
2424

25-
This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_iso` in the Zephyr tree.
25+
This sample can be found under :zephyr_file:`samples/bluetooth/iso_peripheral` in the Zephyr tree.
2626

2727
1. Start the application.
2828
In the terminal window, check that it is advertising.

0 commit comments

Comments
 (0)