Function libosdp_sys::osdp_pd_setup

source ·
pub unsafe extern "C" fn osdp_pd_setup(
    info: *const osdp_pd_info_t
) -> *mut osdp_t
Expand description

@brief This method is used to setup a device in PD mode. Application must store the returned context pointer and pass it back to all OSDP functions intact.

@param info Pointer to info struct populated by application.

@retval OSDP Context on success @retval NULL on errors