Re: Modemmanager - how to send sms? - receiving is ok



Hi Dan,

> > >> In attached you can find the gammu log for a successfully sent sms.
> > >>
> > >> I had to turn off the mobile broadband with nm-applet to get gammu work. In this case modem-manager released the modem ports (ttyUSB1 and ttyUSB2) and gammu was able to use it. 
> > >>
> > >> If you need more info, please let me know.
> > > 
> > > Ok, so gammu is using PDU mode instead of text mode.  It might be that
> > > even though the modem *says* it supports text mode, it really doesn't
> > > and wants PDU mode.
> > > 
> > 
> > If we get an error when sending the SMS in text mode, we could
> > automatically try to send it using PDU mode; it's probably a good
> > fallback I guess (unless it ends up sending the SMS twice :-) and should
> > cover this case.
> 
> Yeah, good idea.

this is a horrible idea. You will never get text mode working properly.
All modem firmwares are broken in a different way. Just run PDU mode and
PDU mode only.

Regards

Marcel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]