ibutton_protocols_get_name

Function ibutton_protocols_get_name 

Source
pub unsafe extern "C" fn ibutton_protocols_get_name(
    protocols: *mut iButtonProtocols,
    id: iButtonProtocolId,
) -> *const c_char
Expand description

Get the protocol name based on the protocol id

§Arguments

  • [in] - protocols pointer to an iButtonProtocols object
  • [in] - id id of the protocol in question

§Returns

pointer to a statically allocated string with protocol name