[RFT] CDMA SMS support in QMI modems

Dan Williams dcbw at redhat.com
Mon Aug 26 11:07:16 PDT 2013


On Wed, 2013-08-21 at 11:54 +0200, Aleksander Morgado wrote:
> Hey;
> 
> The 'aleksander/cdma-sms' branch in the git repository implements
> CDMA/3GPP2 SMS support in QMI based modems.
> 
> The generic SMS interface was extended to include two 3GPP2 specific
> properties:
>  * TeleserviceId
>  * ServiceCategory
> 
> Receiving and listing stored SMS messages should work for SMS of any
> category; but only for the limited set of fields that I have currently
> implemented support for.
> 
> Sending SMS messages is currently limited to the WMT TeleserviceId,
> which is anyway what you would normally use when sending point-to-point
> SMS messages.
> 
> Testing should be pretty straightforward; just grab a CDMA QMI-based
> modem which implements the 'WMS' service, and:

Should the code just default to WMT for simplicity?  Anyone who needs
something special or to send specific messages can clearly send other
message types by setting teleservice-id.

Dan

> $ sudo mmcli -m 0 --messaging-create-sms="number=123456789,text='Hello
> World',teleservice-id='wmt'"
> Successfully created new SMS:
> 	/org/freedesktop/ModemManager1/SMS/1 (unknown)
> 
> $ sudo mmcli -s 1
> SMS '/org/freedesktop/ModemManager1/SMS/1'
>   -----------------------------------
>   Content    |              number: '123456789'
>              |                text: 'Hello World'
>   -----------------------------------
>   Properties |            PDU type: 'cdma-submit'
>              |               state: 'unknown'
>              |             storage: 'unknown'
>              |      teleservice id: 'wmt'
> 
> 
> $ sudo mmcli -s 1 --send
> 
> I have *not* tested this; so... if anyone has such a modem, a proper
> CDMA network around, and SMS enabled in your CDMA plan, please give it a
> try and share debug logs of the run :)
> 




More information about the ModemManager-devel mailing list