Function flipper0::ffi::subghz_receiver_set_rx_callback
source · pub unsafe extern "C" fn subghz_receiver_set_rx_callback(
instance: *mut SubGhzReceiver,
callback: Option<unsafe extern "C" fn(*mut SubGhzReceiver, *mut SubGhzProtocolDecoderBase, *mut c_void)>,
context: *mut c_void
)
Expand description
Set a callback upon completion of successful decoding of one of the protocols. @param instance Pointer to a SubGhzReceiver instance @param callback Callback, SubGhzReceiverCallback @param context Context