Function flipper0::ffi::rfalNfcaPollerTechnologyDetection
source · pub unsafe extern "C" fn rfalNfcaPollerTechnologyDetection(
compMode: rfalComplianceMode,
sensRes: *mut rfalNfcaSensRes
) -> u16
Expand description
\brief NFC-A Technology Detection
This method performs NFC-A Technology Detection as defined in the spec given in the compliance mode
\param[in] compMode : compliance mode to be performed \param[out] sensRes : location to store the SENS_RES, if received
When compMode is set to ISO compliance a SLP_REQ (HLTA) is not sent after detection. When set to EMV a ALL_REQ (WUPA) is sent instead of a SENS_REQ (REQA)
\return ERR_WRONG_STATE : RFAL not initialized or incorrect mode \return ERR_PARAM : Invalid parameters \return ERR_IO : Generic internal error \return ERR_NONE : No error, one or more device in the field