mf_classic_poller_write_block

Function mf_classic_poller_write_block 

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

Write block to 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 written.
  • data (direction in) - pointer to the MfClassicBlock structure to be written.

§Returns

MfClassicErrorNone on success, an error code on failure.