Skip to content

Commit 8edb015

Browse files
committed
review fix #6
1 parent 3d8fc2a commit 8edb015

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

app/src/sm_at_nrfcloud.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,11 +1253,7 @@ static void at_handler_ncellmeas(const char *response)
12531253
int err;
12541254

12551255
__ASSERT_NO_MSG(response != NULL);
1256-
1257-
/* Skip NCELLMEAS notification if positioning is not ongoing */
1258-
if (!nrfcloud_sending_loc_req) {
1259-
return;
1260-
}
1256+
__ASSERT_NO_MSG(nrfcloud_sending_loc_req);
12611257

12621258
if (ncellmeas_search_type > 2) {
12631259
err = parse_ncellmeas_gci(response, nrfcloud_cell_data);

doc/app/at_nrfcloud.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ Unsolicited notification
230230
* The ``<status>`` parameter indicates the status of the location request.
231231

232232
* ``0`` - Successful request. Other parameters are also present.
233-
* ``-1`` - Requesting location from the cloud failed.
234-
* ``-2`` - Neighbor cell measurements failed.
233+
* ``-1`` - Location request failed.
235234
* ``<positive integer>`` - Requesting location from the cloud failed with cloud error as defined in :c:enum:`nrf_cloud_error` values.
236235

237236
This is emitted when a successful response to a sent location request is received.

0 commit comments

Comments
 (0)