pub unsafe extern "C" fn CS101_Slave_setASDUHandler(
self_: CS101_Slave,
handler: CS101_ASDUHandler,
parameter: *mut c_void,
)Expand description
Set the handler for a received ASDU
NOTE: This a generic handler that will only be called when the ASDU has not been handled by one of the other callback handlers.
ยงArguments
handler- the callback handler functionparameter- user provided parameter to be passed to the callback handler