BALTECH SDK wrapper functions reference
Wrapper functions

Data Structures

struct  brp_AR_SetMode_t
 
struct  brp_AR_GetMessage_t
 
struct  brp_AR_RunScript_t
 
struct  brp_AR_RestrictScanCardFamilies_t
 
struct  brp_BlePeriph_DefineService_t
 
struct  brp_BlePeriph_Enable_t
 
struct  brp_BlePeriph_SetAdvertisingData_t
 
struct  brp_BlePeriph_WriteCharacteristic_t
 
struct  brp_BlePeriph_ReadCharacteristic_t
 
struct  brp_BlePeriph_GetEvents_t
 
struct  brp_BlePeriph_IsConnected_t
 
struct  brp_BlePeriph_GetRSSI_t
 
struct  brp_BlePeriph_CloseConnection_t
 
struct  brp_Crypto_EncryptBlock_t
 
struct  brp_Crypto_DecryptBlock_t
 
struct  brp_Crypto_EncryptBuffer_t
 
struct  brp_Crypto_DecryptBuffer_t
 
struct  brp_Crypto_BalKeyEncryptBuffer_t
 
struct  brp_Crypto_GetKeySig_t
 
struct  brp_Crypto_CopyConfigKey_t
 
struct  brp_Desfire_ExecCommand_t
 
struct  brp_Desfire_Authenticate_t
 
struct  brp_Desfire_AuthExtKey_t
 
struct  brp_Desfire_SelectApplication_t
 
struct  brp_Desfire_ReadData_t
 
struct  brp_Desfire_WriteData_t
 
struct  brp_Desfire_ChangeExtKey_t
 
struct  brp_Desfire_ChangeKey_t
 
struct  brp_Desfire_SetFraming_t
 
struct  brp_Desfire_ResetAuthentication_t
 
struct  brp_Desfire_CreateDam_t
 
struct  brp_Desfire_GetOriginalitySignature_t
 
struct  brp_Desfire_VirtualCardSelect_t
 
struct  brp_Desfire_ProxCheck_t
 
struct  brp_Desfire_GetDfNames_t
 
struct  brp_Felica_GenericCmd_t
 
struct  brp_Felica_SetUID2_t
 
struct  brp_Felica_Request_t
 
struct  brp_Iso14a_Select_t
 
struct  brp_Iso14a_Halt_t
 
struct  brp_Iso14a_RequestATS_t
 
struct  brp_Iso14a_PerformPPS_t
 
struct  brp_Iso14a_Request_t
 
struct  brp_Iso14a_RequestVasup_t
 
struct  brp_Iso14a_TransparentCmd_t
 
struct  brp_Iso14b_Request_t
 
struct  brp_Iso14b_Attrib_t
 
struct  brp_Iso14b_Halt_t
 
struct  brp_Iso14b_TransparentCmd_t
 
struct  brp_Iso14L4_SetupAPDU_t
 
struct  brp_Iso14L4_ExchangeAPDU_t
 
struct  brp_Iso14L4_Deselect_t
 
struct  brp_Iso15_SetParam_t
 
struct  brp_Iso15_GetParam_t
 
struct  brp_Iso15_GetUIDList_t
 
struct  brp_Iso15_SetMode_t
 
struct  brp_Iso15_StayQuiet_t
 
struct  brp_Iso15_LockBlock_t
 
struct  brp_Iso15_ResetToReady_t
 
struct  brp_Iso15_WriteAFI_t
 
struct  brp_Iso15_LockAFI_t
 
struct  brp_Iso15_WriteDSFID_t
 
struct  brp_Iso15_LockDSFID_t
 
struct  brp_Iso15_GetSystemInformation_t
 
struct  brp_Iso15_GetSecurityStatus_t
 
struct  brp_Iso15_CustomCommand_t
 
struct  brp_Iso15_ReadSingleBlock_t
 
struct  brp_Iso15_WriteSingleBlock_t
 
struct  brp_Iso15_WriteMultipleBlocks_t
 
struct  brp_Iso15_ReadMultipleBlocks_t
 
struct  brp_Iso15_TransparentCmd_t
 
struct  brp_Iso78_OpenSam_t
 
struct  brp_Iso78_CloseSam_t
 
struct  brp_Iso78_ExchangeApdu_t
 
struct  brp_Lic_GetLicenses_t
 
struct  brp_Lic_ReadLicCard_t
 
struct  brp_Main_Bf3UploadStart_t
 
struct  brp_Main_Bf3UploadContinue_t
 
struct  brp_Mif_LoadKey_t
 
struct  brp_Mif_AuthE2_t
 
struct  brp_Mif_AuthUser_t
 
struct  brp_Mif_Read_t
 
struct  brp_Mif_Write_t
 
struct  brp_Mif_ChangeValue_t
 
struct  brp_Mif_ChangeValueBackup_t
 
struct  brp_Mif_TransferBlock_t
 
struct  brp_Mif_AuthE2Extended_t
 
struct  brp_Mif_AuthUserExtended_t
 
struct  brp_Mif_ResetAuth_t
 
struct  brp_Mif_ReadSL3_t
 
struct  brp_Mif_WriteSL3_t
 
struct  brp_Mif_ChangeAESKey_t
 
struct  brp_Mif_ValueSL3_t
 
struct  brp_Mif_ProxCheck_t
 
struct  brp_Mif_GetCardVersion_t
 
struct  brp_Mif_ReadSig_t
 
struct  brp_Mif_VirtualCardSelect_t
 
struct  brp_Mif_SectorSwitch_t
 
struct  brp_Mif_CommitReaderID_t
 
struct  brp_Mif_SetFraming_t
 
struct  brp_MobileId_Enable_t
 
struct  brp_MobileId_GetVirtualCredentialId_t
 
struct  brp_Sec_GetAcMask_t
 
struct  brp_Sec_SetAcMask_t
 
struct  brp_Sec_SetKey_t
 
struct  brp_Sec_AuthPhase1_t
 
struct  brp_Sec_AuthPhase2_t
 
struct  brp_Sec_Tunnel_t
 
struct  brp_Sec_Reset_t
 
struct  brp_Sec_LockReset_t
 
struct  brp_Sec_GetCurAcMask_t
 
struct  brp_Sys_GetBufferSize_t
 
struct  brp_Sys_HFReset_t
 
struct  brp_Sys_Reset_t
 
struct  brp_Sys_GetInfo_t
 
struct  brp_Sys_GetBootStatus_t
 
struct  brp_Sys_CfgGetValue_t
 
struct  brp_Sys_CfgSetValue_t
 
struct  brp_Sys_CfgDelValues_t
 
struct  brp_Sys_CfgGetKeyList_t
 
struct  brp_Sys_CfgGetValueList_t
 
struct  brp_Sys_CfgCheck_t
 
struct  brp_Sys_SelectProtocol_t
 
struct  brp_Sys_CfgLoadBlock_t
 
struct  brp_Sys_CfgReset_t
 
struct  brp_Sys_StopProtocol_t
 
struct  brp_Sys_SendMessage_t
 
struct  brp_Sys_CfgGetId_t
 
struct  brp_Sys_CfgGetDeviceSettingsId_t
 
struct  brp_Sys_GetStatistics_t
 
struct  brp_Sys_GetFeatures_t
 
struct  brp_Sys_GetPartNumber_t
 
struct  brp_Sys_CfgLoadPrepare_t
 
struct  brp_Sys_CfgLoadFinish_t
 
struct  brp_Sys_FactoryReset_t
 
struct  brp_Sys_GetLicenses_t
 
struct  brp_UI_Enable_t
 
struct  brp_UI_Disable_t
 
struct  brp_UI_Toggle_t
 
struct  brp_UI_SetRgbLed_t
 
struct  brp_UI_PulseRgbLed_t
 
struct  brp_Ultralight_ExecCmd_t
 
struct  brp_Ultralight_Read_t
 
struct  brp_Ultralight_Write_t
 
struct  brp_Ultralight_AuthE2_t
 
struct  brp_Ultralight_AuthUser_t
 
struct  brp_Ultralight_SectorSwitch_t
 
struct  brp_VHL_Select_t
 
struct  brp_VHL_GetSnr_t
 
struct  brp_VHL_Read_t
 
struct  brp_VHL_Write_t
 
struct  brp_VHL_IsSelected_t
 
struct  brp_VHL_ExchangeAPDU_t
 
struct  brp_VHL_Setup_t
 
struct  brp_VHL_CheckReconfigErr_t
 
struct  brp_VHL_ExchangeLongAPDU_t
 
struct  brp_VHL_GetFileInfo_t
 
struct  brp_VHL_GetATR_t
 
struct  brp_VHL_ResolveFilename_t
 
struct  brp_VHL_GetCardType_t
 

Macros

#define BRP_AR_ErrNoMessage   BRP_ERR_STATUS(0x0500, 0x01)
 No valid card has been presented to the reader so far. More...
 
#define BRP_AR_ErrScriptRuntime   BRP_ERR_STATUS(0x0500, 0x02)
 A runtime error occurred when executing the script. More...
 
#define BRP_AR_ErrScriptSyntax   BRP_ERR_STATUS(0x0500, 0x03)
 There's a syntax error in the script code. More...
 
#define BRP_AR_ErrScriptNotImplemented   BRP_ERR_STATUS(0x0500, 0x04)
 The script ran the command DefaultAction. More...
 
#define BRP_AR_ErrArDisabled   BRP_ERR_STATUS(0x0500, 0x10)
 Autoread is disabled. More...
 
#define BRP_BlePeriph_ErrNotEnabled   BRP_ERR_STATUS(0x4B00, 0x01)
 The command could not be executed because BLE is currently not brp_BlePeriph_Enable(). More...
 
#define BRP_BlePeriph_ErrNotConnected   BRP_ERR_STATUS(0x4B00, 0x02)
 The reader is currently not connected with a BLE central. More...
 
#define BRP_BlePeriph_ErrInvalidCharacteristicNdx   BRP_ERR_STATUS(0x4B00, 0x03)
 The given characteristic index is invalid. More...
 
#define BRP_BlePeriph_ErrWriteCharacteristic   BRP_ERR_STATUS(0x4B00, 0x04)
 The characteristic value could not be written because the given offset or length exceeds the characteristic size. More...
 
#define BRP_Crypto_CrptErrInvalidBlock   BRP_ERR_STATUS(0x0200, 0x01)
 Encrypted block format is invalid. More...
 
#define BRP_Crypto_CrptErrAuth   BRP_ERR_STATUS(0x0200, 0x02)
 Internal key cannot be accessed for the specified action due to the access condition flags settings. More...
 
#define BRP_Crypto_CrptErrKeyNotFound   BRP_ERR_STATUS(0x0200, 0x03)
 Specified key not available in the internal key list. More...
 
#define BRP_Crypto_CrptErrWriteConfigkey   BRP_ERR_STATUS(0x0200, 0x04)
 Configuration key cannot be stored in the reader's configuration. More...
 
#define BRP_Crypto_CrptErrInvalidKey   BRP_ERR_STATUS(0x0200, 0x05)
 No valid configuration card key. More...
 
#define BRP_Desfire_ErrIso14NoTag   BRP_ERR_STATUS(0x1B00, 0x01)
 There's no card in the HF field, or the card doesn't respond. More...
 
#define BRP_Desfire_ErrBreak   BRP_ERR_STATUS(0x1B00, 0x03)
 The command has been aborted because the HF interface has been requested by another task or command. More...
 
#define BRP_Desfire_ErrIso14Hf   BRP_ERR_STATUS(0x1B00, 0x04)
 The response frame received from the PICC is invalid, e.g. More...
 
#define BRP_Desfire_ErrIso14CardInvalid   BRP_ERR_STATUS(0x1B00, 0x05)
 The card behaves in an unspecified way or is corrupted. More...
 
#define BRP_Desfire_ErrReaderChipCommunication   BRP_ERR_STATUS(0x1B00, 0x06)
 Communication with the reader's HF interface has failed. More...
 
#define BRP_Desfire_ErrIso14ApduCmd   BRP_ERR_STATUS(0x1B00, 0x07)
 ISO 14443-4 error: The command or parameters are invalid. More...
 
#define BRP_Desfire_ErrIso14InvalidResponse   BRP_ERR_STATUS(0x1B00, 0x08)
 ISO 14443-4 error: The card returned an invalid response, e.g. More...
 
#define BRP_Desfire_ErrPcdAuthentication   BRP_ERR_STATUS(0x1B00, 0x09)
 Authentication with the PICC has failed, e.g. More...
 
#define BRP_Desfire_ErrIntegrity   BRP_ERR_STATUS(0x1B00, 0x0A)
 Secure messaging error: The CRC or MAC checksum doesn't match the transmitted data. More...
 
#define BRP_Desfire_ErrPcdKey   BRP_ERR_STATUS(0x1B00, 0x0B)
 The key in the SAM/crypto memory is invalid or missing. More...
 
#define BRP_Desfire_ErrNoChanges   BRP_ERR_STATUS(0x1B00, 0x0C)
 Card error as per DESFire specification: No changes done to backup files, CommitTransaction / AbortTransaction not necessary. More...
 
#define BRP_Desfire_ErrPcdParam   BRP_ERR_STATUS(0x1B00, 0x0D)
 The BRP command contains an invalid parameter. More...
 
#define BRP_Desfire_VcsAndProxCheckError   BRP_ERR_STATUS(0x1B00, 0x0F)
 The proximity check has timed out. More...
 
#define BRP_Desfire_ErrFirmwareNotSupported   BRP_ERR_STATUS(0x1B00, 0x10)
 This command or parameter isn't supported by the reader firmware. More...
 
#define BRP_Desfire_ErrSamCommunication   BRP_ERR_STATUS(0x1B00, 0x11)
 Communication with the SAM has failed. More...
 
#define BRP_Desfire_ErrSamUnlock   BRP_ERR_STATUS(0x1B00, 0x12)
 Unlocking/authenticating with the SAM has failed. More...
 
#define BRP_Desfire_ErrHardwareNotSupported   BRP_ERR_STATUS(0x1B00, 0x13)
 This command isn't supported by the reader hardware. More...
 
#define BRP_Desfire_ErrIllegalCmdLegacy   BRP_ERR_STATUS(0x1B00, 0x1C)
 Card error as per DESFire specification: Command code not supported by card. More...
 
#define BRP_Desfire_ErrLength   BRP_ERR_STATUS(0x1B00, 0x20)
 Card error as per DESFire specification: Length of command string invalid. More...
 
#define BRP_Desfire_ErrPermissionDenied   BRP_ERR_STATUS(0x1B00, 0x21)
 Card error as per DESFire specification: Current configuration/state does not allow the requested command. More...
 
#define BRP_Desfire_ErrParameter   BRP_ERR_STATUS(0x1B00, 0x22)
 Card error as per DESFire specification: Value of the parameter invalid. More...
 
#define BRP_Desfire_ErrAppNotFound   BRP_ERR_STATUS(0x1B00, 0x23)
 Card error as per DESFire specification: Requested AID not present on PICC. More...
 
#define BRP_Desfire_ErrAppIntegrity   BRP_ERR_STATUS(0x1B00, 0x24)
 Card error as per DESFire specification: Unrecoverable error in application. More...
 
#define BRP_Desfire_ErrAuthentication   BRP_ERR_STATUS(0x1B00, 0x25)
 Card error as per DESFire specification: Current authentication status does not allow execution of requested command. More...
 
#define BRP_Desfire_ErrBoundary   BRP_ERR_STATUS(0x1B00, 0x27)
 Card error as per DESFire specification: Attempted to read/write beyond the limits of the file. More...
 
#define BRP_Desfire_ErrPiccIntegrity   BRP_ERR_STATUS(0x1B00, 0x28)
 Card error as per DESFire specification: Unrecoverable error within PICC, PICC will be disabled. More...
 
#define BRP_Desfire_ErrCommandAborted   BRP_ERR_STATUS(0x1B00, 0x29)
 Card error as per DESFire specification: Previous command was not fully completed. More...
 
#define BRP_Desfire_ErrPiccDisabled   BRP_ERR_STATUS(0x1B00, 0x2A)
 Card error as per DESFire specification: PICC was disabled by an unrecoverable error. More...
 
#define BRP_Desfire_ErrCount   BRP_ERR_STATUS(0x1B00, 0x2B)
 Card error as per DESFire specification: Number of applications limited to 28, no additional CreateApplication possible. More...
 
#define BRP_Desfire_ErrDuplicate   BRP_ERR_STATUS(0x1B00, 0x2C)
 Card error as per DESFire specification: Creation of file/application failed because file/application with same number already exists. More...
 
#define BRP_Desfire_ErrEeprom   BRP_ERR_STATUS(0x1B00, 0x2D)
 Card error as per DESFire specification: Could not complete NV-write operation due to loss of power, internal backup/rollback mechanism activated. More...
 
#define BRP_Desfire_ErrFileNotFound   BRP_ERR_STATUS(0x1B00, 0x2E)
 Card error as per DESFire specification: Specified file number does not exist. More...
 
#define BRP_Desfire_ErrFileIntegrity   BRP_ERR_STATUS(0x1B00, 0x2F)
 Card error as per DESFire specification: Unrecoverable error within file, file will be disabled. More...
 
#define BRP_Desfire_ErrNoSuchKey   BRP_ERR_STATUS(0x1B00, 0x30)
 Card error as per DESFire specification: Invalid key number specified. More...
 
#define BRP_Desfire_ErrOutOfMemory   BRP_ERR_STATUS(0x1B00, 0x32)
 Card error as per DESFire specification: Insufficient NV-Memory to complete command . More...
 
#define BRP_Desfire_ErrIllegalCmd   BRP_ERR_STATUS(0x1B00, 0x33)
 Card error as per DESFire specification: Command code not supported by card. More...
 
#define BRP_Desfire_ErrCmdOverflow   BRP_ERR_STATUS(0x1B00, 0x34)
 Card error as per DESFire specification: Too many commands in the session or transaction. More...
 
#define BRP_Felica_ErrFelicaNoTag   BRP_ERR_STATUS(0x1C00, 0x01)
 No PICC in HF field. More...
 
#define BRP_Felica_ErrFelicaHf   BRP_ERR_STATUS(0x1C00, 0x04)
 PICC-reader communication error. More...
 
#define BRP_Felica_ErrFelicaFrame   BRP_ERR_STATUS(0x1C00, 0x07)
 Bit error, parity error or frame error. More...
 
#define BRP_Felica_ErrFelicaCom   BRP_ERR_STATUS(0x1C00, 0x10)
 Communication error uC - reader chip. More...
 
#define BRP_Felica_ErrFelicaCardNotSupported   BRP_ERR_STATUS(0x1C00, 0x22)
 Reader chip does not support cardtype-selected baud rate. More...
 
#define BRP_Iso14a_ErrNoTag   BRP_ERR_STATUS(0x1300, 0x01)
 No card in field of antenna or card in field of antenna does not match the given VHL-file. More...
 
#define BRP_Iso14a_ErrCollision   BRP_ERR_STATUS(0x1300, 0x02)
 More than one PICC answered in the same time slot and none of them could therefore be requested correctly. More...
 
#define BRP_Iso14a_ErrHf   BRP_ERR_STATUS(0x1300, 0x04)
 General HF error. More...
 
#define BRP_Iso14a_ErrFrame   BRP_ERR_STATUS(0x1300, 0x07)
 Bit error, Parity error or Frame error (start/stop bit). More...
 
#define BRP_Iso14a_ErrCrc   BRP_ERR_STATUS(0x1300, 0x08)
 CRC checksum error. More...
 
#define BRP_Iso14a_ErrCom   BRP_ERR_STATUS(0x1300, 0x10)
 Error in communication with reader chip. More...
 
#define BRP_Iso14b_ErrNoTag   BRP_ERR_STATUS(0x1400, 0x01)
 No card in field of antenna or card in field of antenna does not match given VHL-file. More...
 
#define BRP_Iso14b_ErrCollision   BRP_ERR_STATUS(0x1400, 0x02)
 More than one PICC answered in the same time slot and none of them could therefore be requested correctly. More...
 
#define BRP_Iso14b_ErrHf   BRP_ERR_STATUS(0x1400, 0x04)
 General HF error. More...
 
#define BRP_Iso14b_ErrFrame   BRP_ERR_STATUS(0x1400, 0x07)
 Bit error, parity error or frame error (start/stop bit). More...
 
#define BRP_Iso14b_ErrCom   BRP_ERR_STATUS(0x1400, 0x10)
 Error in communication with reader chip. More...
 
#define BRP_Iso14b_ErrMem   BRP_ERR_STATUS(0x1400, 0x23)
 Either internal list of labels or response buffer full. More...
 
#define BRP_Iso14L4_ErrNoTag   BRP_ERR_STATUS(0x1600, 0x01)
 No card in field of antenna or card in field of antenna does not match given VHL-file. More...
 
#define BRP_Iso14L4_ErrHf   BRP_ERR_STATUS(0x1600, 0x04)
 General HF error. More...
 
#define BRP_Iso14L4_ErrCard   BRP_ERR_STATUS(0x1600, 0x05)
 PICC corrupt or behaves unspecified. More...
 
#define BRP_Iso14L4_ErrCom   BRP_ERR_STATUS(0x1600, 0x10)
 Error in communication to reader chip. More...
 
#define BRP_Iso14L4_ErrCmd   BRP_ERR_STATUS(0x1600, 0x23)
 Command and/or parameters invalid. More...
 
#define BRP_Iso15_ErrNoTag   BRP_ERR_STATUS(0x2100, 0x01)
 No label in field of antenna. More...
 
#define BRP_Iso15_ErrCollision   BRP_ERR_STATUS(0x2100, 0x02)
 This status code is triggered by two events: More...
 
#define BRP_Iso15_ErrHf   BRP_ERR_STATUS(0x2100, 0x04)
 General HF Error. More...
 
#define BRP_Iso15_ErrLabel   BRP_ERR_STATUS(0x2100, 0x05)
 Label status error. More...
 
#define BRP_Iso15_ErrCom   BRP_ERR_STATUS(0x2100, 0x10)
 Error in communication to reader chip. More...
 
#define BRP_Iso15_ErrParamNotSupported   BRP_ERR_STATUS(0x2100, 0x23)
 Reader chip does not support label type parameters. More...
 
#define BRP_Iso15_ErrMem   BRP_ERR_STATUS(0x2100, 0x24)
 Either internal list of labels or response buffer full. More...
 
#define BRP_Iso15_ErrLabelBlocksize   BRP_ERR_STATUS(0x2100, 0x25)
 The blocks requested are not equal in size (Read multiple blocks). More...
 
#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...
 
#define BRP_Lic_ErrNoLicCard   BRP_ERR_STATUS(0x0B00, 0x01)
 No valid LicenseCard detected. More...
 
