nfc_poller_detect

Function nfc_poller_detect 

Source
pub unsafe extern "C" fn nfc_poller_detect(
    instance: *mut NfcPoller,
) -> bool
Expand description

Detect whether there is a card supporting a particular protocol in the vicinity.

The behaviour of this function is protocol-defined, in general, it will do whatever is necessary to determine whether a card supporting the current protocol is in the vicinity and whether it is functioning normally.

It is used automatically inside NfcScanner, so there is usually no need to call it explicitly.

[nfc_scanner.h]

§Arguments

  • instance (direction in, out) - pointer to the instance to perform the detection with.

§Returns

true if a supported card was detected, false otherwise.