Skip to content

Commit 7ad916a

Browse files
maxd-nordicpeknis
andauthored
Apply suggestions from code review
Co-authored-by: Pekka Niskanen <[email protected]>
1 parent a3f8454 commit 7ad916a

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

samples/cellular/nrf_cloud_coap_cell_location/README.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,18 @@ The network carrier does not provide date and time
131131

132132
Credentials are missing on the configured sec tag.
133133

134-
.. note:: CoAP connections require a different root CA certificate compared to REST and MQTT. It is possible to provision both certificates on the same sec tag.
134+
.. note::
135+
136+
CoAP connections require a different root CA certificate compared to REST and MQTT.
137+
It is possible to provision both certificates on the same sec tag.
135138

136139
.. code-block:: console
137140
138141
[00:00:03.067,291] <err> nrf_cloud_coap_transport: Could not connect to nRF Cloud CoAP server coap.nrfcloud.com, port: 5684. err: -111
139142
[00:00:03.067,321] <err> nrf_cloud_coap_cell_location_sample: Connecting to nRF Cloud failed, error: -111
140143
141-
Credentials are not registered or device ID doesn't match the registered one:
144+
Credentials are not registered or the device ID does not match the registered one:
145+
142146
.. code-block:: console
143147
144148
[00:00:05.081,756] <err> nrf_cloud_coap_transport: Device not authenticated; reconnection required.

samples/cellular/nrf_cloud_mqtt_cell_location/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Credentials are missing on the configured sec tag:
130130
[00:00:03.698,913] <err> nrf_cloud_transport: Could not connect to nRF Cloud MQTT Broker mqtt.nrfcloud.com, port: 8883. err: -111
131131
[00:00:03.698,974] <err> nrf_cloud_mqtt_cell_location_sample: NRF_CLOUD_EVT_TRANSPORT_CONNECT_ERROR: -9
132132
133-
Credentials are not registered or device ID doesn't match the registered one:
133+
Credentials are not registered or the device ID does not match the registered one:
134134

135135
.. code-block:: console
136136

samples/cellular/nrf_cloud_rest_cell_location/README.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,17 @@ Credentials are missing on the configured sec tag:
134134
[00:00:02.753,601] <err> nrf_cloud_rest: Could not format HTTP auth header, err: -8
135135
[00:00:02.761,962] <err> nrf_cloud_rest_cell_location_sample: Request failed, error: -8
136136
137-
Credentials are not registered or device ID doesn't match the registered one:
137+
Credentials are not registered or the device ID does not match the registered one:
138+
Credentials are not registered or the device ID does not match the registered one:
138139

139-
.. code-block:: console
140+
.. code-block:: console
140141
141-
[00:00:07.062,957] <err> nrf_cloud_codec_internal: REST error msg: Auth token is malformed.
142-
[00:00:07.071,990] <err> nrf_cloud_rest: nRF Cloud REST error code: 40100
143-
[00:00:07.079,437] <err> nrf_cloud_rest: REST request was rejected. Response status: 401
144-
[00:00:07.088,226] <err> nrf_cloud_rest: Response body: {"message":"Auth token is malformed.","code":40100}
145-
[00:00:07.098,846] <err> nrf_cloud_rest_cell_location_sample: Request failed, error: -77
146-
[00:00:07.107,574] <err> nrf_cloud_rest_cell_location_sample: nRF Cloud error code: 40100
142+
[00:00:07.062,957] <err> nrf_cloud_codec_internal: REST error msg: Auth token is malformed.
143+
[00:00:07.071,990] <err> nrf_cloud_rest: nRF Cloud REST error code: 40100
144+
[00:00:07.079,437] <err> nrf_cloud_rest: REST request was rejected. Response status: 401
145+
[00:00:07.088,226] <err> nrf_cloud_rest: Response body: {"message":"Auth token is malformed.","code":40100}
146+
[00:00:07.098,846] <err> nrf_cloud_rest_cell_location_sample: Request failed, error: -77
147+
[00:00:07.107,574] <err> nrf_cloud_rest_cell_location_sample: nRF Cloud error code: 40100
147148
148149
Dependencies
149150
************

0 commit comments

Comments
 (0)