forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: lte_link_control: Send NEIGHOR_CELL_MEAS event in case of error
Earlier, no LTE_LC_EVT_NEIGHBOR_CELL_MEAS event was sent in case an error occurred during parsing of the %NCELLMEAS notification. Because of this, the user of the library did not have any way to determine when the operation had been completed. The implementation has been changed so, that an LTE_LC_EVT_NEIGHBOR_CELL_MEAS event is always sent, if lte_lc_neighbor_cell_measurement() has returned 0. In case of an error, an empty LTE_LC_EVT_NEIGHBOR_CELL_MEAS (current_cell set to LTE_LC_CELL_EUTRAN_ID_INVALID) is sent. Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
- Loading branch information
Showing
3 changed files
with
88 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters