maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Missing USSD functionality: N900 can't dial numbers beginning with # or * (https://talk.maemo.org/showthread.php?t=32878)

pycage 2010-01-05 19:04

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
You're awesome. Thanks for all this research work. Now I'm going to put together a nice user interface and make it an installable deb for Joe Average. :)

KiberGus 2010-01-05 21:45

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
I've already started. You can take src here:
ftp://304.ru/maemo/
I could'nt build deb file, so I vould appreciate if anybody does this. grage page under construction. Patches are wellcome.
WARNING, do not install withoput deb file unless you really know what you are doing

Configuration is done via /etc/ussdWidget.conf,

pycage 2010-01-05 23:19

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
1 Attachment(s)
Thanks, I guess we've been done work in parallel then. I'll look at your code and see how I can unite it with mine. Mine is an app, instead of a widget. :)

Well, anyway, here is the first version as installable deb file. Simply install and you will be able to check your account, your phone number, etc.
It basically works, but currently only for ASCII-encoding. Encodings is still on my TODO list, as well as uploading to extras-devel.

pycage 2010-01-05 23:21

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
1 Attachment(s)
Oh, btw, screenshot of course. :)

pycage 2010-01-05 23:40

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by KiberGus (Post 454692)
I could'nt build deb file, so I vould appreciate if anybody does this. grage page under construction. Patches are wellcome.

I'm gonna build a deb of your's tomorrow.

VDVsx 2010-01-06 00:27

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by pycage (Post 454839)
Thanks, I guess we've been done work in parallel then. I'll look at your code and see how I can unite it with mine. Mine is an app, instead of a widget. :)

Well, anyway, here is the first version as installable deb file. Simply install and you will be able to check your account, your phone number, etc.
It basically works, but currently only for ASCII-encoding. Encodings is still on my TODO list, as well as uploading to extras-devel.

Ehhe, works, finally I can request network signal with *# and kinda check my balance with *#123# (reply is a bunch of numbers, should be due to the encoding).

pycage 2010-01-06 00:48

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by VDVsx (Post 454913)
Ehhe, works, finally I can request network signal with *# and kinda check my balance with *#123# (reply is a bunch of numbers, should be due to the encoding).

Please show me that bunch of numbers so I can try to decode.
Btw, my app doesn't specify a special encoding (sends 15 for Language unspecified). I assume in your case, it would have to be 8 for Portuguese.
You can try to run pnatd directly and see if different numbers for encodings make a difference.

Code:

AT
AT+CUSD=1,"#123#",8


VDVsx 2010-01-06 01:05

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Quote:

Originally Posted by pycage (Post 454932)
Please show me that bunch of numbers so I can try to decode.
Btw, my app doesn't specify a special encoding (sends 15 for Language unspecified). I assume in your case, it would have to be 8 for Portuguese.
You can try to run pnatd directly and see if different numbers for encodings make a difference.

Code:

AT
AT+CUSD=1,"#123#",8


Code:

Nokia-N900-51-1:/home/opt/ussdpad# run-standalone.sh python USSDPad.py -v 20
/home/opt/ussdpad/components
MESSAGE 4F207072617A6F207061726120636172726567616D656E746F20646F207365752063617274616F20666F6920756C7472617061737361646F2E20506F72206661766F72206C6967756520313639362E

I got errors when running the code above in pnatd over ssh, I've to try again.

VDVsx 2010-01-06 01:17

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Ok, seems that 8 doesn't work, but 15 works.

Code:

Nokia-N900-51-1:/home/opt/ussdpad# pnatd
at
OK
at+cusd=1,"*#123#",15
+CUSD: 0,"4F207072617A6F207061726120636172726567616D656E746F20646F207365752063617274616F20666F6920756C7472617061737361646F2E20506F72206661766F72206C6967756520313639362E",68

OK

Same code, note that my carrier has text ads in the balance messages.

pycage 2010-01-06 01:29

Re: Missing USSD functionality: N900 can't dial numbers beginning with # or *
 
Ah, the carrier gives you 68 for the encoding. I'll look that up in the GSM Encodings manual.


All times are GMT. The time now is 15:44.

vBulletin® Version 3.8.8