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 Desfire.Authenticate or Desfire.AuthExtKey commands. All following DESFire commands will be sent and received in plain text without MAC.

It is not possible to run the 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