bug: lte_link_control: Cell-ID check leads to false UNKNOWN event (#5353)

Hello Slight smile

I found a possible bug in NCS 1.7.0 which was introduced in PR #5353.

1) False UNKNOWN event when disconnecting

The "invalid cell id" check leads to an false UNKNOWN event when you disconnect the modem.
The disconnect itself will emit a cell id update with an "invalid" (read: valid in the case of disconnection) cell id.
Since there is no further DISCONNECT event this leads the application to an error state instead of a graceful disconnect.

2) Modem Event Manipulation

Furthermore I didn't expect the library to actually change the registration status from the modem.
This is also what the library documentation says ("maps directly").

Kind regards,
Markus

Parents Reply
  • Hi Markus,

    The reason for defining the "Unknow" state is that they are unpredictable or hard to find reasons just from the device side and also if they happen, there might be no reaction you can take to solve the issue on application firmware directly. Please refer to assert tracker v2 for application-level solutions to different kinds of lte connection conditions.

    Best regards,

    Charlie

Children
Related