diff options
author | Nick Stevens <Nick.Stevens@digi.com> | 2015-09-14 18:06:48 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-09-15 16:26:03 +0200 |
commit | 48cd903189c2bc664da0f26ba7e6845e1950091e (patch) | |
tree | 84af8f5d91d20c5182852a50b16ada68cd0ac008 /libmm-glib/mm-modem-simple.c | |
parent | 2034918d7b015f1176ec135cc023d4d161db56f7 (diff) |
core: enable unsolicited messages on secondary
Previously the enable unsolicited messages command (+CNMI) was only
being sent on the primary. This patch adds support for sending the
enable on the secondary as well. If the secondary doesn't exist, or if
setting the enable causes an error, a warning is logged but no error is
propagated up.
This change is needed for proper SMS operation on the Telit HE910, which
requires that +CNMI be sent to both primary and secondary. Since a
failure to send the +CNMI command on the secondary is a non-fatal error,
it is unlikely that this will cause issues with other modems.
Signed-off-by: Nick Stevens <Nick.Stevens@digi.com>
Diffstat (limited to 'libmm-glib/mm-modem-simple.c')
0 files changed, 0 insertions, 0 deletions