Function flipper0::ffi::rfalNfcvPollerExtendedLockSingleBlock
source · pub unsafe extern "C" fn rfalNfcvPollerExtendedLockSingleBlock(
flags: u8,
uid: *const u8,
blockNum: u16
) -> u16
Expand description
\brief NFC-V Poller Extended Lock Single Block
Blocks a Single Block from a device (VICC) supporting extended commands
\param[in] flags : Flags to be used: Sub-carrier; Data_rate; Option for NFC-Forum use: RFAL_NFCV_REQ_FLAG_DEFAULT \param[in] uid : UID of the device if UID is provided Addressed mode will be used \param[in] blockNum : Number of the block to be locked (16 bits)
\return ERR_WRONG_STATE : RFAL not initialized or incorrect mode \return ERR_PARAM : Invalid parameters \return ERR_IO : Generic internal error \return ERR_CRC : CRC error detected \return ERR_FRAMING : Framing error detected \return ERR_PROTO : Protocol error detected \return ERR_TIMEOUT : Timeout error \return ERR_NONE : No error