A softkey definition contains:
You can use these softkey definitions in any of the functions that you define later in the SDC file.
The syntax of a softkey definition is:
softkey softkey_ref : "full_label" : "short_label"
{
statement 1;
...
statement n;
}
where:
For more information, see softkey.
Here is an example of a softkey definition:
softkey SK1 : "Display time" : "Time"
{
send_dtmf "1";
}
In this example, the label Time is displayed on a key that is assigned this definition. When the key is pressed, the DTMF tone for 1 is dialed.
The definition of softkeys is the same both for SDC and for FDM mode. However, opcodes 0x98 to 0xa0 cannot be used for SDC operations because adsicomp does not recognize the equivalent statements for these opcodes. If you try to use these operations, they are flagged as a syntax error.