C API for BALTECH SDK

§ brp_Desfire_ResetAuthentication()

brp_errcode brp_Desfire_ResetAuthentication ( brp_protocol  protocol)

This command resets the reader's authentication state until the next call of the brp_Desfire_Authenticate() or brp_Desfire_AuthExtKey() commands.

All following DESFire commands will be sent and received in plain text without MAC.

It is not possible to run the brp_Desfire_ExecCommand() with CryptoMode set to any other value than PLAIN after the execution of this command, until the card is reauthenticated.

Parameters
[in]protocolused to execute the command