4.6 WFS_CMD_IDC_SETKEY

Description This command is used for setting the DES key that is necessary for operating a CIM86 module. The command must be executed before the first read command is issued to the card reader.

Input Param LPWFSIDCSETKEY lpSetkey;

typedef struct _wfs_idc_setkey
{
USHORT usKeyLen;
LPBYTE lpbKeyValue;
} WFSIDCSETKEY, *LPWFSIDCSETKEY;

usKeyLen

Specifies the length of the following key value.

lpbKeyValue

Pointer to a byte array containing the CIM86 DES key. This key is supplied by the vendor of the CIM86 module.

Output Param None.

Error Codes There are no additional error codes generated by this command.

Events There are no additional events generated by this command.

Comments None.