Function nfc_device_get_protocol
Source pub unsafe extern "C" fn nfc_device_get_protocol(
instance: *const NfcDevice,
) -> NfcProtocol
Expand description
Get the protocol identifier from an NfcDevice instance.
If the instance is invalid, the return value will be NfcProtocolInvalid.
§Arguments
instance (direction in) - pointer to the instance to be queried.
§Returns
protocol identifier contained in the instance.