pub unsafe extern "C" fn subghz_protocol_decoder_base_set_decoder_callback(
    decoder_base: *mut SubGhzProtocolDecoderBase,
    callback: Option<unsafe extern "C" fn(*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 decoder_base Pointer to a SubGhzProtocolDecoderBase instance @param callback Callback, SubGhzProtocolDecoderBaseRxCallback @param context Context