NfcDeviceGetUid

Type Alias NfcDeviceGetUid 

Source
pub type NfcDeviceGetUid = Option<unsafe extern "C" fn(data: *const NfcDeviceData, uid_len: *mut usize) -> *const u8>;
Expand description

Get the NFC device’s unique identifier (UID).

The UID length is protocol-dependent. Additionally, a particular protocol might support several UID lengths.

§Arguments

  • data (direction in) - pointer to the instance to be queried.
  • uid_len (direction out) - pointer to the variable to contain the UID length.

§Returns

pointer to the byte array containing the device’s UID.

Aliased Type§

pub enum NfcDeviceGetUid {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut usize) -> *const u8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut usize) -> *const u8)

Some value of type T.