Reply
Thread Tools
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#331
Try again. Try to switch phone to offline mode and online mode again. This error just means, that phone didn't manage to receive (and may be send) reply from operator. May be, your operator is slow and you need a bigger timeout, then you can specify it to ussdquery.py as argument.
Only if this happens all the time this may be an error in my code.
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2010
#332
All right, I found out what was wrong, I had the wrong command
It was *100# not *101#...
The call over the ussdquery.py works fine, the widget didn't work for me, but I have a workaround with my own python-regex script and the Command Execution Widget.

Thanks for your help, I just had to get my mind into the problem to solve it
Regards,
Justus
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#333
Originally Posted by JustusW View Post
All right, I found out what was wrong, I had the wrong command
It was *100# not *101#...
The call over the ussdquery.py works fine, the widget didn't work for me, but I have a workaround with my own python-regex script and the Command Execution Widget.

Thanks for your help, I just had to get my mind into the problem to solve it
Regards,
Justus
Using specialized widget has some advantages. For example, it makes several attempts if query fails. You can find out the reason, why it didn't work launching it from console as user:
python /usr/lib/hildon-desktop/ussd-widget.py
But you would need to configure new instance again.
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#334
@kilbergas -

echo "Account Balance: %" where % is regexp output

last ussd update, % is outputting the whole reply
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#335
Originally Posted by niqbal View Post
@kilbergas -

echo "Account Balance: %" where % is regexp output

last ussd update, % is outputting the whole reply
This is correct behavior. Read announcement:
http://kibergus.su/en/node/19
By the way, does SMS listener work properly? My operator doesn't send SMS'es with balance so I can't test it properly. I would be glad to see some prove, that it works.
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#336
Originally Posted by KiberGus View Post
This is correct behavior. Read announcement:
http://kibergus.su/en/node/19
By the way, does SMS listener work properly? My operator doesn't send SMS'es with balance so I can't test it properly. I would be glad to see some prove, that it works.
ohh so u have changed it! i shall try out the new functions later tonight, then i can get back to you on that. thankx

Last edited by niqbal; 2010-03-14 at 18:15.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#337
Just use %1 instead of % if you have previously used first matching regexp group.
 

The Following User Says Thank You to KiberGus For This Useful Post:
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#338
aha i got it, basically regexp was moving in as regexp group so i had to add %1. anyways, my operator doesnt send smses, i will check if some operator does.

Last edited by niqbal; 2010-03-15 at 09:44.
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#339
Originally Posted by KiberGus View Post
Just use %1 instead of % if you have previously used first matching regexp group.
yea i read it through your webpage. echo Account Balance: %1 does the trick
 
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#340
It's possible to have ussd applet in maemo or maemo-extra repos?
__________________
If you found my post useful please thank me, I appreciate!
 
Reply

Tags
dial, dialing, lack of phone features, lack of quality control, sms, telephony, ussd

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:53.