On 7 December 2010 16:48, stefan harjes <[email protected]> wrote:
> Hi Jakob,
>
> I guess my problem runs deeper, as I can not receive any SMS messages from my
> carrier (T-mobile).
> The bug report you mentioned, indicates that SMS message import is not
> supported
> yet.
>
> I also tried some googled stuff and usually people try to use mdbus2 such as:
>
> mdbus2 -s org.freesmartphone.ogsmd
> /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SIM.RetrieveMessage
> $MNUM
>
> but first the method 'org.freesmartphone.GSM.SIM.RetrieveMessage' does not
> exist
> any more and seems to have been
> replaced by 'org.freesmartphone.GSM.SMS.RetrieveTextMessages'. When I try that
> method, mdbus2 either hangs or segfaults:
>
> r...@om-gta02 ~ # mdbus2 -s org.freesmartphone.ogsmd
> /org/freesmartphone/GSM/Device org.freesmartphone.GSM.SMS.RetrieveTextMessages
>
> type unknown not a basic type
> type unknown not a basic type
> type unknown not a basic type
> type unknown not a basic type
> Segmentation fault
This looks to me as if your sms-database is some old format. To look
at the sms on the sim, check how many messages are there with:
mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.GetSimInfo
({"slots": 30,"issuer": "simyo","imsi":
"262032760421243","phonebooks": "emergency aux:BD fixed aux:DC dialed
received aux:LR aux:MT aux:AD contacts aux:SD missed aux:LM aux:AF own
aux:UD","used": 1})
Read the first message with:
mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.RetrieveMessage 0
The reply looks like:
("read","simyo","Kontrollieren Sie mit dem Daten-Roaming-Limit ab
sofort jederzeit Ihre Kosten fÃŒr Datenroaming innerhalb der EU. Infos
unter simyo.de/datenlimit",{"pid": 201,"mms": false,"udhi":
false,"dcs": 0,"sri": false,"rp": false,"udl": 144})
Sometimes fsogsmd is stuck, after restarting it should work as shown above.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user