mf_classic_poller_read_block

Function mf_classic_poller_read_block 

Source
pub unsafe extern "C" fn mf_classic_poller_read_block(
    instance: *mut MfClassicPoller,
    block_num: u8,
    data: *mut MfClassicBlock,
) -> MfClassicError
Expand description

Read block from tag.

Must ONLY be used inside the callback function.

§Arguments

  • instance (direction in, out) - pointer to the instance to be used in the transaction.
  • block_num (direction in) - block number to be read.
  • data (direction out) - pointer to the MfClassicBlock structure to be filled with block data.

§Returns

MfClassicErrorNone on success, an error code on failure.