Re: mm/test/mm-send-sms.py has the same problem and does not work
- From: Tom <toabctl googlemail com>
- To: networkmanager list <networkmanager-list gnome org>
- Subject: Re: mm/test/mm-send-sms.py has the same problem and does not work
- Date: Mon, 21 Jun 2010 09:32:04 +0200
The test-script from test/mm-send-sms.py has the same problem. this
script does not work, too.
Cheers,
Tom
On Fri, 2010-06-18 at 17:41 +0200, Tom wrote:
> Hi,
>
> i tried to use the test program from ModemManager git repository to send
> an sms.
> The modem works and i can connect to the internet. But when i try to use
> test/mm-send-sms.py , i get:
>
> $ python test/mm-send-sms.py 016012345678 hallo
> Sending message failed
>
> The exception is: org.freedesktop.ModemManager.Modem.General: Missing
> number
>
>
> In the python code, the number is set by:
>
> msg_dict = dbus.Dictionary({ dbus.String('number') :dbus.String(number),
> dbus.String('text') : dbus.String(message)
> }, signature=dbus.Signature("sv"))
>
> sms_iface = dbus.Interface(proxy,
> dbus_interface='org.freedesktop.ModemManager.Modem.Gsm.SMS')
>
> and the sms send with:
>
> sms_iface.Send(msg_dict)
>
>
>
>
> Any ideas why this does not work?
>
> Cheers,
>
> Tom
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]