pub unsafe extern "C" fn nfc_poller_start(
instance: *mut NfcPoller,
callback: NfcGenericCallback,
context: *mut c_void,
)Expand description
Start an NfcPoller instance.
The callback logic is protocol-specific, so it cannot be described here in detail. However, the callback return value ALWAYS determines what the poller should do next: to continue whatever it was doing prior to the callback run or to stop.
ยงArguments
instance(direction in, out) - pointer to the instance to be started.callback(direction in) - pointer to a user-defined callback function which will receive events.context(direction in) - pointer to a user-specific context (will be passed to the callback).