public interface ConnectivityService extends HCIService
| Modifier and Type | Method and Description |
|---|---|
void |
prepareAndSendConnectivityEvent()
This non-blocking method builds the HCI event EVT_CONNECTIVITY which notifies
the terminal host that it shall send a "HCI connectivity event"
as defined in TS 102 223.
|
void |
prepareAndSendTransactionEvent(byte[] parameters,
short parametersOffset,
short parametersLen)
This non-blocking method builds the HCI event EVT_TRANSACTION which notifies
the terminal host that it shall launch an application on the terminal
which is associated to an Applet in the UICC host identified.
|
void |
prepareAndSendTransactionEvent(byte[] aid,
short aidOffset,
short aidLen,
byte[] parameters,
short parametersOffset,
short parametersLen)
This non-blocking method builds the HCI event EVT_TRANSACTION which notifies
the terminal host that it shall launch an application on the terminal
which is associated to an Applet in the UICC host identified.
|
activateEvent, deactivateEvent, deregister, getEventNotificationStatus, register, requestCallbackNotificationvoid prepareAndSendConnectivityEvent()
throws HCIException
HCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
void prepareAndSendTransactionEvent(byte[] aid,
short aidOffset,
short aidLen,
byte[] parameters,
short parametersOffset,
short parametersLen)
throws HCIException,
java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException
aid - buffer with the AID of the Applet instanceaidOffset - offset in the buffer with the AIDaidLen - AID lengthparameters - buffer with the parametersparametersOffset - offset in the buffer with the parametersparametersLen - length of the parametersHCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
HCI_INVALID_LENGTH if the parameter length or the AID is not compliant to TS 102 622[4]
java.lang.ArrayIndexOutOfBoundsException - if operation would cause access of data outside
array bounds.java.lang.NullPointerException - if parameters is null or aid is nullvoid prepareAndSendTransactionEvent(byte[] parameters,
short parametersOffset,
short parametersLen)
throws HCIException,
java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException
parameters - buffer with the parametersparametersOffset - offset in the buffer with the parametersparametersLen - length of the parametersHCIException - with the following reason code:
HCI_CURRENTLY_DISABLED if the HCI interface was disabled
HCI_RESOURCES_NOT_AVAILABLE if the contactless framework does not have enough resources to process the command
HCI_CONDITIONS_NOT_SATISFIED if the conditions to call this method are not satisfied
HCI_INVALID_LENGTH if the parameter length or the AID is not compliant to TS 102 622[4]
java.lang.ArrayIndexOutOfBoundsException - if operation would cause access of data outside
array bounds.java.lang.NullPointerException - if parameters is null