2010/5/17 Tom Yates <[email protected]>:
> since the last update, my freerunner has stopped reporting imcoming SMS
> messages, and they don't show up in the messages app.

Hi! I have this too. Some messages do arrive, but some not.
My current workaround is to enable storing messages in sim in
/etc/freesmartphone/conf/GTA02/fsogsmd.conf and use this script to
wait for messages:

#!/bin/bash
MNUM=$1
MSG=`mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.RetrieveMessage $MNUM 2>/dev/null | wc -l`
while [ $MSG -lt 1 ]
do sleep 60
MSG=`mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.RetrieveMessage $MNUM 2>/dev/null | wc -l`
echo No new messages
done
killall mplayer
mplayer /usr/share/sounds/notify_message.wav
echo New message received
mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.RetrieveMessage $MNUM

The script takes the lowest free sim message number as parameter.
Someone may improve it to calculate it automatically.
Don't forget to delete messages from sim when it's full with command
`mdbus2 -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
org.freesmartphone.GSM.SIM.DeleteMessage <number>`.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to