#define BRP_Lic_ErrAccess   BRP_ERR_STATUS(0x0B00, 0x02)
 Card cannot be accessed (e.g. More...
 
#define BRP_Lic_ErrNotSupported   BRP_ERR_STATUS(0x0B00, 0x03)
 The license type of the presented LicenseCard isn't supported by the reader hardware or firmware. More...
 
#define BRP_Lic_ErrAlreadyActive   BRP_ERR_STATUS(0x0B00, 0x04)
 A license of this type is already activated on the reader. More...
 
#define BRP_Lic_ErrNoFreeLicense   BRP_ERR_STATUS(0x0B00, 0x05)
 The LicenseCard contains no free license. More...
 
#define BRP_Lic_ErrActivation   BRP_ERR_STATUS(0x0B00, 0x06)
 The license couldn't be activated on the reader. More...
 
#define BRP_Main_ErrInvalidState   BRP_ERR_STATUS(0xF000, 0x10)
 Is returned by Bf3UploadStart if an upload process is already running or by Bf3UploadContinue if an upload process is currently not active. More...
 
#define BRP_Main_ErrReadFile   BRP_ERR_STATUS(0xF000, 0x11)
 Is returned by Bf3UploadContinue if BF3/BEC2 file data couldn't be retrieved from the host. More...
 
#define BRP_Main_ErrInvalidFormat   BRP_ERR_STATUS(0xF000, 0x12)
 Is returned by Bf3UploadContinue if the BF3/BEC2 file has an invalid format. More...
 
#define BRP_Main_ErrInvalidCustomerKey   BRP_ERR_STATUS(0xF000, 0x13)
 Is returned by Bf3UploadContinue if the customer key of the BEC2 file doesn't match the customer key stored in the reader. More...
 
#define BRP_Main_ErrInvalidConfigSecurityCode   BRP_ERR_STATUS(0xF000, 0x14)
 Is returned by Bf3UploadContinue if the Config Security Code of the BEC2 file doesn't match the Config Security Code stored in the reader (learn more). More...
 
#define BRP_Main_ErrInvalidConfigVersion   BRP_ERR_STATUS(0xF000, 0x15)
 Is returned by Bf3UploadContinue if the configuration version of the BEC2 file is older than the configuration version stored in the reader. More...
 
#define BRP_Main_ErrInvalidCmac   BRP_ERR_STATUS(0xF000, 0x16)
 Is returned by Bf3UploadContinue if the Message Authentication Code (CMAC) of the BF3/BEC2 file is incorrect. More...
 
#define BRP_Main_ErrUpload   BRP_ERR_STATUS(0xF000, 0x17)
 Is returned by Bf3UploadContinue if a component of the current BF3/BEC2 file couldn't be written to the reader memory. More...
 
#define BRP_Main_ErrUnsupportedFirmware   BRP_ERR_STATUS(0xF000, 0x18)
 Is returned by Bf3UploadContinue if the BF3/BEC2 file contains a firmware which is not supported by the reader hardware. More...
 
#define BRP_Main_ErrAlreadyUpToDate   BRP_ERR_STATUS(0xF000, 0x19)
 Is returned by Bf3UploadContinue if all relevant components of the current BF3/BEC2 file are already up to date. More...
 
#define BRP_Main_ErrMissingConfigSecurityCode   BRP_ERR_STATUS(0xF000, 0x1A)
 Is returned by Bf3UploadContinue if the reader was not able to decode the current BEC2 file, because there is no Config Security Code stored in the reader yet. More...
 
#define BRP_Main_ErrInvalidEccKey   BRP_ERR_STATUS(0xF000, 0x1B)
 The elliptic curve key that is used to encrypt the configuration is wrong. More...
 
#define BRP_Main_ErrVerify   BRP_ERR_STATUS(0xF000, 0x1C)
 Is returned by SwitchFW and Bf3UploadContinue if the cryptographic signature of the firmware cannot be verified successfully. More...
 
#define BRP_Mif_ErrNoTag   BRP_ERR_STATUS(0x1000, 0x01)
 There's no card in the HF field, or the card doesn't respond. More...
 
#define BRP_Mif_ErrAuth   BRP_ERR_STATUS(0x1000, 0x04)
 Card authentication has failed. More...
 
#define BRP_Mif_ErrParity   BRP_ERR_STATUS(0x1000, 0x05)
 Legacy error code: The parity bits don't match the transmitted data. More...
 
#define BRP_Mif_ErrCode   BRP_ERR_STATUS(0x1000, 0x06)
 The card behaves in an unspecified way. More...
 
#define BRP_Mif_ErrKey   BRP_ERR_STATUS(0x1000, 0x09)
 The key in the SAM/crypto memory is invalid or missing. More...
 
#define BRP_Mif_ErrNotauth   BRP_ERR_STATUS(0x1000, 0x0A)
 Card authentication has failed. More...
 
#define BRP_Mif_ErrBitcount   BRP_ERR_STATUS(0x1000, 0x0B)
 Legacy error code: HF data transition error. More...
 
#define BRP_Mif_ErrBytecount   BRP_ERR_STATUS(0x1000, 0x0C)
 Legacy error code: HF data transition error. More...
 
#define BRP_Mif_VcsAndProxCheckError   BRP_ERR_STATUS(0x1000, 0x0E)
 The proximity check has timed out. More...
 
#define BRP_Mif_ErrFraming   BRP_ERR_STATUS(0x1000, 0x15)
 The response frame is invalid, e.g. More...
 
#define BRP_Mif_ErrCmd   BRP_ERR_STATUS(0x1000, 0x17)
 The specified command or parameters are unknown. More...
 
#define BRP_Mif_ErrColl   BRP_ERR_STATUS(0x1000, 0x18)
 An error occurred in the anti-collision sequence. More...
 
#define BRP_Mif_CondNotvalid   BRP_ERR_STATUS(0x1000, 0x20)
 Card error as per MIFARE specification: Condition of use not satisfied. More...
 
#define BRP_MobileId_ErrNoCredential   BRP_ERR_STATUS(0x4C00, 0x01)
 No valid credential has been presented to the reader so far. More...
 
#define BRP_MobileId_ErrProtocol   BRP_ERR_STATUS(0x4C00, 0x02)
 The credential is trying to perform an action that doesn't comply with the BALTECH Mobile ID protocol. More...
 
#define BRP_MobileId_ErrAuthentication   BRP_ERR_STATUS(0x4C00, 0x03)
 An authentication error occured, e.g. More...
 
#define BRP_MobileId_ErrCredentialVersion   BRP_ERR_STATUS(0x4C00, 0x04)
 The version of the presented credential is not compatible with the current reader firmware. More...
 
#define BRP_MobileId_ErrCredentialCmac   BRP_ERR_STATUS(0x4C00, 0x05)
 The presented credential is rejected due to an invalid CMAC. More...
 
#define BRP_MobileId_ErrDisabled   BRP_ERR_STATUS(0x4C00, 0x10)
 Mobile ID functionality is currently disabled. More...
 
#define BRP_Sec_ErrCrypto   BRP_ERR_STATUS(0x0700, 0x01)
 Invalid key used for encryption/MACing, MAC address invalid, or decrypted data invalid. More...
 
#define BRP_Sec_ErrTunnel   BRP_ERR_STATUS(0x0700, 0x02)
 It is not possible to tunnel this command. More...
 
#define BRP_Sys_ErrCfgFull   BRP_ERR_STATUS(0x0000, 0x01)
 There's not enough space to store the reader's configuration values. More...
 
#define BRP_Sys_ErrCfgAccess   BRP_ERR_STATUS(0x0000, 0x02)
 Reading/writing to the internal memory failed. More...
 
#define BRP_Sys_ErrCfgNotFound   BRP_ERR_STATUS(0x0000, 0x03)
 The meaning of this status code varies depending on the access mode: More...
 
#define BRP_Sys_ErrInvalidCfgBlock   BRP_ERR_STATUS(0x0000, 0x04)
 The format of the configuration file (BEC file) is invalid. More...
 
#define BRP_Sys_ErrCfgAccessDenied   BRP_ERR_STATUS(0x0000, 0x05)
 Memory access denied. More...
 
#define BRP_Sys_ErrInvalidProtocol   BRP_ERR_STATUS(0x0000, 0x07)
 The selected protocol isn't supported by the current firmware. More...
 
#define BRP_Sys_ErrNotSupportedByHardware   BRP_ERR_STATUS(0x0000, 0x08)
 This feature isn't supported by the reader hardware. More...
 
#define BRP_Sys_ErrFactsetRestore   BRP_ERR_STATUS(0x0000, 0x09)
 Restoring the reader's factory settings failed. More...
 
#define BRP_UI_ErrInvalidPort   BRP_ERR_STATUS(0x0A00, 0x01)
 The specified port isn't available or it doesn't support the desired operation. More...
 
#define BRP_Ultralight_ErrNoTag   BRP_ERR_STATUS(0x2500, 0x01)
 There's no card in the HF field, or the card doesn't respond. More...
 
#define BRP_Ultralight_ErrAuth   BRP_ERR_STATUS(0x2500, 0x02)
 Authentication with the card has failed. More...
 
#define BRP_Ultralight_ErrHf   BRP_ERR_STATUS(0x2500, 0x03)
 The response frame is invalid, e.g. More...
 
#define BRP_Ultralight_ErrKey   BRP_ERR_STATUS(0x2500, 0x04)
 The encryption key is undefined or inaccessible. More...
 
#define BRP_Ultralight_ErrNack   BRP_ERR_STATUS(0x2500, 0x05)
 The card didn't accept the command. More...
 
#define BRP_Ultralight_ErrInterface   BRP_ERR_STATUS(0x2500, 0x18)
 Communication with the reader chip has failed. More...
 
#define BRP_Ultralight_ErrCmd   BRP_ERR_STATUS(0x2500, 0x19)
 The specified command or parameters are unknown. More...
 
#define BRP_Ultralight_ErrHwNotSupported   BRP_ERR_STATUS(0x2500, 0x20)
 This command isn't supported by the reader hardware. More...
 
#define BRP_Ultralight_BreakErr   BRP_ERR_STATUS(0x2500, 0x28)
 The command has been aborted because the HF interface has been requested by another task or command. More...
 
#define BRP_VHL_ErrNoTag   BRP_ERR_STATUS(0x0100, 0x01)
 This status code occurs in the following cases: More...
 
#define BRP_VHL_ErrCardNotSelected   BRP_ERR_STATUS(0x0100, 0x02)
 The command can't be run because no card is selected. More...
 
#define BRP_VHL_ErrHf   BRP_ERR_STATUS(0x0100, 0x03)
 Communication problems with the card occurred. More...
 
#define BRP_VHL_ErrConfig   BRP_ERR_STATUS(0x0100, 0x04)
 The VHL file structure in the reader configuration is invalid or the specified VHL file isn't available. More...
 
#define BRP_VHL_ErrAuth   BRP_ERR_STATUS(0x0100, 0x05)
 An authentication error occurred. More...
 
#define BRP_VHL_ErrRead   BRP_ERR_STATUS(0x0100, 0x06)
 The communication sequence was OK, but reading failed. More...
 
#define BRP_VHL_ErrWrite   BRP_ERR_STATUS(0x0100, 0x07)
 The communication sequence was OK, but writing failed. More...
 
#define BRP_VHL_ConfcardRead   BRP_ERR_STATUS(0x0100, 0x08)
 A BALTECH ConfigCard has been detected successfully and will be read after this command. More...
 
#define BRP_VHL_ErrHw   BRP_ERR_STATUS(0x0100, 0x0C)
 An error occurred while communicating with the reader chip/SAM. More...
 
#define BRP_VHL_ErrApdu   BRP_ERR_STATUS(0x0100, 0x0D)
 Card communication error: The command has been aborted, or the response hasn't been read completely. More...
 

Functions

brp_errcode brp_AR_SetMode (brp_AR_SetMode_t params)
 This command controls Autoread mode at runtime. More...
 
brp_errcode brp_AR_GetMessage (brp_AR_GetMessage_t params)
 This command checks if a card has been presented to the reader since the last AR.GetMessage execution. More...
 
brp_errcode brp_AR_RunScript (brp_AR_RunScript_t params)
 This command runs a BaltechScript. More...
 
brp_errcode brp_AR_RestrictScanCardFamilies (brp_AR_RestrictScanCardFamilies_t params)
 This command restricts the card families that Autoread will scan for. More...
 
brp_errcode brp_BlePeriph_DefineService (brp_BlePeriph_DefineService_t params)
 This command registers a new BLE service. More...
 
brp_errcode brp_BlePeriph_Enable (brp_BlePeriph_Enable_t params)
 This command starts/stops the advertisement of the reader as a BLE Peripheral, so you can respond to connection and other requests. More...
 
brp_errcode brp_BlePeriph_SetAdvertisingData (brp_BlePeriph_SetAdvertisingData_t params)
 This command defines the data to be advertised by the reader. More...
 
brp_errcode brp_BlePeriph_WriteCharacteristic (brp_BlePeriph_WriteCharacteristic_t params)
 This command changes the value of a characteristic. More...
 
brp_errcode brp_BlePeriph_ReadCharacteristic (brp_BlePeriph_ReadCharacteristic_t params)
 This command retrieves the current value of a characteristic. More...
 
brp_errcode brp_BlePeriph_GetEvents (brp_BlePeriph_GetEvents_t params)
 This command returns a bitmask of all events that have occurred since the last call of BlePeriph.GetEvents. More...
 
brp_errcode brp_BlePeriph_IsConnected (brp_BlePeriph_IsConnected_t params)
 This command is used to check the current connection status. More...
 
brp_errcode brp_BlePeriph_GetRSSI (brp_BlePeriph_GetRSSI_t params)
 This command returns the RSSI value of the connected BLE Central. More...
 
brp_errcode brp_BlePeriph_CloseConnection (brp_BlePeriph_CloseConnection_t params)
 This command closes the active connection with a BLE Central. More...
 
brp_errcode brp_Crypto_EncryptBlock (brp_Crypto_EncryptBlock_t params)
 This command encrypts an 8-Byte data block given in the Block parameter using the SkipJack algorithm. More...
 
brp_errcode brp_Crypto_DecryptBlock (brp_Crypto_DecryptBlock_t params)
 This command decrypts an 8-Byte data block given in the Block parameter using the SkipJack algorithm. More...
 
brp_errcode brp_Crypto_EncryptBuffer (brp_Crypto_EncryptBuffer_t params)
 This command encrypts a variable length buffer given in the Buffer parameter using the SkipJack algorithm. More...
 
brp_errcode brp_Crypto_DecryptBuffer (brp_Crypto_DecryptBuffer_t params)
 This command decrypts a variable length buffer given in the Buffer parameter using the SkipJack algorithm. More...
 
brp_errcode brp_Crypto_BalKeyEncryptBuffer (brp_Crypto_BalKeyEncryptBuffer_t params)
 This command is a special version of the brp_Crypto_EncryptBuffer() command which always uses a customer key to encrypt a buffer of data and inserts a Crypto-Key at a desired position before encryption. More...
 
brp_errcode brp_Crypto_GetKeySig (brp_Crypto_GetKeySig_t params)
 Returns a signature of the ConfigurationKey to identify the MasterCard needed for this reader. More...
 
brp_errcode brp_Crypto_CopyConfigKey (brp_Crypto_CopyConfigKey_t params)
 Copies the configuration card key 0x0202/0x85 (Device/Run/ConfigCardEncryptKey) to the Custom/Crypto/Key[x] area of the Baltech reader's configuration, where x is the index of the target key, specified in the KeyIndex parameter. More...
 
brp_errcode brp_Desfire_ExecCommand (brp_Desfire_ExecCommand_t params)
 Generic command to communicate to a DESFire card. More...
 
brp_errcode brp_Desfire_Authenticate (brp_Desfire_Authenticate_t params)
 This command authenticates a card with the reader. More...
 
brp_errcode brp_Desfire_AuthExtKey (brp_Desfire_AuthExtKey_t params)
 This command authenticates a card with the reader, similarly to the brp_Desfire_Authenticate() command, but uses an external authentication key provided as a parameter. More...
 
brp_errcode brp_Desfire_SelectApplication (brp_Desfire_SelectApplication_t params)
 Selects an application of the DESFire card. More...
 
brp_errcode brp_Desfire_ReadData (brp_Desfire_ReadData_t params)
 Reads data from a Standard or Backup data file. More...
 
brp_errcode brp_Desfire_WriteData (brp_Desfire_WriteData_t params)
 Writes data to a Standard or a Backup data file. More...
 
brp_errcode brp_Desfire_ChangeExtKey (brp_Desfire_ChangeExtKey_t params)
 This command allows to change any key stored on the card. More...
 
brp_errcode brp_Desfire_ChangeKey (brp_Desfire_ChangeKey_t params)
 Modifies a DESFire card key defined in the SAM or crypto memory. More...
 
brp_errcode brp_Desfire_SetFraming (brp_Desfire_SetFraming_t params)
 This command switches the DESFire communication protocol mode to use (std, iso_wrapping). More...
 
brp_errcode brp_Desfire_ResetAuthentication (brp_Desfire_ResetAuthentication_t params)
 This command resets the reader's authentication state until the next call of the brp_Desfire_Authenticate() or brp_Desfire_AuthExtKey() commands. More...
 
brp_errcode brp_Desfire_CreateDam (brp_Desfire_CreateDam_t params)
 This command creates a delegated application. More...
 
brp_errcode brp_Desfire_GetOriginalitySignature (brp_Desfire_GetOriginalitySignature_t params)
 This command returns the NXP originality signature of a desfire card. More...
 
brp_errcode brp_Desfire_VirtualCardSelect (brp_Desfire_VirtualCardSelect_t params)
 This command selects a virtual card. More...
 
brp_errcode brp_Desfire_ProxCheck (brp_Desfire_ProxCheck_t params)
 This command executes a proximity check of the card. More...
 
brp_errcode brp_Desfire_GetDfNames (brp_Desfire_GetDfNames_t params)
 This command returns the application identifiers together with file IDs and (optionally) DF names of all applications with ISO7816-4 support. More...
 
brp_errcode brp_Felica_GenericCmd (brp_Felica_GenericCmd_t params)
 Generic command for FeliCa. More...
 
brp_errcode brp_Felica_SetUID2 (brp_Felica_SetUID2_t params)
 Sets UID2 used by generic command. More...
 
brp_errcode brp_Felica_Request (brp_Felica_Request_t params)
 Polls for tags with number of time slots, returns NFCID2 list of detected tags (maximum 16 / length 8). More...
 
brp_errcode brp_Iso14a_Select (brp_Iso14a_Select_t params)
 This command Performs the anti-collision and selection sequence of a PICC in the field of the antenna. More...
 
brp_errcode brp_Iso14a_Halt (brp_Iso14a_Halt_t params)
 Switch PICC to halt state. More...
 
brp_errcode brp_Iso14a_RequestATS (brp_Iso14a_RequestATS_t params)
 This command requests the Answer to Select (ATS) of the PICC according to the ISO 14443-3 (Type A) standard. More...
 
brp_errcode brp_Iso14a_PerformPPS (brp_Iso14a_PerformPPS_t params)
 This command sets up the communication parameters for ISO 14443-4 commands. More...
 
brp_errcode brp_Iso14a_Request (brp_Iso14a_Request_t params)
 This commands scans for ISO 14443-3 (Type A) compliant PICCs in the field of the antenna. More...
 
brp_errcode brp_Iso14a_RequestVasup (brp_Iso14a_RequestVasup_t params)
 This commands scans for ISO 14443-3 (Type A) compliant PICCs in the field of the antenna and enhances polling with the VASUP-A command (required for ECP support). More...
 
brp_errcode brp_Iso14a_TransparentCmd (brp_Iso14a_TransparentCmd_t params)
 This command sends a data stream to a card and returns the communication status and the received card data stream to the host. More...
 
brp_errcode brp_Iso14b_Request (brp_Iso14b_Request_t params)
 Scan for ISO 14443 (Type B) compliant PICCs in the field of the antenna. More...
 
brp_errcode brp_Iso14b_Attrib (brp_Iso14b_Attrib_t params)
 Select the PICC with given PUPI serial number for further communication. More...
 
brp_errcode brp_Iso14b_Halt (brp_Iso14b_Halt_t params)
 Switch the PICC with the given PUPI serial number into halt state, so that it will not answer to further brp_Iso14b_Request() commands, except when the ReqAll flag parameter of the brp_Iso14b_Request() command is set. More...
 
brp_errcode brp_Iso14b_TransparentCmd (brp_Iso14b_TransparentCmd_t params)
 This command sends a data stream to a card and returns the communication status and the received card data stream to the host. More...
 
brp_errcode brp_Iso14L4_SetupAPDU (brp_Iso14L4_SetupAPDU_t params)
 Setup communication parameters and select a certain PICC for APDU exchange. More...
 
brp_errcode brp_Iso14L4_ExchangeAPDU (brp_Iso14L4_ExchangeAPDU_t params)
 This command allows to transmit/receive Application Protocol Data Units (APDUs) according to the ISO 14443-4 standard. More...
 
brp_errcode brp_Iso14L4_Deselect (brp_Iso14L4_Deselect_t params)
 This command switches one or multiple PICC(s) to halt state. More...
 
brp_errcode brp_Iso15_SetParam (brp_Iso15_SetParam_t params)
 This command configures the reader chip. More...
 
brp_errcode brp_Iso15_GetParam (brp_Iso15_GetParam_t params)
 This command reads the configuration of the reader chip. More...
 
brp_errcode brp_Iso15_GetUIDList (brp_Iso15_GetUIDList_t params)
 This command scans for ISO 15693 labels which are in the field of the readers antenna and which are not in quiet-state. More...
 
brp_errcode brp_Iso15_SetMode (brp_Iso15_SetMode_t params)
 This command configures the mode to address a label. More...
 
brp_errcode brp_Iso15_StayQuiet (brp_Iso15_StayQuiet_t params)
 This command puts a label into the quiet-state. More...
 
brp_errcode brp_Iso15_LockBlock (brp_Iso15_LockBlock_t params)
 This command permanently locks the block with ID BlockID. More...
 
brp_errcode brp_Iso15_ResetToReady (brp_Iso15_ResetToReady_t params)
 This command puts a label into ready-state , according to the VICC state transition diagram from the ISO 15693-3 specification. More...
 
brp_errcode brp_Iso15_WriteAFI (brp_Iso15_WriteAFI_t params)
 This commands writes the AFI value into the label's memory. More...
 
brp_errcode brp_Iso15_LockAFI (brp_Iso15_LockAFI_t params)
 This command locks the AFI value permanently into the reader's memory. More...
 
brp_errcode brp_Iso15_WriteDSFID (brp_Iso15_WriteDSFID_t params)
 This commands writes the DSFID value into the label's memory. More...
 
brp_errcode brp_Iso15_LockDSFID (brp_Iso15_LockDSFID_t params)
 This command locks the DSFID value permanently into the reader's memory. More...
 
brp_errcode brp_Iso15_GetSystemInformation (brp_Iso15_GetSystemInformation_t params)
 This command gets the system information of a VICC. More...
 
brp_errcode brp_Iso15_GetSecurityStatus (brp_Iso15_GetSecurityStatus_t params)
 This command retrieves the block security status of a label. More...
 
brp_errcode brp_Iso15_CustomCommand (brp_Iso15_CustomCommand_t params)
 This command executes any ISO 15693 manufacturer proprietary commands, so-called custom-commands. More...
 
brp_errcode brp_Iso15_ReadSingleBlock (brp_Iso15_ReadSingleBlock_t params)
 This command reads a single block from a label. More...
 
brp_errcode brp_Iso15_WriteSingleBlock (brp_Iso15_WriteSingleBlock_t params)
 This command writes a single block to a label. More...
 
brp_errcode brp_Iso15_WriteMultipleBlocks (brp_Iso15_WriteMultipleBlocks_t params)
 Sends the "WriteMultipleBlocks" to the card to store the data passed in WriteBlocks to the data blocks of the presented card starting at block with id Blockid. More...
 
brp_errcode brp_Iso15_ReadMultipleBlocks (brp_Iso15_ReadMultipleBlocks_t params)
 This command reads one or multiple blocks from a label. More...
 
brp_errcode brp_Iso15_TransparentCmd (brp_Iso15_TransparentCmd_t params)
 This command sends a data stream to a label and returns the communication status and the received label data stream to the host. More...
 
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...
 
brp_errcode brp_Lic_GetLicenses (brp_Lic_GetLicenses_t params)
 This command retrieves a bit mask of the licenses that are activated on the reader. More...
 
brp_errcode brp_Lic_ReadLicCard (brp_Lic_ReadLicCard_t params)
 This command reads and evaluates a LicenseCard. More...
 
brp_errcode brp_Main_Bf3UploadStart (brp_Main_Bf3UploadStart_t params)
 This command starts the upload of a BEC2/BF3 file to update the reader's configuration and/or firmware. More...
 
brp_errcode brp_Main_Bf3UploadContinue (brp_Main_Bf3UploadContinue_t params)
 This command is used to transfer the data of a BEC2/BF3 file block by block to the reader. More...
 
brp_errcode brp_Mif_LoadKey (brp_Mif_LoadKey_t params)
 This command writes a MIFARE Classic key to the reader's secure key memory. More...
 
brp_errcode brp_Mif_AuthE2 (brp_Mif_AuthE2_t params)
 This command authenticates a certain sector of a card using a key from the secure EEPROM of the Baltech reader chip. More...
 
brp_errcode brp_Mif_AuthUser (brp_Mif_AuthUser_t params)
 This command authenticates a certain sector of a card using the key specified in the Key variable. More...
 
brp_errcode brp_Mif_Read (brp_Mif_Read_t params)
 This command reads data from a specified block of the currently selected card, providing authentication has been performed beforehand. More...
 
brp_errcode brp_Mif_Write (brp_Mif_Write_t params)
 This command write data to a specified block of the currently selected card, providing authentication has been performed beforehand. More...
 
brp_errcode brp_Mif_ChangeValue (brp_Mif_ChangeValue_t params)
 This command uses the value block specified by the Block parameter and performs an operation given by the Mode parameter. More...
 
brp_errcode brp_Mif_ChangeValueBackup (brp_Mif_ChangeValueBackup_t params)
 This command is identical to brp_Mif_ChangeValue(), but can only be used for MIFARE cards which support automatic transfer, such as Pro or Light MIFARE variants. More...
 
brp_errcode brp_Mif_TransferBlock (brp_Mif_TransferBlock_t params)
 This command transfers data from the card's internal Transfer Buffer to a specified block. More...
 
brp_errcode brp_Mif_AuthE2Extended (brp_Mif_AuthE2Extended_t params)
 This command is identical to the brp_Mif_AuthE2() command with the exception that it supports stronger authentication methods (MIFARE and AES), supported by MIFARE Pro cards. More...
 
brp_errcode brp_Mif_AuthUserExtended (brp_Mif_AuthUserExtended_t params)
 This command is identical to the brp_Mif_AuthUser() command with the exception that it supports stronger authentication methods (MIFARE and AES), supported by MIFARE Pro cards. More...
 
brp_errcode brp_Mif_ResetAuth (brp_Mif_ResetAuth_t params)
 This command resets the reader's authentication state (used for MIFARE Pro specific Read/Write counters. More...
 
brp_errcode brp_Mif_ReadSL3 (brp_Mif_ReadSL3_t params)
 This command reads blocks from an SL3-authenticated MIFARE Pro card. More...
 
brp_errcode brp_Mif_WriteSL3 (brp_Mif_WriteSL3_t params)
 This command writes blocks to an SL3-authenticated MIFARE Pro card. More...
 
brp_errcode brp_Mif_ChangeAESKey (brp_Mif_ChangeAESKey_t params)
 This command changes an AES key on a MIFARE Plus card. More...
 
brp_errcode brp_Mif_ValueSL3 (brp_Mif_ValueSL3_t params)
 This command performs an operation on a value block. More...
 
brp_errcode brp_Mif_ProxCheck (brp_Mif_ProxCheck_t params)
 This command performs a proximity check. More...
 
brp_errcode brp_Mif_GetCardVersion (brp_Mif_GetCardVersion_t params)
 This command returns HW- / SW- / Production-Information. More...
 
brp_errcode brp_Mif_ReadSig (brp_Mif_ReadSig_t params)
 
brp_errcode brp_Mif_VirtualCardSelect (brp_Mif_VirtualCardSelect_t params)
 Command is only supported by MIFARE Plus EV1 cards. More...
 
brp_errcode brp_Mif_SectorSwitch (brp_Mif_SectorSwitch_t params)
 This command performs a sector switch command (only for EV1 cards). More...
 
brp_errcode brp_Mif_CommitReaderID (brp_Mif_CommitReaderID_t params)
 This commands commits a reader ID from a card and returns the encrypted TMRI to the host. More...
 
brp_errcode brp_Mif_SetFraming (brp_Mif_SetFraming_t params)
 This command switches the communication protocol mode for MIFARE Plus EV1 cards. More...
 
brp_errcode brp_MobileId_Enable (brp_MobileId_Enable_t params)
 This command enables/disables Mobile ID. More...
 
brp_errcode brp_MobileId_GetVirtualCredentialId (brp_MobileId_GetVirtualCredentialId_t params)
 This command checks if a Mobile ID credential has been presented to the reader since the last MobileId.GetVirtualCredentialId execution. More...
 
brp_errcode brp_Sec_GetAcMask (brp_Sec_GetAcMask_t params)
 This command retrieves the Access Condition Mask of a specified security level. More...
 
brp_errcode brp_Sec_SetAcMask (brp_Sec_SetAcMask_t params)
 This command sets the Access Condition Mask of the security level specified in the SecurityLevel parameter to the AcMask value. More...
 
brp_errcode brp_Sec_SetKey (brp_Sec_SetKey_t params)
 Sets a key and the appropriate Authorization Mode bits for a specified Security Level. More...
 
brp_errcode brp_Sec_AuthPhase1 (brp_Sec_AuthPhase1_t params)
 This command initiates a 2-phase authentication. More...
 
brp_errcode brp_Sec_AuthPhase2 (brp_Sec_AuthPhase2_t params)
 This command finishes the 2-phase authentication procedure started by the brp_Sec_AuthPhase1() command. More...
 
brp_errcode brp_Sec_Tunnel (brp_Sec_Tunnel_t params)
 This command enables to send a specific command, called the tunnelled command, to the reader (and to receive its response) in an encrypted and/or MACed fashion. More...
 
brp_errcode brp_Sec_Reset (brp_Sec_Reset_t params)
 This command resets the Baltech ID engine's security system. More...
 
brp_errcode brp_Sec_LockReset (brp_Sec_LockReset_t params)
 This command prevents, that a Sys.FactoryReset is run for the Security Level specified in the SecLevel command. More...
 
brp_errcode brp_Sec_GetCurAcMask (brp_Sec_GetCurAcMask_t params)
 This command retrieves the Access Condition Mask, which is applied by the reader in the current context (i.e. More...
 
brp_errcode brp_Sys_GetBufferSize (brp_Sys_GetBufferSize_t params)
 This command returns the maximum sizes of command and response frames that the reader can send and receive. More...
 
brp_errcode brp_Sys_HFReset (brp_Sys_HFReset_t params)
 This command turns the HF antenna off or on. More...
 
brp_errcode brp_Sys_Reset (brp_Sys_Reset_t params)
 This command reboots the reader. More...
 
brp_errcode brp_Sys_GetInfo (brp_Sys_GetInfo_t params)
 This command retrieves the firmware string of the reader, which holds information about the reader firmware and serial number. More...
 
brp_errcode brp_Sys_GetBootStatus (brp_Sys_GetBootStatus_t params)
 This command retrieves the boot status of the reader, i.e. More...
 
brp_errcode brp_Sys_CfgGetValue (brp_Sys_CfgGetValue_t params)
 This command retrieves a desired value of the reader's configuration, specified by the Key and Value parameters. More...
 
brp_errcode brp_Sys_CfgSetValue (brp_Sys_CfgSetValue_t params)
 This command stores a value in the reader's configuration. More...
 
brp_errcode brp_Sys_CfgDelValues (brp_Sys_CfgDelValues_t params)
 This command deletes a key or a value from the reader's configuration. More...
 
brp_errcode brp_Sys_CfgGetKeyList (brp_Sys_CfgGetKeyList_t params)
 Retrieves a list of all keys stored in the reader's configuration. More...
 
brp_errcode brp_Sys_CfgGetValueList (brp_Sys_CfgGetValueList_t params)
 Returns a list of all configuration values within a specified Key. More...
 
brp_errcode brp_Sys_CfgCheck (brp_Sys_CfgCheck_t params)
 This command checks the consistency of the reader's internal configuration. More...
 
brp_errcode brp_Sys_SelectProtocol (brp_Sys_SelectProtocol_t params)
 This command starts a host protocol. More...
 
brp_errcode brp_Sys_CfgLoadBlock (brp_Sys_CfgLoadBlock_t params)
 This command transfers the configuration from a BEC file into the reader. More...
 
brp_errcode brp_Sys_CfgReset (brp_Sys_CfgReset_t params)
 Deletes the complete configuration. More...
 
brp_errcode brp_Sys_StopProtocol (brp_Sys_StopProtocol_t params)
 This command stops a host protocol. More...
 
brp_errcode brp_Sys_SendMessage (brp_Sys_SendMessage_t params)
 This command sends a message to the host via a certain protocol. More...
 
brp_errcode brp_Sys_CfgGetId (brp_Sys_CfgGetId_t params)
 This command returns the identifier of the reader configuration. More...
 
brp_errcode brp_Sys_CfgGetDeviceSettingsId (brp_Sys_CfgGetDeviceSettingsId_t params)
 This command retrieves the ID of the reader configuration containing the device settings. More...
 
brp_errcode brp_Sys_GetStatistics (brp_Sys_GetStatistics_t params)
 This command retrieves all available statistics counters from the reader's configuration. More...
 
brp_errcode brp_Sys_GetFeatures (brp_Sys_GetFeatures_t params)
 This command retrieves the list of features supported by the reader, so you can find out if the reader meets your requirements. More...
 
brp_errcode brp_Sys_GetPartNumber (brp_Sys_GetPartNumber_t params)
 This command returns the part number and the hardware revision number of the device. More...
 
brp_errcode brp_Sys_CfgLoadPrepare (brp_Sys_CfgLoadPrepare_t params)
 This command initiates the transfer of a BEC file via brp_Sys_CfgLoadBlock(). More...
 
brp_errcode brp_Sys_CfgLoadFinish (brp_Sys_CfgLoadFinish_t params)
 This command has to be called after transferring a BEC file with brp_Sys_CfgLoadBlock(). More...
 
brp_errcode brp_Sys_FactoryReset (brp_Sys_FactoryReset_t params)
 This command restores the reader's factory settings. More...
 
brp_errcode brp_Sys_GetLicenses (brp_Sys_GetLicenses_t params)
 This command retrieves a bit mask of the licenses that are activated in the reader. More...
 
brp_errcode brp_UI_Enable (brp_UI_Enable_t params)
 This command enables a specific port of the reader. More...
 
brp_errcode brp_UI_Disable (brp_UI_Disable_t params)
 This command disables a specific port of the reader. More...
 
brp_errcode brp_UI_Toggle (brp_UI_Toggle_t params)
 This command toggles the output state of a specific port. More...
 
brp_errcode brp_UI_SetRgbLed (brp_UI_SetRgbLed_t params)
 This command changes the RGB color of a single LED or a group of LEDs. More...
 
brp_errcode brp_UI_PulseRgbLed (brp_UI_PulseRgbLed_t params)
 This command starts to pulse a single LED or a group of multiple LEDs continuously by performing smooth sine-wave approximated transitions between 2 RGB colors. More...
 
brp_errcode brp_Ultralight_ExecCmd (brp_Ultralight_ExecCmd_t params)
 Generic command to communicate to a Mifare Ultralight card. More...
 
brp_errcode brp_Ultralight_Read (brp_Ultralight_Read_t params)
 Standard read command for Ultralight cards. More...
 
brp_errcode brp_Ultralight_Write (brp_Ultralight_Write_t params)
 Standard write command for Ultralight cards. More...
 
brp_errcode brp_Ultralight_AuthE2 (brp_Ultralight_AuthE2_t params)
 Authenticates to a Ultralight-c card. More...
 
brp_errcode brp_Ultralight_AuthUser (brp_Ultralight_AuthUser_t params)
 Authenticates to an Ultralight-C/EV1 card. More...
 
brp_errcode brp_Ultralight_SectorSwitch (brp_Ultralight_SectorSwitch_t params)
 Selects a sector of an Ultralight-C/EV1 card. More...
 
brp_errcode brp_VHL_Select (brp_VHL_Select_t params)
 This command selects a card or tag in the antenna field for further operations. More...
 
brp_errcode brp_VHL_GetSnr (brp_VHL_GetSnr_t params)
 This command returns the serial number (UID) of the currently selected card. More...
 
brp_errcode brp_VHL_Read (brp_VHL_Read_t params)
 This command reads data from a card based on a VHL file. More...
 
brp_errcode brp_VHL_Write (brp_VHL_Write_t params)
 This command writes data to a card based on a VHL file. More...
 
brp_errcode brp_VHL_IsSelected (brp_VHL_IsSelected_t params)
 This command checks if the card/label selected by the last execution of the brp_VHL_Select() command is still in the HF field of the antenna. More...
 
brp_errcode brp_VHL_ExchangeAPDU (brp_VHL_ExchangeAPDU_t params)
 This command sends APDUs to the currently selected card. More...
 
brp_errcode brp_VHL_Setup (brp_VHL_Setup_t params)
 This command creates a VHL file dynamically and transfers it to the reader's RAM. More...
 
brp_errcode brp_VHL_CheckReconfigErr (brp_VHL_CheckReconfigErr_t params)
 This command returns the status of the last reconfiguration with a ConfigCard using the brp_VHL_Select() command. More...
 
brp_errcode brp_VHL_ExchangeLongAPDU (brp_VHL_ExchangeLongAPDU_t params)
 This command sends basic Inter-Industry commands to the currently selected card in accordance with the ISO/IEC 7816-4 standard. More...
 
brp_errcode brp_VHL_GetFileInfo (brp_VHL_GetFileInfo_t params)
 This command returns the available size of the VHL-file whose ID is specified by the ID parameter. More...
 
brp_errcode brp_VHL_GetATR (brp_VHL_GetATR_t params)
 This command returns the Answer to Reset (ATR) of the currently selected card as defined in the PC/SC specification, version 2. More...
 
brp_errcode brp_VHL_ResolveFilename (brp_VHL_ResolveFilename_t params)
 This command returns the ID of a VHL file based on its filename. More...
 
brp_errcode brp_VHL_GetCardType (brp_VHL_GetCardType_t params)
 This command returns the card type of the currently selected card. More...
 

Detailed Description