Re: mm/test/mm-send-sms.py has the same problem and does not work
- From: Dan Williams <dcbw redhat com>
- To: Tom <toabctl googlemail com>
- Cc: networkmanager list <networkmanager-list gnome org>
- Subject: Re: mm/test/mm-send-sms.py has the same problem and does not work
- Date: Wed, 23 Jun 2010 17:20:40 -0700
On Wed, 2010-06-23 at 11:42 +0200, Tom wrote:
> Hi,
>
> On Tue, 2010-06-22 at 00:56 -0700, Dan Williams wrote:
> > On Mon, 2010-06-21 at 09:32 +0200, Tom wrote:
> > > The test-script from test/mm-send-sms.py has the same problem. this
> > > script does not work, too.
> >
> > Fixed that now in git; but not that not all devices support SMS text
> > mode (AT+CMGF=1), and MM does not yet implement PDU mode.
>
>
> i tried the latest git snapshot, but the sms send does still not work.
> Exception is:
>
> org.freedesktop.ModemManager.Modem.SerialResponseTimeout: Serial command
> timed out
>
> The Modem (Siemens TC63) supports AT+CMGF=1. The modem is enabled and
> it's also possible to connect to the internet over ppp (so simcard pin
> is correct).
>
> The debug output of MM is:
>
> ** (modem-manager:21862): DEBUG: <1277214420.136745> (ttyUSB1): --> 'AT
> +CMGF=1<CR>'
> ** (modem-manager:21862): DEBUG: <1277214420.201782> (ttyUSB1): <--
> '<CR><LF>OK<CR><LF>'
> ** (modem-manager:21862): DEBUG: <1277214420.201886> (ttyUSB1): --> 'AT
> +CMGS="017012345678"<CR>Testmessage\26<CR>'
> ** (modem-manager:21862): DEBUG: <1277214420.269763> (ttyUSB1): <--
> '<CR><LF>+'
> ** (modem-manager:21862): DEBUG: <1277214420.273746> (ttyUSB1): <-- 'CMS
> ERROR: 538<CR><LF>'
> ** (modem-manager:21862): DEBUG: <1277214448.17802> (ttyUSB1): --> 'AT
> +CSQ<CR>'
> ** (modem-manager:21862): DEBUG: <1277214448.77766> (ttyUSB1): <--
> '<CR><LF>+CSQ: 25,0<CR><LF>'
Yeah, I'll need to look more into this. Probably need to wait for the
">" before sending the message body. Even better, use PDU mode instead
of text but that's more complicated.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]