Skip to content

Commit 9c22483

Browse files
maje-embrlubos
authored andcommitted
samples: bluetooth: Add support for nRF54L15DK
Added nRF54L15DK support in the following samples: - central_smp_client - peripheral_status Signed-off-by: Marcin Jelinski <[email protected]> (cherry picked from commit ae9c56c)
1 parent 025683b commit 9c22483

File tree

3 files changed

+70
-28
lines changed

3 files changed

+70
-28
lines changed

samples/bluetooth/central_smp_client/README.rst

Lines changed: 64 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,17 @@ The response is decoded using the `zcbor`_ library and displayed after that.
4242
User interface
4343
**************
4444

45-
Button 1:
46-
Send an echo command.
45+
.. tabs::
46+
47+
.. group-tab:: nRF52 and nRF53 DKs
48+
49+
Button 1:
50+
Send an echo command.
51+
52+
.. group-tab:: nRF54 DKs
53+
54+
Button 0:
55+
Send an echo command.
4756

4857

4958
Building and running
@@ -60,29 +69,59 @@ Testing
6069

6170
|test_sample|
6271

63-
1. |connect_kit|
64-
#. |connect_terminal|
65-
#. Reset the kit.
66-
#. Observe that the text "Starting Bluetooth Central SMP Client example" is printed on the COM listener running on the computer and the device starts scanning for Peripherals with SMP.
67-
#. Program the :zephyr:code-sample:`smp-svr` to another development kit.
68-
See the documentation for that sample only in the section "Building the sample application".
69-
When you have built the :zephyr:code-sample:`smp-svr`, call the following command to program it to the development kit::
70-
71-
west flash
72-
73-
#. Observe that the kits connect.
74-
When service discovery is completed, the event logs are printed on the Central's terminal.
75-
If you connect to the Server with a terminal emulator, you can observe that it prints "connected".
76-
#. Press **Button 1** on the Client.
77-
Observe messages similar to the following::
78-
79-
Echo test: 1
80-
Echo response part received, size: 28.
81-
Total response received - decoding
82-
{_"r": "Echo message: 1"}
83-
84-
#. Disconnect the devices by, for example, pressing the Reset button on the Central.
85-
Observe that the kits automatically reconnect and that it is again possible to send data between the two kits.
72+
.. tabs::
73+
74+
.. group-tab:: nRF52 and nRF53 DKs
75+
76+
1. |connect_kit|
77+
#. |connect_terminal|
78+
#. Reset the kit.
79+
#. Observe that the text "Starting Bluetooth Central SMP Client example" is printed on the COM listener running on the computer and the device starts scanning for Peripherals with SMP.
80+
#. Program the :zephyr:code-sample:`smp-svr` to another development kit.
81+
See the documentation for that sample only in the section "Building the sample application".
82+
When you have built the sample, run the following command to program it to the development kit::
83+
84+
west flash
85+
86+
#. Observe that the kits connect.
87+
When service discovery is completed, the event logs are printed on the Central's terminal.
88+
If you connect to the Server with a terminal emulator, you can observe that it prints "connected".
89+
#. Press **Button 1** on the Client.
90+
Observe messages similar to the following::
91+
92+
Echo test: 1
93+
Echo response part received, size: 28.
94+
Total response received - decoding
95+
{_"r": "Echo message: 1"}
96+
97+
#. Press the Reset button on the Central to disconnect the devices.
98+
Observe that the kits automatically reconnect and that it is again possible to send data between the two kits.
99+
100+
.. group-tab:: nRF54 DKs
101+
102+
1. |connect_kit|
103+
#. |connect_terminal|
104+
#. Reset the kit.
105+
#. Observe that the text "Starting Bluetooth Central SMP Client example" is printed on the COM listener running on the computer and the device starts scanning for Peripherals with SMP.
106+
#. Program the :zephyr:code-sample:`smp-svr` to another development kit.
107+
See the documentation for that sample only in the section "Building the sample application".
108+
When you have built the sample, run the following command to program it to the development kit::
109+
110+
west flash
111+
112+
#. Observe that the kits connect.
113+
When service discovery is completed, the event logs are printed on the Central's terminal.
114+
If you connect to the Server with a terminal emulator, you can observe that it prints "connected".
115+
#. Press **Button 0** on the Client.
116+
Observe messages similar to the following::
117+
118+
Echo test: 1
119+
Echo response part received, size: 28.
120+
Total response received - decoding
121+
{_"r": "Echo message: 1"}
122+
123+
#. Press the Reset button on the Central to disconnect the devices.
124+
Observe that the kits automatically reconnect and that it is again possible to send data between the two kits.
86125

87126
Dependencies
88127
************

samples/bluetooth/central_smp_client/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ tests:
88
integration_platforms:
99
- nrf52dk/nrf52832
1010
- nrf52840dk/nrf52840
11-
platform_allow: nrf52dk/nrf52832 nrf52840dk/nrf52840
11+
- nrf54l15dk/nrf54l15/cpuapp
12+
platform_allow: nrf52dk/nrf52832 nrf52840dk/nrf52840 nrf54l15dk/nrf54l15/cpuapp
1213
tags: bluetooth sysbuild
1314
sample.bluetooth.central_dfu_smp.build:
1415
sysbuild: true

samples/bluetooth/peripheral_status/sample.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ tests:
1212
- nrf5340dk/nrf5340/cpuapp/ns
1313
- thingy53/nrf5340/cpuapp
1414
- thingy53/nrf5340/cpuapp/ns
15+
- nrf54l15dk/nrf54l15/cpuapp
1516
- nrf54h20dk/nrf54h20/cpuapp
1617
platform_allow: nrf52dk/nrf52832 nrf52840dk/nrf52840 nrf52dk/nrf52810
1718
nrf5340dk/nrf5340/cpuapp nrf5340dk/nrf5340/cpuapp/ns thingy53/nrf5340/cpuapp
18-
thingy53/nrf5340/cpuapp/ns nrf54h20dk/nrf54h20/cpuapp
19+
thingy53/nrf5340/cpuapp/ns nrf54l15dk/nrf54l15/cpuapp nrf54h20dk/nrf54h20/cpuapp
1920
tags: bluetooth ci_build sysbuild
2021
sample.bluetooth.peripheral_nsms_no_security:
2122
sysbuild: true
@@ -28,8 +29,9 @@ tests:
2829
- nrf5340dk/nrf5340/cpuapp/ns
2930
- thingy53/nrf5340/cpuapp
3031
- thingy53/nrf5340/cpuapp/ns
32+
- nrf54l15dk/nrf54l15/cpuapp
3133
- nrf54h20dk/nrf54h20/cpuapp
3234
platform_allow: nrf52dk/nrf52832 nrf52840dk/nrf52840 nrf52dk/nrf52810
3335
nrf5340dk/nrf5340/cpuapp nrf5340dk/nrf5340/cpuapp/ns thingy53/nrf5340/cpuapp
34-
thingy53/nrf5340/cpuapp/ns nrf54h20dk/nrf54h20/cpuapp
36+
thingy53/nrf5340/cpuapp/ns nrf54l15dk/nrf54l15/cpuapp nrf54h20dk/nrf54h20/cpuapp
3537
tags: bluetooth ci_build sysbuild

0 commit comments

Comments
 (0)