Skip to content

Commit 0397675

Browse files
tejlmandcarlescufi
authored andcommitted
Revert "samples: nrf9160: Rename at_client -> at_host"
This reverts commit 7a4e366. As discussed, renaming of samples frequently used is not a good practice. Therefore the at_client sample name will be preserved, and thus the renaming commit is being reverted by this commit. Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Uma Praseeda <[email protected]>
1 parent b543bf6 commit 0397675

File tree

14 files changed

+23
-28
lines changed

14 files changed

+23
-28
lines changed

doc/nrf/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
("gs_ins_windows", "gs_installing"),
138138
("gs_ins_linux", "gs_installing"),
139139
("gs_ins_mac", "gs_installing"),
140-
("samples/nrf9160/at_client/README", "samples/nrf9160/at_host/README")
141140
]
142141

143142
# -- Options for zephyr.warnings_filter ----------------------------------------

doc/nrf/gs_programming.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ Complete the following steps to build |NCS| projects on the command line after c
154154
The Toolchain Manager dropdown menu options
155155

156156
#. Go to the specific sample or application directory.
157-
For example, to build the :ref:`at_host_sample` sample, run the following command to navigate to the sample directory:
157+
For example, to build the :ref:`at_client_sample` sample, run the following command to navigate to the sample directory:
158158

159159
.. code-block:: console
160160
161-
cd nrf/samples/nRF9160/at_host
161+
cd nrf/samples/nRF9160/at_client
162162
163163
164164
#. Build the sample or application using the west command.

doc/nrf/includes/boardname_tables/sample_boardnames.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Set used by samples (Radio Test, MPSL Timeslot)
6868

6969
.. set4_end
7070

