Reply
Thread Tools
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#21
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.
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following 4 Users Say Thank You to pycage For This Useful Post:
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#22
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,
 

The Following 4 Users Say Thank You to KiberGus For This Useful Post:
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#23
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.
Attached Files
File Type: deb ussdpad_2010.01.05_armel.deb (94.3 KB, 8777 views)
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following 6 Users Say Thank You to pycage For This Useful Post:
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#24
Oh, btw, screenshot of course.
Attached Images
 
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following 12 Users Say Thank You to pycage For This Useful Post:
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#25
Originally Posted by KiberGus View Post
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.
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following User Says Thank You to pycage For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,596 times | Joined on Sep 2008 @ Helsinki
#26
Originally Posted by pycage View Post
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).
__________________
Valério Valério
www.valeriovalerio.org
 
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#27
Originally Posted by VDVsx View Post
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
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following User Says Thank You to pycage For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,596 times | Joined on Sep 2008 @ Helsinki
#28
Originally Posted by pycage View Post
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.
__________________
Valério Valério
www.valeriovalerio.org
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,596 times | Joined on Sep 2008 @ Helsinki
#29
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.
__________________
Valério Valério
www.valeriovalerio.org
 

The Following 2 Users Say Thank You to VDVsx For This Useful Post:
pycage's Avatar
Posts: 3,234 | Thanked: 3,592 times | Joined on Oct 2005 @ Germany
#30
Ah, the carrier gives you 68 for the encoding. I'll look that up in the GSM Encodings manual.
__________________
Apps For MeeGo - Graphical Client for N9/N950 and other devices
- http://apps.formeego.org

MediaBox Media Center - music, videos, pictures, UPnP, etc. for N8(10) and N900
- http://garage.maemo.org/projects/mediabox

pyFMRadio - control the FM radio on N800 and N900 with Python
- http://garage.maemo.org/projects/pyfmradio
 

The Following 2 Users Say Thank You to pycage For This Useful Post:
Reply

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

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 09:01 PM.