|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CardEmulationMessage
The CardEmulationMessage offers specialized methods to generate card emulation commands or events. Note: An Applet which did not register a listener for card emulation mode will be invoked with process() method.
| Field Summary | |
|---|---|
static byte |
PARAM_ID_TYPE_A_CARD_APPLICATION_DATA
The historical bytes as defined in ISO/IEC 14443-4 for type A |
static byte |
PARAM_ID_TYPE_A_CARD_ATQA
Pre-formatted ATQA; byte 1 shall contain b8..1, byte 2 b16..9 of the ATQA coded as defined in ISO/IEC 14443- 3 [6] for type A |
static byte |
PARAM_ID_TYPE_A_CARD_CID_SUPPORT
support for CID as defined ISO/IEC 14443-4 |
static byte |
PARAM_ID_TYPE_A_CARD_CLT_SUPPORT
Support of tunneling mode for ISO/IEC 14443-4 [7] non compliant protocols |
static byte |
PARAM_ID_TYPE_A_CARD_DATARATE_MAX
Maximum data rate supported |
static byte |
PARAM_ID_TYPE_A_CARD_FWI_SFGI
Frame waiting time and Start-up frame guard time as defined in ISO/IEC 14443-4 for type A |
static byte |
PARAM_ID_TYPE_A_CARD_MODE
Type A card emulation enabled indicator |
static byte |
PARAM_ID_TYPE_A_CARD_SAK
Pre-formatted SAK as defined in ISO/IEC 14443-3 for type A |
static byte |
PARAM_ID_TYPE_A_CARD_UID_REG
UID as defined in ISO/IEC14443-3 for type A |
static byte |
PARAM_ID_TYPE_B_CARD_AFI
Application family identifier as defined in ISO/IEC 14443-3 [6] for type B |
static byte |
PARAM_ID_TYPE_B_CARD_ATQB
Additional data for ATQB |
static byte |
PARAM_ID_TYPE_B_CARD_DATARATE_MAX
Maximum data rate supported |
static byte |
PARAM_ID_TYPE_B_CARD_HIGHER_LAYER_RESPONSE
Higher Layer response in answer to ATTRIB command as defined in ISO/IEC 14443-3 [6] for type B |
static byte |
PARAM_ID_TYPE_B_CARD_MODE
Type B card emulation enabled indicator |
static byte |
PARAM_ID_TYPE_B_CARD_PUPI_REG
PUPI as defined in ISO/IEC 14443-3 [6] for type B. |
static byte |
PARAM_ID_TYPE_B_PRIME_CARD_DAT_OUT
Data to reply if the incoming data matches with PAT_IN pattern |
static byte |
PARAM_ID_TYPE_B_PRIME_CARD_MODE
Type B' card emulation enabled indicator |
static byte |
PARAM_ID_TYPE_B_PRIME_CARD_PAT_IN
Pattern to match with the incoming data |
static byte |
PARAM_ID_TYPE_F_CARD_CLT_SUPPORT
Support of tunnelling mode for anti-collision data exchange in type F card emulation |
static byte |
PARAM_ID_TYPE_F_CARD_MODE
Type F card emulation enabled indicator |
static byte |
PARAM_ID_TYPE_F_CARD_SPEED_CAP
CLF Speed Capabilities for Type F |
| Method Summary | |
|---|---|
void |
prepareAndSendGetParameterCommmand(byte paramID)
This method builds the HCI command ANY_GET_PARAMETER for the indicated information and sends it to the Contactless Reader Gate of the CLF. |
void |
prepareAndSendSendDataEvent(byte[] data,
short offset,
short len)
This method builds the the HCI event EVT_SEND_DATA sends it to the Contactless Card Emulation Gate of the CLF. |
| Methods inherited from interface uicc.hci.framework.HCIMessage |
|---|
getInstruction, getReceiveBuffer, getReceiveLength, getReceiveOffset, getType, isComplete, isHeading |
| Field Detail |
|---|
static final byte PARAM_ID_TYPE_A_CARD_MODE
static final byte PARAM_ID_TYPE_A_CARD_UID_REG
static final byte PARAM_ID_TYPE_A_CARD_SAK
static final byte PARAM_ID_TYPE_A_CARD_ATQA
static final byte PARAM_ID_TYPE_A_CARD_APPLICATION_DATA
static final byte PARAM_ID_TYPE_A_CARD_FWI_SFGI
static final byte PARAM_ID_TYPE_A_CARD_CID_SUPPORT
static final byte PARAM_ID_TYPE_A_CARD_CLT_SUPPORT
static final byte PARAM_ID_TYPE_A_CARD_DATARATE_MAX
static final byte PARAM_ID_TYPE_B_CARD_MODE
static final byte PARAM_ID_TYPE_B_CARD_PUPI_REG
static final byte PARAM_ID_TYPE_B_CARD_AFI
static final byte PARAM_ID_TYPE_B_CARD_ATQB
static final byte PARAM_ID_TYPE_B_CARD_HIGHER_LAYER_RESPONSE
static final byte PARAM_ID_TYPE_B_CARD_DATARATE_MAX
static final byte PARAM_ID_TYPE_B_PRIME_CARD_MODE
static final byte PARAM_ID_TYPE_B_PRIME_CARD_PAT_IN
static final byte PARAM_ID_TYPE_B_PRIME_CARD_DAT_OUT
static final byte PARAM_ID_TYPE_F_CARD_MODE
static final byte PARAM_ID_TYPE_F_CARD_SPEED_CAP
static final byte PARAM_ID_TYPE_F_CARD_CLT_SUPPORT
| Method Detail |
|---|
void prepareAndSendGetParameterCommmand(byte paramID)
throws HCIException
paramID - constant PARAM_ID_* indicating the requested value
HCIException - (editor's note: add exceptions)
void prepareAndSendSendDataEvent(byte[] data,
short offset,
short len)
throws HCIException
data - data to be sentoffset - offset of datalen - length of data
HCIException - (editor's note: add exceptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||