![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
This command group enables to access ISO 7816 compatible SAM modules attached to the Baltech ID-engine reader. More...
#include "../typedefs.h"Go to the source code of this file.
Data Structures | |
| struct | brp_Iso78_OpenSam_t |
| struct | brp_Iso78_CloseSam_t |
| struct | brp_Iso78_ExchangeApdu_t |
Macros | |
| #define | BRP_Iso78_ErrInvalidSlot BRP_ERR_STATUS(0x4000, 0x02) |
| The specified slot index is not supported. More... | |
| #define | BRP_Iso78_ErrAbort BRP_ERR_STATUS(0x4000, 0x10) |
| SAM aborted command execution by sending an abort command. More... | |
| #define | BRP_Iso78_ErrProtNotSupported BRP_ERR_STATUS(0x4000, 0x20) |
| The specified protocol is not supported. More... | |
| #define | BRP_Iso78_ErrCom BRP_ERR_STATUS(0x4000, 0x21) |
| Communication error. More... | |
| #define | BRP_Iso78_ErrHw BRP_ERR_STATUS(0x4000, 0x22) |
| Hardware error. More... | |
| #define | BRP_Iso78_ErrInvalid7816Cmd BRP_ERR_STATUS(0x4000, 0x31) |
| The command/parameter(s) is/are not supported by the SAM. More... | |
Functions | |
| brp_errcode | brp_Iso78_OpenSam (brp_Iso78_OpenSam_t params) |
| This command sets up a communication channel to a Secure Access Module (SAM) inserted into the reader. More... | |
| brp_errcode | brp_Iso78_CloseSam (brp_Iso78_CloseSam_t params) |
| This command closes a communication channel previously opened via the brp_Iso78_OpenSam() command. More... | |
| brp_errcode | brp_Iso78_ExchangeApdu (brp_Iso78_ExchangeApdu_t params) |
| This command sends an APDU command on the currently selected and opened SAM module using a logical ID. More... | |
This command group enables to access ISO 7816 compatible SAM modules attached to the Baltech ID-engine reader.
It creates a transparent channel to the SAM which can be used in order to exchange APDUs following the ISO 7816-3 standard.
This command group supports multiple SAM slots, which can be switched via the brp_Iso78_SelectSlot() command.
Definition in file iso78.h.