diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-03-24 07:36:01 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-09 12:38:50 +0000 |
commit | 040eb3880cae208660ae9e35bde75f7cffd790a7 (patch) | |
tree | 066d04bb7f06f5f1bdccb72d280231f5bc52a849 /src/mm-modem-helpers.h | |
parent | 40b36a25cad1d43a46dc0bdf8acb88189fbfbb53 (diff) |
helpers: use generic number parsing methods in CREG parser
This fixes the s8500 wave unit test, which was incorrectly parsing the
Act field reported as 'B' as "GSM" (strtol(B)=0)
Also, given that the generic parsing methods are able to parse numbers
from quoted strings, this change allows us to remove the Thuraya
specific CREG matching that just took into consideration quoted
strings. The Thuraya unit tests are also fixed up to provide proper
testing of the logic.
Diffstat (limited to 'src/mm-modem-helpers.h')
0 files changed, 0 insertions, 0 deletions