SMS delivery reports

Daniel Willmann daniel at openmoko.org
Tue Mar 17 00:23:00 CET 2009


Hi,

On Mon, 16 Mar 2009 14:54:02 +0200
Imre Palik <imre at u-tx.com> wrote:

> Hi,
> 
> anybody knows how to receive/interpret delivery reports on OpenMoko?

It's working with FSO:
On one terminal

root at om-gta02:~# cli-framework
failed to connect to bluez
freesmartphone.org interactive command line
>>> gsmsms.SendMessage("+491781442593", "This is a testmessage",
>>> {'status-report-request': True})
(228, 'Tue Mar 17 00:00:52 2009 +0100')
>>> 


On the other:

root at om-gta02:~# mdbus -s -l
listening for signals on SystemBus from service 'all', object 'all'...
 [SIGNAL]    org.freedesktop.DBus.NameAcquired    from
org.freedesktop.DBus /org/freedesktop/DBus (':1.25',)
 [SIGNAL]    org.freesmartphone.GSM.Network.CipherStatus
from :1.8 /org/freesmartphone/GSM/Device ('enabled', 'unknown')
 [SIGNAL]    org.freesmartphone.GSM.Network.SignalStrength
from :1.8 /org/freesmartphone/GSM/Device (96,)
 [SIGNAL]    org.freesmartphone.GSM.Network.SignalStrength
from :1.8 /org/freesmartphone/GSM/Device (94,)
[...]
 [SIGNAL]    org.freesmartphone.GSM.Network.CipherStatus
from :1.8 /org/freesmartphone/GSM/Device ('enabled', 'unknown')
 [SIGNAL]    org.freesmartphone.GSM.SMS.IncomingMessageReceipt
from :1.8 /org/freesmartphone/GSM/Device (   '+491781442593',
    '',
    {   'discharge-time': 'Tue Mar 17 00:18:00 2009 +0100',
        'message-reference': 228,
        'more-messages-to-send': False,
        'status': 0,
        'status-message': 'Completed: Delivered',
        'status-report-qualifier': 'sms-submit',
        'timestamp': 'Tue Mar 17 00:00:00 2009 +0100',
        'type': 'sms-status-report'})

The time lag between sending (00:00) and delivery (00:18) was a result
of me searching for my test SIM card, inserting it and turning on the
phone. :-)

Regards,
Daniel Willmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/support/attachments/20090317/1d3ed50a/attachment.pgp 


More information about the support mailing list