Reply
Thread Tools
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#41
Originally Posted by pycage View Post
Ah, the carrier gives you 68 for the encoding. I'll look that up in the GSM Encodings manual.
Let's see...

68 = %(0100)(0100) = (General Data Coding, uncompressed, no message class) (8bit alphabet)

Yes, I think that must be it according to http://www.mobilecity.cz/doc/GSM_03.38_5.3.0.pdf page 11.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following User Says Thank You to pycage For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#42
Originally Posted by KiberGus View Post
Command line utility which would understand if encoding is 72 (used by Russian operators) and handle it properly.
72 = %(0100)(1000) = (General Data Coding, uncompressed, no message class) (USC2 16 bit)

Hooray, it all makes sense!
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#43
Originally Posted by KiberGus View Post
On some systems it would break desktop layout mode: in layout mode pressing on menu which normally sujjests what to add to desktop would stop working. The same code on my device works. I think, that some dependences are missing.
I think it breaks because it blocks with a USSD request immediately after being started. Where /etc/sudoers is not modified it will wait indefinitely for a password.
I notice that you use sudo for sending the AT commands. Maybe a better way is to setuid root pnatd. My USSD Pad does this in the postinst script, so that regular users may use it. This shouldn't be a bigger security hole than explicitly enabling pnatd for passwordless sudo.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
Posts: 45 | Thanked: 54 times | Joined on Oct 2009 @ Uppsala,Sweden
#44
If you didnt already found it out. The text encoded with 68 is just plain asci but hex encoded. Can be easily endoded back thought.

 

The Following 4 Users Say Thank You to davost For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#45
Originally Posted by davost View Post
If you didnt already found it out. The text encoded with 68 is just plain asci but hex encoded. Can be easily endoded back thought.

Cool, very nice message saying that I don't have any money on that SIM card
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#46
Originally Posted by VDVsx View Post
Cool, very nice message saying that I don't have any money on that SIM card
New version of ussd-widget available. Should support you encoding. This widget shows result of USSD query on your desktop. The main purpose is to have rapid access to balance information. Pressing on widget would refresh it.
You can download it from
https://garage.maemo.org/frs/?group_id=1219
First install pexpect, then ussd-common, then ussd-widget. ussd-pad would be using the same code( ussd-common) and support the same encodings.

Last edited by KiberGus; 2010-01-06 at 21:38.
 

The Following 2 Users Say Thank You to KiberGus For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#47
We (KiberGus and I) have created a more generic GSM decoding library now. Now we need some tests from real users in different countries to see where stuff doesn't get decoded correctly, yet.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 2 Users Say Thank You to pycage For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#48
Originally Posted by pycage View Post
We (KiberGus and I) have created a more generic GSM decoding library now. Now we need some tests from real users in different countries to see where stuff doesn't get decoded correctly, yet.
Thanks. I'll continue helping, just throw links to the new versions here
__________________
Valério Valério
www.valeriovalerio.org
 

The Following User Says Thank You to VDVsx For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#49
For now it's the widget for testing. I haven't worked on the USSD Pad app today. I will continue there tomorrow.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following User Says Thank You to pycage For This Useful Post:
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#50
I installed the 3 packages, but the widget seems broken, when I add it nothing happens.
__________________
Valério Valério
www.valeriovalerio.org
 
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 14:45.