Hello,
Here below my code to send an USSD message ("#101#") using AT commands (AT+CUSD=...).
At execution on my 7650, an error pop
-up message states: "ERREUR D ALPHABET" ("alphabet error" in english).
However, this code works very well if I use it to dial a phone number with AT command (ATDXXXXXXXX).
Does anybody have some clarification on that issue ?
Thanks a lot.
Cyrilou
Did you ever figure out your USSD problem? I'm using the same code in my product and it doesn't crash. Unfortunately I try to read the response from the comm port and I just get the AT+CUSD=1,"#101#" string instead of the USSDC response.
Hi kdallan.
Would you write the code you use to read the respones.
I write the following code and I've got the "E32USER-CBase 46" error message.
The code is:
RCommServ commServer;
StartC32 ();
commServer.Connect (); // step 4
_LIT(KCsyName, "dataport");
User::LeaveIfError(commServer.LoadCommModule(KCsyName));
RComm comm;
_LIT8(KDataPort, "DATAPORT::0");
TInt ret= comm.Open(commServer, _L("DATAPORT::0"), ECommShared);
TRequestStatus status = TRequestStatus();
_LIT8(buf8,"AT\r\n");
TBuf8<16> aDes;
comm.Write(status, buf8);
User::WaitForRequest (status);
comm.Read(status, aDes);
comm.Close();
commServer.Close();
I tried the same code without reading and everything is ok, but when I used comm.Read I got that message.
Thanks in advance.
Khossy