Sending USSD commands
This article explains how to send USSD commands using AT commands.
How to dial a string (with pause characters) explains how to Dial a string in S60 3rd edition using CPhCltDialer and TPhCltExtPhoneDialData. This does not work on S60 3rd edition Feature Pack 1.
This article shows how to workaround this problem. The solution is to send USSD commands using AT commands (APIs used are RCommServ and RComm).
CommDD ReadDeviceData WriteDeviceData NetworkControl SwEvent NetworkServices LocalServices
ReadUserData WriteUserData UserEnvironment
_LIT(KDataPort,"DATAPORT::1");// this works with CUSD
//Start the service to the RCommServ
// Connect the server
// Load the CSY module
// Open the port
User::LeaveIfError(iComm.Open (iCommServer, KDataPort, ECommShared));
Issue Request Code
Sending Ordinary Message
//iSendString has the data which is entered through a Dialog Box
//It should be appended with KTestCommandEnd
//We write this information to the serial port
Handling code after the Request is done
_//Reset the Buffer to read more information
//Issue Request for more Information
The following is the document which describes how to pass AT commands for Call Waiting and Forwarding: