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



>>> Any idea what command Gammu sends? Does it use PDU mode or text mode to
>>> send it? Is it possible for you to get a log of the serial traffic when
>>> using Gammu so we can compare to what ModemManager does?
>>>
>>> Dan
>>
>> Hi,
>>
>> 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.

-- 
Aleksander


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