BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Mif_ChangeValueBackup | ( | brp_protocol | protocol, |
unsigned | Mode, | ||
unsigned | Block, | ||
unsigned | Value | ||
) |
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.
This command is not supported by LEGIC readers.
[in] | protocol | used to execute the command |
[in] | Mode | Access mode. Possible values, 0x00: decrement, 0x01: increment, 0x02: restore/load. |
[in] | Block | Block to load data from (only value blocks are supported). |
[in] | Value | Value to add/subtract. This parameter is ignored when Mode = 0x02. |