3 - MTPPSCRAPCL Functions
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer’s Reference (Microsoft Windows Store)
Page 24
Parameter
Description
opStatus
An integer array to receive the command response or operation status.
Zero value means OK. For more values, see
Return Value:
Returns an object of the
DEV_STATE_STAT
class below.
public struct DEV_STATE_STAT
{
public byte nDeviceState;
public byte nSessionState;
public byte nDeviceStatus;
public byte nDevCertStatus;
public byte nHWStatus;
public byte nICCMasterSessKeyStatus;
}
3.30
requestKernelInformation
This function retrieves the device’s kernel information.
int requestKernelInformation(
int kernelInfoID,
byte [] kernelInfoBuffer);
Parameter
Description
kernelInfoID
Key information ID:
0x00 – Version L1 Kernel
0x01 – Version L2 Kernel
0x02 – Checksum/Signature L1 Kernel
0x03 – Checksum/Signature L2 Kernel
0x03 – Checksum/Signature L2 Configuration
kernelInfoBuffer
A pointer to receive the kernel information.
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.31
getBINTableData
This function retrieves the BIN table data. See report
0x32
.
byte[] getBINTableData();
Return Value: A byte array of device BIN data.
3.32
setBINTableData
This function retrieves the BIN table data. See report
0x32
. For additional information, see