Skip to content

Commit 124c08f

Browse files
maxd-nordicrlubos
authored andcommitted
samples: cellular: deprecate lte_ble_gateway
Deprecate old lte_ble_gateway sample. Signed-off-by: Maximilian Deubel <[email protected]>
1 parent 2f6c6fc commit 124c08f

File tree

4 files changed

+44
-8
lines changed

4 files changed

+44
-8
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@
511511
/samples/cellular/slm_shell/ @nrfconnect/ncs-iot-oulu
512512
/samples/cellular/sms/ @nrfconnect/ncs-modem-tre
513513
/samples/cellular/uicc_lwm2m/ @stig-bjorlykke
514+
/samples/cellular/lte_ble_gateway/ @nrfconnect/ncs-cia
514515
/samples/common/ @nrfconnect/ncs-si-muffin @nrfconnect/ncs-si-bluebagel
515516
/samples/crypto/ @nrfconnect/ncs-aegir
516517
/samples/debug/memfault/ @nrfconnect/ncs-cia

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ Bluetooth Fast Pair samples
265265
Cellular samples
266266
----------------
267267

268-
|no_changes_yet_note|
268+
* :ref:`lte_sensor_gateway` sample:
269+
270+
* The sample is no longer maintained and is now deprecated.
271+
269272

270273
Cryptography samples
271274
--------------------

samples/cellular/lte_ble_gateway/README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The LTE Sensor Gateway sample demonstrates how to transmit sensor data from an n
1212
The sensor data is collected using Bluetooth® Low Energy.
1313
Therefore, this sample acts as a gateway between the Bluetooth LE and the LTE connections to nRF Cloud.
1414

15+
.. note::
16+
17+
This sample is deprecated and no longer maintained.
18+
It will be removed from the |NCS| in a future release.
19+
1520
Requirements
1621
************
1722

samples/cellular/modem_shell/README.rst

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,19 +1279,46 @@ BT shell support
12791279
To build the MoSh sample with Zephyr BT shell command support, use the :file:`-DDTC_OVERLAY_FILE=bt.overlay` and :file:`-DEXTRA_CONF_FILE=overlay-bt.conf` options.
12801280
When running this configuration, you can perform BT scanning and advertising using the ``bt`` command.
12811281

1282-
Compile as follows:
1282+
You must program the *board controller* with the :ref:`bluetooth-hci-lpuart-sample` sample first, before programming the main controller with the :ref:`modem_shell_application` sample.
1283+
Program the board controller as follows:
12831284

1284-
.. code-block:: console
1285+
1. Set the **SW10** switch, marked as *debug/prog*, in the **NRF52** position.
1286+
On nRF9160 DK board version 0.9.0 and earlier versions, the switch was called **SW5**.
1287+
#. Build the :ref:`bluetooth-hci-lpuart-sample` sample for the ``nrf9160dk/nrf52840`` board target and program the board controller with it.
12851288

1286-
west build -p -b nrf9160dk/nrf9160/ns -- -DDTC_OVERLAY_FILE="bt.overlay" -DEXTRA_CONF_FILE="overlay-bt.conf"
1289+
.. note::
1290+
To build the sample successfully, you must specify the board version along with the board target.
1291+
The board version is printed on the label of your DK, just below the PCA number.
1292+
For example, for board version 1.1.0, build the sample as follows:
12871293

1288-
Additionally, you need to program the nRF52840 side of the nRF9160 DK as instructed in :ref:`lte_sensor_gateway`.
1294+
.. parsed-literal::
1295+
:class: highlight
12891296
1290-
Compile the :ref:`bluetooth-hci-lpuart-sample` sample as follows:
1297+
west build --board [email protected]/nrf52840
12911298
1292-
.. code-block:: console
1299+
#. Verify that the programming was successful.
1300+
Use a terminal emulator, like the `Serial Terminal app`_, to connect to the second serial port and check the output.
1301+
See :ref:`test_and_optimize` for the required settings and steps.
1302+
1303+
After programming the board controller, you must program the main controller with the :ref:`modem_shell_application` sample.
1304+
Program the main controller as follows:
1305+
1306+
1. Set the **SW10** switch, marked as *debug/prog*, in the **NRF91** position.
1307+
On nRF9160 DK board version 0.9.0 and earlier versions, the switch was called **SW5**.
1308+
#. Build the sample for the ``nrf9160dk/nrf9160/ns`` board target and program the main controller with it.
12931309

1294-
west build -p -b nrf9160dk/nrf52840
1310+
.. note::
1311+
To build the sample successfully, you must specify the board version along with the board target.
1312+
For example, for board version 1.1.0, build the sample as follows:
1313+
1314+
.. parsed-literal::
1315+
:class: highlight
1316+
1317+
west build -p -b [email protected]/nrf9160/ns -- -DDTC_OVERLAY_FILE="bt.overlay" -DEXTRA_CONF_FILE="overlay-bt.conf"
1318+
1319+
#. Verify that the programming was successful.
1320+
Use a terminal emulator, like the `Serial Terminal app`_, to connect to the first serial port and check the output.
1321+
See :ref:`test_and_optimize` for the required settings and steps.
12951322

12961323
The following example demonstrates how to use MoSh with two development kits, where one acts as a broadcaster and the other one as an observer.
12971324

0 commit comments

Comments
 (0)