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
  • Hey!

    I'm aware of the definition in the source code. But since it originally comes from the modem I wanted to know if there is any (further) documentation about that?

    The AT documentation only says:
    "4 – Unknown (for example, out of E-UTRAN coverage)"

    Unknown can mean literally anything to me, so I'm not sure if we have to treat this e.g. as an error and thus disconnect (application needs to save power) or e.g. this is an temporary error that can simply be ignored.

    Kind regard,
    Markus

Children
Related