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)

Returns:

  • true on success, false on failure

Arguments

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