The following are requirements for a valid command string:
Command strings must be terminated by a period.
Command type names must be separated from their arguments by a space.
Command type names (welcome
, contacts
, and settings
) are case insensitive.
Arguments for Contacts
or Settings
command types are 1
or 2
. See Table 4-1.
Optional second argument of 1
or 2
can be used for the Settings
command type. See Table 4-1.
Table 4-1 Valid Command String Type and Argument Combinations
Command Types | Command Arguments | Optional Arguments |
---|---|---|
|
none |
none |
|
|
none |
|
|
|
To demonstrate the applet's command string functionality, the following examples are provided as string versions of the byte sequences of valid command strings:
Note:
Valid command type names used in command strings are case insensitive.
Welcome.
Settings 1.
contacts 2.
Settings 2 2.