Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
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: