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 networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list