aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-sms.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-24 12:01:01 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-24 12:32:29 +0200
commitba4e209745676a08f7c886d7cd0ba13202e336d5 (patch)
treecdcb533e86bffc3e97e383b3a2dc4078453d6649 /cli/mmcli-sms.c
parent4fe7c7d637644de6b24e7d71a45aad3647086e19 (diff)
sms: fix sending SMS messages on some modems
This is the port to git master of the following commit: commit 65f13f41cfd00cd38f118121a58b83713501f45f Author: Dan Williams <dcbw@redhat.com> Date: Tue Jul 17 16:00:31 2012 -0500 gsm: fix sending SMS messages on some modems and use PDU by default It turns out we really do have to wait for the modem to return the ">" prompt before sending the message data, otherwise a number of modems will complain about the data and fail the message. Fix that by sending the first bit of the CMGS, waiting for the ">", and then sending the rest. This also switches all modems over to PDU mode by default if they support it, since it's more compatible and most recent modems don't even bother to support text mode anyway.
Diffstat (limited to 'cli/mmcli-sms.c')
0 files changed, 0 insertions, 0 deletions