Documentation



Java Card 3 Platform Development Kit User Guide, Classic Edition

Command String Requirements

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

Welcome

none

none

Contacts

1 or 2

none

Settings

1 or 2

1 or 2


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.

Close Window

Table of Contents

Java Card: 3 Platform Development Kit User Guide, Classic Edition

Expand | Collapse