ibutton_protocols_read

Function ibutton_protocols_read 

Source
pub unsafe extern "C" fn ibutton_protocols_read(
    protocols: *mut iButtonProtocols,
    key: *mut iButtonKey,
) -> bool
Expand description

Read a physical device (a key or an emulator)

§Arguments

  • [in] - protocols pointer to an iButtonProtocols object
  • [out] - key pointer to the key to read into (must be allocated before)

§Returns

true on success, false on failure