pub unsafe extern "C" fn CS104_Slave_setConnectionEventHandler(
self_: CS104_Slave,
handler: CS104_ConnectionEventHandler,
parameter: *mut c_void,
)Expand description
Set the connection event handler
The connection request handler is called whenever a connection event happens. A connection event can be when a client connects or disconnects, or when a START_DT or STOP_DT message is received.
ยงArguments
self- the slave instancehandler- the callback function to be usedparameter- user provided context parameter that will be passed to the callback function (or NULL if not required).