5 Commits
Author SHA1 Message Date
Kirill Buksha e8d781ae0b cinterion: allow missing LTE-TDD bands in SCFG response
Some modems (at least ELS62-E) doesn't support TDD LTE bands and their SCFG
responses doesn't contain LTE-TDD bands.

Signed-off-by: Kirill Buksha <kirbuk200@gmail.com>
2025-06-25 07:55:40 -05:00
Kirill Buksha 02131bf3bb modem-helpers: fix method for distinguishing lac and stat values
Stat value may be multidigit e.g. 10 or 11.

Signed-off-by: Kirill Buksha <kirbuk200@gmail.com>
2025-05-14 13:54:47 +02:00
Kirill Buksha e5c4cbc79a tests,modem-helpers: add cases for multidigit "stat" value in CREG response
Signed-off-by: Kirill Buksha <kirbuk200@gmail.com>
2025-05-14 13:21:01 +02:00
Kirill Buksha 51b14b8ef8 modem-helpers: support multi-digit "stat" values in CREG response
The 'stat' field in CREG responce may contain multi-digit numbers, such as "10"
meaning "registered for "CSFB not preferred", roaming". Furtermore, some modems
use value "11" to indicate that only emergency services are available.

Signed-off-by: Kirill Buksha <kirbuk200@gmail.com>
2025-05-14 12:45:45 +02:00
Kirill Buksha c463807494 cinterion: don't assume GError structure always initialized
GError structure may not be initialized after execution of
mm_3gpp_parse_cgdcont_read_response() and accessing it's
fields will cause a segmentation fault.
2023-03-15 11:02:36 +00:00