aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/api/ModemManager-migration-reference.xml
diff options
context:
space:
mode:
authorNick Stevens <Nick.Stevens@digi.com>2015-09-17 21:31:28 +0000
committerAleksander Morgado <aleksander@aleksander.es>2015-09-22 09:24:18 +0200
commiteaf65ed98dd7e04b985be6b4241e9adab66750aa (patch)
treede288543475ca669e4a129aa2323390ed64f1c20 /docs/reference/api/ModemManager-migration-reference.xml
parent0ca68657fbcd5bace3d303a0babe2da292784385 (diff)
core: process SMS +CGMR response with regex
Variability in the response style from certain modems causes the parsing of the +CGMR response to fail. For example, the Telit HE910 inserts an empty string ("") in the second field of the response, causing the sscanf implementation to fail. This patch converts the parsing of the CGMR response to a regex that allows for more flexibility and robustness, and adds unit tests around the parsing call. Signed-off-by: Nick Stevens <Nick.Stevens@digi.com>
Diffstat (limited to 'docs/reference/api/ModemManager-migration-reference.xml')
0 files changed, 0 insertions, 0 deletions