Function flipperzero_sys::ibutton_protocols_read
source · pub unsafe extern "C" fn ibutton_protocols_read(
protocols: *mut iButtonProtocols,
key: *mut iButtonKey
) -> boolExpand 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)