Function flipper0::ffi::rfalFeliCaPoll

source ·
pub unsafe extern "C" fn rfalFeliCaPoll(
    slots: rfalFeliCaPollSlots,
    sysCode: u16,
    reqCode: u8,
    pollResList: *mut [u8; 20],
    pollResListSize: u8,
    devicesDetected: *mut u8,
    collisionsDetected: *mut u8
) -> u16
Expand description

\brief FeliCa Poll

Sends a Poll Request and collects all Poll Responses according to the given slots

\param[in] slots : number of slots for the Poll Request \param[in] sysCode : system code (SC) for the Poll Request \param[in] reqCode : request code (RC) for the Poll Request \param[out] pollResList : list of all responses \param[in] pollResListSize : number of responses that can be placed in pollResList \param[out] devicesDetected : number of cards found \param[out] collisionsDetected: number of collisions detected

\return ERR_NONE if there is no error \return ERR_TIMEOUT if there is no response