nfc_device_get_protocol_name

Function nfc_device_get_protocol_name 

Source
pub unsafe extern "C" fn nfc_device_get_protocol_name(
    protocol: NfcProtocol,
) -> *const c_char
Expand description

Get the protocol name by its identifier.

This function does not require an instance as its return result depends only the protocol identifier.

§Arguments

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

§Returns

pointer to a statically allocated string containing the protocol name.