Reply
Thread Tools
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#221
Originally Posted by aman18narang View Post
hi KiberGus/Niqbal
just a ques. i hav only installed ussd widget..and reading from one of the posts abv do i also need to install pexpect and ussd-common as well? if yes, are they both available in extras-devel? currently i hv only ussd widget installed and whenever i run it i get an error
If installation of widget finished with a success, than all dependencies (including pexpect and ussd-common) have been successfully installed too.
To find out, why it doesn't work, start if from X-terminal, as it was described above many times.
Originally Posted by aman18narang View Post
ok i used this line and run the widget from command line and it worked. it created a new widget and i configured it and here was my balance..thanksa lot for help
it wasnt working earlier when i had installed the package
Sometimes all pty devices on n900 are used and then widget doesn't work. You have to close terminals, stop sshd or just reboot phone. May be that was your case.
Originally Posted by Omkar View Post
Hw did u edit the file?? i cant save the file after editing
Get a root privileges before editing.
 

The Following User Says Thank You to KiberGus For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#222
Originally Posted by KiberGus View Post
2 Fpp. I missed that Marshall Banana's comment. I dislike patching, so fixing the problem is a more preferred way. But sujjected fix would break all other encodings, so we need to understand:
1) Is this reply standard complient
2) Does it work with other phones
3) How they understand, what encoding is used
4) How to include this fix without breaking everything.
I don't know about 1)

I'm sure about 2), as I've done it on a Nokia E71 with no problems. *144# is the balance check for a well-known French provider, so it's widely used.

How can I give you information about 3), so you can think about 4) ?... :-)
__________________
maemo blog
 
Posts: 84 | Thanked: 3 times | Joined on Jan 2010
#223
Originally Posted by shamoni8 View Post
do i have to use the pad? what if i don't want it?
EDIT:

I installed the widget #674# works #225# works. But #646# for minutes gives me error.

And also dialing pad when I launch it nothing happens it gets closed by itself

any ideas?

Last edited by patt2k; 2010-02-05 at 18:36.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#224
Originally Posted by patt2k View Post
EDIT:
I installed the widget #674# works #225# works. But #646# for minutes gives me error.
any ideas?
I've got an idea. You got error. 5 symbols. That's all I know.
P.S. Would users be happy, it diagnostics would be printed to to console, where they can look for it when they need, but on widget itself, making widget grow for a desktop or two?
P.P.S. All posts like "I've got error" without description of error would be ignored.
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#225
Originally Posted by patt2k View Post
EDIT:

I installed the widget #674# works #225# works. But #646# for minutes gives me error.

And also dialing pad when I launch it nothing happens it gets closed by itself

any ideas?
if two codes work, clearly widget does its job. problem is caused somewhere else. one make sure its a valid code for ur operstor. second if code is valid, is ur parser | regexp empty or not?
 
Posts: 84 | Thanked: 3 times | Joined on Jan 2010
#226
Originally Posted by niqbal View Post
if two codes work, clearly widget does its job. problem is caused somewhere else. one make sure its a valid code for ur operstor. second if code is valid, is ur parser | regexp empty or not?
Yes they are empty (though I have no idea how to make % sign on N900)

what would I need to fill there?

646 is for minutes
225 for t mobile balance
674 for txt messages used
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#227
Originally Posted by patt2k View Post
Yes they are empty (though I have no idea how to make % sign on N900)

what would I need to fill there?

646 is for minutes
225 for t mobile balance
674 for txt messages used
If the other codes are working so should #646# code. Maybe it was tmobile at that time, did u try it at a later time?

btw just for the heck of it, use terminal modem for this code rather than widget and see if u get an error. need rootsh for this

$ sudo gainroot
$ pnatd
at+cusd=1,"#646#",15

-------------------------

if u still get an error, blame tmobile. if u get an expected response, right away use widget and see if it works. btw to reach % use Sym key (top left). blue arrow key plus ctrl key

Last edited by niqbal; 2010-02-05 at 21:01.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#228
Originally Posted by niqbal View Post
If the other codes are working so should #646# code. Maybe it was tmobile at that time, did u try it at a later time?

btw just for the heck of it, use terminal modem for this code rather than widget and see if u get an error. need rootsh for this

$ sudo gainroot
$ pnatd
at+cusd=1,"#646#",15

-------------------------

if u still get an error, blame tmobile. if u get an expected response, right away use widget and see if it works. btw to reach % use Sym key (top left). blue arrow key plus ctrl key
I can only repeat one more time. Launch widget from command line. This would give more information, about why it doesn't work.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#229
Originally Posted by fpp View Post
I don't know about 1)

I'm sure about 2), as I've done it on a Nokia E71 with no problems. *144# is the balance check for a well-known French provider, so it's widely used.

How can I give you information about 3), so you can think about 4) ?... :-)
OK. We were looking on a wrong documentation, a bit. As far as we use AT commands, we need GSM 07.07 - Main AT commands and Annex A from GSM 07.05 - Additional AT commands (SMS and CBS). Can be downloaded from http://wiki.openmoko.org/wiki/GSM#GS...in_AT_commands

I didn't understood how decoding should be done correctly and where did we made mistakes, but now I know how to check, if user has left ussd menu.

Update: According to documentation cp850 can not be used in ussd reply (at least with dsc field 15). On the other hand, our implementation shouldn't work at all, because we expect (and we get!) 8 bit encoding, while we should get 7 bit encoding. I would appreciate, if you try running these commands in pnatd:
at+cmgf=1
at+cscs="IRA"
at+cusd=1,"<your USSD number>",15

They should produce a lot of digits instead of human readable reply.

Last edited by KiberGus; 2010-02-05 at 22:24.
 
Posts: 84 | Thanked: 3 times | Joined on Jan 2010
#230
Originally Posted by niqbal View Post
If the other codes are working so should #646# code. Maybe it was tmobile at that time, did u try it at a later time?

btw just for the heck of it, use terminal modem for this code rather than widget and see if u get an error. need rootsh for this

$ sudo gainroot
$ pnatd
at+cusd=1,"#646#",15

-------------------------

if u still get an error, blame tmobile. if u get an expected response, right away use widget and see if it works. btw to reach % use Sym key (top left). blue arrow key plus ctrl key
 
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 09:50.