71-
Set used by nRF9160 samples (AT Host, AWS FOTA, nRF CoAP Client, GPS sockets and SUPL client library, HTTP application update, HTTPS Client,
71+
Set used by nRF9160 samples (AT Client, AWS FOTA, nRF CoAP Client, GPS sockets and SUPL client library, HTTP application update, HTTPS Client,
7272
LTE Sensor Gateway, LwM2M carrier, LwM2M Client, Simple MQTT, Secure Services Sample) and application (Serial LTE modem)
7373

7474
.. set5_start

doc/nrf/releases/release-notes-1.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Documentation
423423

424424
* nRF9160:
425425

426-
* nRF9160: AT Client
426+
* :ref:`at_client_sample`
427427
* :ref:`lwm2m_carrier`
428428
* :ref:`lwm2m_client`
429429
* :ref:`aws_fota_sample`

doc/nrf/releases/release-notes-1.2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ nRF9160
112112
* :ref:`cloud_client` - shows how to connect to and communicate with a cloud service using the generic :ref:`cloud_api_readme`.
113113
* :ref:`https_client` - shows how to provision a TLS certificate and connect to an HTTPS server.
114114
* :ref:`serial_lte_modem` - demonstrates sending AT commands between a host and a client device.
115-
The sample is an enhancement to the nRF9160: AT Client sample.
115+
The sample is an enhancement to the :ref:`at_client_sample` sample.
116116

117117
* Added the following libraries:
118118

doc/nrf/releases/release-notes-latest.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ nRF9160
112112

113113
* Added support for the nRF9160 pulse-density modulation (PDM) and inter-IC sound (I2S) peripherals in non-secure applications.
114114

115-
* :ref:`at_host_sample` sample:
116-
117-
* Renamed nRF9160: AT Client sample to :ref:`at_host_sample`.
118-
119115
* :ref:`gps_api`:
120116

121117
* Renamed gps_agps_request() to gps_agps_request_send().

include/net/aws_iot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To program the certificates, complete the following steps:
4242

4343
1. `Download nRF Connect for Desktop`_.
4444
#. Update the modem firmware on the on-board modem of the nRF9160-based kit to the latest version by following the steps in `Updating the nRF9160 DK cellular modem`_.
45-
#. Build and program the :ref:`at_host_sample` sample to the nRF9160-based kit as explained in :ref:`gs_programming`.
45+
#. Build and program the :ref:`at_client_sample` sample to the nRF9160-based kit as explained in :ref:`gs_programming`.
4646
#. Launch the `LTE Link Monitor`_ application, which is implemented as part of `nRF Connect for Desktop`_.
4747
#. Click :guilabel:`Certificate manager` located at the top right corner.
4848
#. Copy and paste the certificates downloaded earlier from the AWS IoT console into the respective entries (``CA certificate``, ``Client certificate``, ``Private key``).

include/net/azure_iot_hub.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To provision the certificates and the private key to the nRF9160 modem, complete
4747

4848
1. `Download nRF Connect for Desktop`_.
4949
#. Update the modem firmware on the onboard modem of the nRF9160-based device to the latest version by following the steps in `Updating the nRF9160 DK cellular modem`_.
50-
#. Build and program the :ref:`at_host_sample` sample to the nRF9160-based device as explained in :ref:`gs_programming`.
50+
#. Build and program the :ref:`at_client_sample` sample to the nRF9160-based device as explained in :ref:`gs_programming`.
5151
#. Launch the `LTE Link Monitor`_ application, which is part of `nRF Connect for Desktop`_.
5252
#. Click :guilabel:`Certificate manager` located at the top right corner.
5353
#. Copy the Baltimore CyberTrust Root certificate into the ``CA certificate`` entry.

samples/nrf9160/at_host/README.rst renamed to samples/nrf9160/at_client/README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
.. _at_host_sample:
1+
.. _at_client_sample:
22

3-
nRF9160: AT Host
4-
################
3+
nRF9160: AT Client
4+
##################
55

66
.. contents::
77
:local:
88
:depth: 2
99

10-
The AT Host sample demonstrates the asynchronous serial communication taking place over UART to the nRF9160 modem.
10+
The AT Client sample demonstrates the asynchronous serial communication taking place over UART to the nRF9160 modem.
1111
The sample enables you to use an external computer or MCU to send AT commands to the LTE-M/NB-IoT modem of your nRF9160 device.
1212

1313
Overview
1414
********
1515

16-
The AT Host sample acts as a proxy for sending directives to the nRF9160 modem via AT commands.
16+
The AT Client sample acts as a proxy for sending directives to the nRF9160 modem via AT commands.
1717
This facilitates the reading of responses or analyzing of events related to the nRF9160 modem.
1818
The commands can be initiated from a terminal or the `LTE Link Monitor`_, which is an application implemented as part of `nRF Connect for Desktop`_.
1919

@@ -35,7 +35,7 @@ The sample supports the following development kit:
3535
Building and running
3636
********************
3737

38-
.. |sample path| replace:: :file:`samples/nrf9160/at_host`
38+
.. |sample path| replace:: :file:`samples/nrf9160/at_client`
3939

4040
.. include:: /includes/build_and_run_nrf9160.txt
4141

@@ -45,7 +45,7 @@ Testing
4545

4646
After programming the sample to your development kit, test the sample by performing the following steps:
4747

48-
1. Press the reset button on the nRF9160 DK to reboot the kit and start the AT Host sample.
48+
1. Press the reset button on the nRF9160 DK to reboot the kit and start the AT Client sample.
4949
#. :ref:`Connect to the nRF9160 DK with LTE Link Monitor<lte_connect>`.
5050

5151
.. note::
File renamed without changes.

samples/nrf9160/at_host/sample.yaml renamed to samples/nrf9160/at_client/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
2-
name: at_host sample
2+
name: at_client Sample
33
tests:
4-
samples.nrf9160.at_host:
4+
samples.nrf9160.at_client:
55
build_only: true
66
build_on_all: true
77
platform_allow: nrf9160dk_nrf9160ns

samples/nrf9160/at_host/src/main.c renamed to samples/nrf9160/at_client/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ void enable_xtal(void)
3131
void main(void)
3232
{
3333
enable_xtal();
34-
printk("AT host sample started\n");
34+
printk("The AT host sample started\n");
3535
}

samples/nrf9160/aws_fota/README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ This application, which is part of `nRF Connect for Desktop`_, provides a certif
8888
8989
Use LTE Link Monitor to write the certificates to the kit:
9090

91-
1. Make sure that you have the :ref:`at_host_sample` sample programmed on your kit.
92-
#. Put the modem in offline state.
93-
#. Paste the three certificates into the respective fields.
94-
#. Choose a security tag.
95-
#. Click :guilabel:`Update certificates`.
96-
#. Before programming the sample, make sure to configure the :option:`security tag <CONFIG_CERT_SEC_TAG>` to the one that you chose.
91+
1. Make sure that you have the AT client sample programmed on your kit.
92+
#. Put the modem in offline state.
93+
#. Paste the three certificates into the respective fields.
94+
#. Choose a security tag.
95+
#. Click :guilabel:`Update certificates`.
96+
#. Before programming the sample, make sure to configure the :option:`security tag <CONFIG_CERT_SEC_TAG>` to the one that you chose.
9797

9898
.. include:: /includes/aws_s3_bucket.txt
9999

0 commit comments

Comments
 (0)