Commit be41f52
committed
[nrf fromlist] drivers: modem_cellular: fix handling of
Answers to the `AT+CEREG` read command may contain many parameters
depending on how it is configured (with the write command).
When it has more than one parameter, the `<stat>` one (which we are
interested in) is at the second position.
This is the syntax defined by the 3GPP spec for all `+C*REG` commands.
Handle all parameter counts properly.
Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 5876b371032a16af2f12469c7f23fbbb5594d333)
Upstream PR #: 80512
Signed-off-by: Tomi Fontanilles <[email protected]>+C*REG answers1 parent 055d020 commit be41f52
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
0 commit comments