public interface IPoyntConfigurationService
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntConfigurationService.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
addAPNInfo(ApnInfo apnInfo,
IPoyntAPNSettingsStatusListener callback)
Add a new APN Info settings.
|
void |
addEMVExceptionListEntry(byte[] pan,
byte sequenceNumber,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
addEMVRevocationListEntry(byte[] rid,
byte keyIndex,
byte[] certSerialNumber,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteAIDConfiguration(byte cardInterface,
byte[] aid,
IPoyntConfigurationUpdateListener callback)
Delete application configuration for the given cardInterface and AID
|
void |
deleteAllAIDConfigurations(IPoyntConfigurationUpdateListener callback)
Delete all application configuration for all interfaces
|
void |
deleteAllConfigs(IPoyntConfigurationUpdateListener callback)
Clears all configs in the card reader while preserving versions - preferred way to clear configs.
|
void |
deleteAllEMVCAPublicKeys(IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteAllEMVExceptionListEntries(IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteAllEMVRevocationListEntries(IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteAPNInfo(int apnId,
IPoyntAPNSettingsStatusListener callback)
Delete a APN Info settings.
|
void |
deleteEMVCAPublicKey(byte cardInterface,
byte[] rid,
byte keyIndex,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteEMVExceptionListEntry(byte[] pan,
byte sequenceNumber,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
deleteEMVRevocationListEntry(byte[] rid,
byte keyIndex,
byte[] certSerialNumber,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
destroyConfigs(IPoyntConfigurationUpdateListener callback)
Clears all configs in the card reader including version so do not use it unless you are
restarting the card reader
|
void |
getAIDConfiguration(byte cardInterface,
byte[] aid,
IPoyntConfigurationReadListener callback)
Gets the current Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
getAPNInfoList(int icc_operator_numeric,
IPoyntAPNSettingsReadListener callback)
Gets current apn info list.
|
void |
getEMVCAPublicKeys(byte cardInterface,
IPoyntConfigurationReadListener callback)
Gets the current configuration data (TLVs) for the given cardInterface.
|
void |
getEMVExceptionList(int startingRecordNumber,
int responseDataSize,
IPoyntConfigurationReadListener callback)
Gets the current configuration data (TLVs) for the given cardInterface.
|
void |
getEMVRevocationList(int startingRecordNumber,
int responseDataSize,
IPoyntConfigurationReadListener callback)
Gets the current configuration data (TLVs) for the given cardInterface.
|
int |
getGPRSCheckPeriod() |
void |
getKernelVersion(KernelType type,
IPoyntKernelVersionListener callback)
Get the kernel version for kernel type
|
int |
getPDPErrorPollCount() |
int |
getPDPErrorPollPeriod() |
int |
getPDPMaxResetFailCount() |
int |
getPDPPollPeriod() |
int |
getPDPPollPeriodLong() |
int |
getPDPTriggerPacketCount() |
void |
getPoyntReaderVersion(IPoyntReaderVersionListener callback)
Get the Poynt Reader Version
|
java.lang.String |
getRTC() |
void |
getTerminalConfiguration(byte cardInterface,
IPoyntConfigurationReadListener callback)
Gets the current configuration data (TLVs) for the given cardInterface.
|
boolean |
isDeviceObjectSigned()
Check to see if the device is remote key injection capable
|
boolean |
isDevicePCIEnabled()
Check to see if the device is PCI enabled
|
boolean |
isDeviceTampered()
Check to see if the device is tampered.
|
boolean |
isKeyInjected()
Check to see if the device is has the key injected.
|
void |
loadCardReaderConfiguration(IPoyntConfigurationUpdateListener callback)
Request default card reader configuration load for given processor-acquirer
|
void |
requestFactoryReset()
Request a factory reset, this will wipe all the data in android,
IMPORTANT: There will be no impact or data wipe on Firmware side.
|
void |
setAIDConfiguration(byte mode,
byte cardInterface,
byte[] aid,
byte[] data,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
setCreditAIDs(java.util.List<java.lang.String> aidList,
IPoyntConfigurationUpdateListener callback)
Set Credit AIDs
|
void |
setDebitAIDs(java.util.List<java.lang.String> aidList,
IPoyntConfigurationUpdateListener callback)
Set Debit AIDs
|
void |
setEMVCAPublicKey(byte cardInterface,
byte[] rid,
byte keyIndex,
byte hashAlgorithmIndicator,
byte publicKeyAlgorithmIndicator,
byte[] publicKeyChecksum,
byte[] publicKeyExponent,
byte[] publicKeyModulus,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given Application configuration data (TLVs) for the given cardInterface and AID.
|
void |
setGPRSCheckPeriod(int interval_in_ms,
IPoyntConfigurationUpdateListener callback)
Set the interval in milliseconds at which to check gprs registration
after the first registration mismatch of gprs and voice service,
to detect possible data network registration problems.
|
void |
setPaymentCardBinRanges(java.lang.String binRangeLists,
IPoyntConfigurationUpdateListener callback)
Sets the bin ranges for payment cards
|
void |
setPDPErrorPollCount(int poll_count,
IPoyntConfigurationUpdateListener callback)
Set the number of polls to perform (at
#PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS )
after hitting #PDP_WATCHDOG_TRIGGER_PACKET_COUNT before
attempting data connection recovery. |
void |
setPDPErrorPollPeriod(int interval_in_ms,
IPoyntConfigurationUpdateListener callback)
Set the interval in milliseconds at which to check packet counts on the
mobile data interface after
#PDP_WATCHDOG_TRIGGER_PACKET_COUNT
outgoing packets has been reached without incoming packets. |
void |
setPDPMaxResetFailCount(int reset_fail_count,
IPoyntConfigurationUpdateListener callback)
Set the number of failed PDP reset attempts before moving to something more
drastic: re-registering to the network.
|
void |
setPDPPollPeriod(int interval_in_ms,
IPoyntConfigurationUpdateListener callback)
Set the interval in milliseconds at which to check packet counts on the
mobile data interface when screen is on, to detect possible data
connection problems.
|
void |
setPDPPollPeriodLong(int interval_in_ms,
IPoyntConfigurationUpdateListener callback)
Set the interval in milliseconds at which to check packet counts on the
mobile data interface when screen is off, to detect possible data
connection problems.
|
void |
setPDPTriggerPacketCount(int packet_count,
IPoyntConfigurationUpdateListener callback)
Set the number of outgoing packets sent without seeing an incoming packet
that triggers a countdown (of
#PDP_WATCHDOG_ERROR_POLL_COUNT
device is logged to the event log |
void |
setPreferredAPNInfo(int apnId,
IPoyntAPNSettingsStatusListener callback)
Set the preferred APN info.
|
void |
setRTC(java.lang.String date,
java.lang.String time,
IPoyntConfigurationUpdateListener callback)
Set internal clock in card reader
|
void |
setTerminalConfiguration(byte mode,
byte cardInterface,
byte[] data,
IPoyntConfigurationUpdateListener callback)
Loads (based on mode) the given configuration data (TLVs) for the given cardInterface.
|
void |
setVoucherAIDs(java.util.List<java.lang.String> aidList,
IPoyntConfigurationUpdateListener callback)
Set Voucher AIDs
|
void |
updateAPNInfo(ApnInfo apnInfo,
IPoyntAPNSettingsStatusListener callback)
Update a APN Info settings.
|
void destroyConfigs(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
android.os.RemoteException
void deleteAllConfigs(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
android.os.RemoteException
void setTerminalConfiguration(byte mode, byte cardInterface, byte[] data, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getTerminalConfiguration(byte cardInterface, IPoyntConfigurationReadListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void setAIDConfiguration(byte mode, byte cardInterface, byte[] aid, byte[] data, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getAIDConfiguration(byte cardInterface, byte[] aid, IPoyntConfigurationReadListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteAIDConfiguration(byte cardInterface, byte[] aid, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteAllAIDConfigurations(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void setEMVCAPublicKey(byte cardInterface, byte[] rid, byte keyIndex, byte hashAlgorithmIndicator, byte publicKeyAlgorithmIndicator, byte[] publicKeyChecksum, byte[] publicKeyExponent, byte[] publicKeyModulus, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteEMVCAPublicKey(byte cardInterface, byte[] rid, byte keyIndex, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteAllEMVCAPublicKeys(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getEMVCAPublicKeys(byte cardInterface, IPoyntConfigurationReadListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void addEMVRevocationListEntry(byte[] rid, byte keyIndex, byte[] certSerialNumber, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteEMVRevocationListEntry(byte[] rid, byte keyIndex, byte[] certSerialNumber, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteAllEMVRevocationListEntries(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getEMVRevocationList(int startingRecordNumber, int responseDataSize, IPoyntConfigurationReadListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void addEMVExceptionListEntry(byte[] pan, byte sequenceNumber, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteEMVExceptionListEntry(byte[] pan, byte sequenceNumber, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void deleteAllEMVExceptionListEntries(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
data
- to encryptcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getEMVExceptionList(int startingRecordNumber, int responseDataSize, IPoyntConfigurationReadListener callback) throws android.os.RemoteException
cardInterface
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getAPNInfoList(int icc_operator_numeric, IPoyntAPNSettingsReadListener callback) throws android.os.RemoteException
icc_operator_numeric:
- Numeric name (MCC+MNC) of current registered operatorcallback
- IPoyntAPNSettingsReadListener
android.os.RemoteException
void addAPNInfo(ApnInfo apnInfo, IPoyntAPNSettingsStatusListener callback) throws android.os.RemoteException
appInfo:
- new App info settings to be written.callback
- IPoyntAPNSettingsStatusListener
android.os.RemoteException
void updateAPNInfo(ApnInfo apnInfo, IPoyntAPNSettingsStatusListener callback) throws android.os.RemoteException
appInfo:
- new App info settings to be written.callback
- IPoyntAPNSettingsStatusListener
android.os.RemoteException
void deleteAPNInfo(int apnId, IPoyntAPNSettingsStatusListener callback) throws android.os.RemoteException
appId:
- id of the APN info to be deleted.callback
- IPoyntAPNSettingsStatusListener
android.os.RemoteException
void setPreferredAPNInfo(int apnId, IPoyntAPNSettingsStatusListener callback) throws android.os.RemoteException
appInfo:
- new App info settings to be written.callback
- IPoyntAPNSettingsStatusListener
android.os.RemoteException
void setGPRSCheckPeriod(int interval_in_ms, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
interval_in_ms:
- time interval in mscallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getGPRSCheckPeriod() throws android.os.RemoteException
android.os.RemoteException
void setPDPPollPeriod(int interval_in_ms, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
interval_in_ms:
- time interval in mscallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPPollPeriod() throws android.os.RemoteException
android.os.RemoteException
void setPDPPollPeriodLong(int interval_in_ms, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
interval_in_ms:
- time interval in mscallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPPollPeriodLong() throws android.os.RemoteException
android.os.RemoteException
void setPDPErrorPollPeriod(int interval_in_ms, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
#PDP_WATCHDOG_TRIGGER_PACKET_COUNT
outgoing packets has been reached without incoming packets.interval_in_ms:
- time interval in mscallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPErrorPollPeriod() throws android.os.RemoteException
android.os.RemoteException
void setPDPTriggerPacketCount(int packet_count, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
#PDP_WATCHDOG_ERROR_POLL_COUNT
device is logged to the event logpacket_count:
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPTriggerPacketCount() throws android.os.RemoteException
android.os.RemoteException
void setPDPErrorPollCount(int poll_count, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
#PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS
)
after hitting #PDP_WATCHDOG_TRIGGER_PACKET_COUNT
before
attempting data connection recovery.poll_count:
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPErrorPollCount() throws android.os.RemoteException
android.os.RemoteException
void setPDPMaxResetFailCount(int reset_fail_count, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
reset_fail_count:
- callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
int getPDPMaxResetFailCount() throws android.os.RemoteException
android.os.RemoteException
void requestFactoryReset() throws android.os.RemoteException
android.os.RemoteException
void loadCardReaderConfiguration(IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void setRTC(java.lang.String date, java.lang.String time, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
date
- in yyyyMMdd formattime
- in HHmmss formatcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
java.lang.String getRTC() throws android.os.RemoteException
android.os.RemoteException
void setCreditAIDs(java.util.List<java.lang.String> aidList, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
List
- of Credit AIDs (no duplicates allowed)callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void setDebitAIDs(java.util.List<java.lang.String> aidList, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
List
- of Debit AIDs (no duplicates allowed)callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void setVoucherAIDs(java.util.List<java.lang.String> aidList, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
List
- of Voucher AIDs (no duplicates allowed)callback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getKernelVersion(KernelType type, IPoyntKernelVersionListener callback) throws android.os.RemoteException
type
- : type of kernel for which version is requested.callback
- : Result will be returned via callback.android.os.RemoteException
boolean isDeviceTampered() throws android.os.RemoteException
android.os.RemoteException
boolean isDeviceObjectSigned() throws android.os.RemoteException
android.os.RemoteException
boolean isDevicePCIEnabled() throws android.os.RemoteException
android.os.RemoteException
boolean isKeyInjected() throws android.os.RemoteException
android.os.RemoteException
void setPaymentCardBinRanges(java.lang.String binRangeLists, IPoyntConfigurationUpdateListener callback) throws android.os.RemoteException
binrange
- lists to set as per card reader configurationcallback
- IPoyntConfigurationUpdateListener
android.os.RemoteException
void getPoyntReaderVersion(IPoyntReaderVersionListener callback) throws android.os.RemoteException
callback
- : Result will be returned via callback.android.os.RemoteException