Reply
Thread Tools
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#291
Originally Posted by Crogge View Post
Here are my results with the German provider "Klarmobile":



Maybe we are living in the Matrix and I got some decrypted codes ?!?
Well fact is that only the *135# code worked.

The widget isn't working at all equal what code I use, it seems to be broken since the last version!
It only displays "Error", that's it.
Hi Crogge,
i tried to decode the replies you gave in your picutre and they all worked. I suggest you try to change the ussd reply language in the ussd-widget configuration. Try English, German and Unspecified and please make sure you use the latest version from the extras testing repository.
Your replies:

Code:
q1="5369652073696E64207A75206469657365722046756E6B74696F6E206E69636874206 26572656368746967742E"
gsmdecode.decode(q1, 68)
'Sie sind zu dieser Funktion nicht berechtigt.'
q2="416B7475656C6C657320477574686162656E3A20382E3335204555522E"
gsmdecode.decode(q2, 68)
'Aktuelles Guthaben: 8.35 EUR.'
q3="5369652073696E64207A75206469657365722046756E6B74696F6E206E69636874206 26572656368746967742E"
gsmdecode.decode(q3, 68)
'Sie sind zu dieser Funktion nicht berechtigt.'
q4="53455256494345204E4F542050524F564953494F4E45442021"
gsmdecode.decode(q4, 68)
'SERVICE NOT PROVISIONED !'

Last edited by Marshall Banana; 2010-02-10 at 11:15. Reason: unwise usage of Copy & Paste
 
Marshall Banana's Avatar
Posts: 94 | Thanked: 209 times | Joined on Oct 2009 @ Germany
#292
Hi KiberGus,

there is a typo in the latest (ussd-common 0.0.6) gsmdecode.py. One newline is missing after the comment:

Code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation; version 2 and higer.
##
## Martin Grimme (martin.grimme # gmail.com) 2010LANG_DE = 0x0

LANG_EN = 0x1
LANG_IT = 0x2
LANG_FR = 0x3
LANG_ES = 0x4
 

The Following User Says Thank You to Marshall Banana For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#293
What does this do and does it fail with ussd-widget?
For an example, how to put it in executable file look at /usb/bin/ussdquery.py

It works great! I get the whole thing readable :
+CUSD: 0,"your balance is ..... Recharge your card before .... to keep your unused balance ...",15

No carrier
and then it hangs there, I must close the xterm with X!
BTW, yeah it does fail with the widget command line or not. My line entry might be wrong, not sure but i tried:
/usr/bin/....py at+cusd=1, "*225#" ,15
and it gave me syntax error!!


It is necessary, unless you install ussd-common package, which make pnatd suid. May be we should make ussdquery.py suid instead of pnatd.[/QUOTE]
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#294
2Marshall Banana, Thank you, I'll fix it.

2maemusr, just run
ussdquery.py *225#
No need for AT commands.
But you also can run widget from comman line
python /usr/lib/hildon-desktop/ussd-widget.py
and would seedebug information (do not forget to configure new widget).
 
Posts: 543 | Thanked: 151 times | Joined on Feb 2010 @ Germany
#295
Originally Posted by Marshall Banana View Post
Hi Crogge,
i tried to decode the replies you gave in your picutre and they all worked. I suggest you try to change the ussd reply language in the ussd-widget configuration. Try English, German and Unspecified and please make sure you use the latest version from the extras testing repository.
Your replies:

Code:
q1="5369652073696E64207A75206469657365722046756E6B74696F6E206E69636874206 26572656368746967742E"
gsmdecode.decode(q1, 68)
'Sie sind zu dieser Funktion nicht berechtigt.'
q2="416B7475656C6C657320477574686162656E3A20382E3335204555522E"
gsmdecode.decode(q2, 68)
'Aktuelles Guthaben: 8.35 EUR.'
q3="5369652073696E64207A75206469657365722046756E6B74696F6E206E69636874206 26572656368746967742E"
gsmdecode.decode(q3, 68)
'Sie sind zu dieser Funktion nicht berechtigt.'
q4="53455256494345204E4F542050524F564953494F4E45442021"
gsmdecode.decode(q4, 68)
'SERVICE NOT PROVISIONED !'
Thank you for your detailed reply.

I executed the widget manually and get the error "Translation file for your language not found", is this error related with Marshall's post? If so, where can I find this file?

Equal what language I use I also get the error "Timeout. Modem didn't reply.".
 
Posts: 7 | Thanked: 4 times | Joined on Jan 2010
#296
Good, grief, I didn't even realize that that those # codes from T-Mobile were what you were talking about. I had to pull out my N97 to setup my Google Voice Account. This is very very irritating for such an expensive phone.
 
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#297
Hi to all, I installed ussd widget but doesn't works
I've now on desktop "Click to upgrade".
I tap on it and:
processing --> Error

If I digit *123# (code to know credit) I've "Incorrect number".

Some idea?

Edit: It's works in terminal. It's right? It's developed only for terminal?

Last edited by maemo.it; 2010-02-19 at 09:28.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#298
Check, that you have really entered *123# without any spacebars and so on. Try deleting number and entering again.
 
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#299
@KiberGus: confirm
If I digit in a term ussdquery.py *123# it's working, if I digit it on dialing pad I receive: "incorrect number"
It's a new bug?
 
Posts: 31 | Thanked: 2 times | Joined on Jan 2010
#300
problem dualsimcard adapter.

we asked the developer of the hypercard 3G:

answer: "at the moment, we have no hardware to test. it is possible to change the simcard with a "quick code". the quickcode is not a ussd-code."

what ever a quickcode (for example *#7720# )will be.

for me (dumb ^^) it looks like a ussd code. got anyone an idea?
 
Reply

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


 
Forum Jump


All times are GMT. The time now is 19:24.