Hello Aleksander,

I would like to inform you about my test result today.
I downloaded the master repository from the freedesktop git and I compiled it 
successfully. 

So, the latest sms-get.py get both sms messages correctly from the modem, which 
is really great!

And it seems, this python interface is much better than dbus-send.

Anyway, when I try to send sms, I still get the following error message:

./sms-send.py --number +3620xxxxxxx "Uj modemmanager, uj problemak"
Sending message failed: org.freedesktop.ModemManager.Modem.Gsm.Unknown: Unknown 
error

Could you tell me, how to start debugging/testing this feature? 

Thank you in advance!

Cheers,
István


 
----------------eredeti üzenet-----------------
Feladó: "Aleksander Morgado" [email protected] 
Címzett: [email protected] 
Dátum: Tue, 07 Feb 2012 17:59:25 +0100
-------------------------------------------------
 
 
> Hey hey,
> 
>> 
>> I followed you advice, I downloaded the MM_05 branch and compiled in my 
>> system. I did not changed (means: compiled) other things on the system, so, 
>> the 
>> rest is in the same version I wrote above.
>> After the installation, I fixed a path problem (previously I compiled it 
>> with 
>> prefix: /usr/local instead of /usr) and the system started well, seems it is 
>> working with nmcli tool.
>> 
>> My test result with receiving sms from modem (there are two sms messages: 
>> indexes are: 0 and 1), now I got this garbage:
>> 
>> ebox@antiX1 :~/tmp/modemmanager/ModemManager/test$ ./sms-get.py 
>> /org/freedesktop/ModemManager/Modems/2 0
>> 
>> ------------------------------------------------------------------
>> -
>> 0: From: 002B00330036003200300034003400380039003500380031 Time: 
>> 12/01/29,23:24:21+04 SMSC: 
>> 004600720061006E0063006F0073002000670073006D
>> 
>> ebox@antiX1 :~/tmp/modemmanager/ModemManager/test$ ./sms-get.py 
>> /org/freedesktop/ModemManager/Modems/2 1
>> 
>> ------------------------------------------------------------------
>> -
>> 0: From: 002B00330036003200300034003400380039003500380031 Time: 
>> 12/01/29,23:24:21+04 SMSC: 
>> 004600720061006E0063006F0073002000670073006D
> 
> That is not really garbage :-) That's the hexadecimal representation of
> the UCS-2 encoded string. When reading the SMS in text mode, we need to
> convert from current charset (UCS-2 in your case) to UTF-8.
> 
> Will prepare a patch and push it.
> 
> -- 
> Aleksander
> _______________________________________________
> networkmanager-list mailing list
> [email protected] 
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 


_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to