[Gta04-owner] USSD support
andreas at kemnade.info
Thu Jan 19 22:28:20 CET 2017
On Thu, 19 Jan 2017 20:42:04 +0100
Andreas Kemnade <andreas at kemnade.info> wrote:
> On Thu, 19 Jan 2017 19:04:01 +0100
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> > Hi,
> > > Am 19.01.2017 um 18:49 schrieb Andreas Kemnade
> > > <andreas at kemnade.info>:
> > >
> > > Hi,
> > >
> > > I want to have my scripts for getting my prepaid balance working
> > > again. I used to just dial *100#
> > >
> > > Replicant 4 does not display anything.
> > Maybe it is not implemented there. I don't know.
> > I was curious and found some answer which I hope is correct:
> > The key point seems to be that dialing any string with # or * does
> > not trigger ATD and manage a phone call but does
> > AT+CUSD=1,"number*number#something"
> Well, that is something I am already doing and nothing new to me. That
> is what Qtmoko also does. There is often mentioned a ,15 at the end
> of the command.
> But that seems only to be half the truth. The intersting question is
> what to do if the response is:
> 0: go back 1: display info A, 2: display info B, 3: do C,...
> > and process and display the response. The quotation marks seem to be
> > important:
> > http://stackoverflow.com/questions/15850819/at-command-ussd
> According to that text the answer is sent using
> AT+CUSD=1,"X" where X is the one-digit menu number.
> So the user types X and the phone has to send it using AT+CUSD instead
> of ATD. So the phone has to enter a special state letting the user
> navigate through the menu.
> I do not know what lets the phone enter that special state and what
> does end the special state.
ok, reading the spec:
The number in the +CUSD answer is important:
If it is 0, no further user action expected
If it is 1, further user action expected (like selecting a menu action)
So the mystery is solved.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Gta04-owner