[RFT] CDMA SMS support in QMI modems
Aleksander Morgado
aleksander at lanedo.com
Wed Aug 21 02:54:44 PDT 2013
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:
$ 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 :)
--
Aleksander
More information about the ModemManager-devel
mailing list