|
sc-hsm-embedded
|
#include "scr.h"Defines | |
| #define | CTBCS_DATA_STATUS_CARD 4 |
Functions | |
| int | ResetTerminal (struct scr *ctx, unsigned int *lr, unsigned char *rsp) |
| int | ResetCard (struct scr *ctx, unsigned int lc, unsigned char *cmd, unsigned int *lr, unsigned char *rsp) |
| int | RequestICC (struct scr *ctx, unsigned int lc, unsigned char *cmd, unsigned int *lr, unsigned char *rsp) |
| int | EjectICC (struct scr *ctx, unsigned int lc, unsigned char *cmd, unsigned int *lr, unsigned char *rsp) |
| int | GetStatus (struct scr *ctx, unsigned char *cmd, unsigned int *lr, unsigned char *rsp) |
| #define CTBCS_DATA_STATUS_CARD 4 |
CT-BCS Get Status command
| ctx | Reader context |
| cmd | Command |
| lr | Length of response |
| rsp | Response buffer |
| int RequestICC | ( | struct scr * | ctx, |
| unsigned int | lc, | ||
| unsigned char * | cmd, | ||
| unsigned int * | lr, | ||
| unsigned char * | rsp | ||
| ) |
CT-BCS Request ICC command
| ctx | Reader context |
| lc | Length of command |
| cmd | Command |
| lr | Length of response |
| rsp | Response buffer |
| int ResetCard | ( | struct scr * | ctx, |
| unsigned int | lc, | ||
| unsigned char * | cmd, | ||
| unsigned int * | lr, | ||
| unsigned char * | rsp | ||
| ) |
CT-BCS Reset Card command
| ctx | Reader context |
| lc | Length of command |
| cmd | Command |
| lr | Length of response |
| rsp | Response buffer |
| int ResetTerminal | ( | struct scr * | ctx, |
| unsigned int * | lr, | ||
| unsigned char * | rsp | ||
| ) |