nfc_protocol_get_parent

Function nfc_protocol_get_parent 

Source
pub unsafe extern "C" fn nfc_protocol_get_parent(
    protocol: NfcProtocol,
) -> NfcProtocol
Expand description

Get the immediate parent of a specific protocol.

§Arguments

  • protocol (direction in) - identifier of the protocol in question.

§Returns

parent protocol identifier if it has one, or NfcProtocolInvalid otherwise.