pub type CS104_SlaveRawMessageHandler = Option<unsafe extern "C" fn(parameter: *mut c_void, connection: IMasterConnection, msg: *mut u8, msgSize: c_int, send: bool)>;Expand description
Callback handler for sent and received messages
This callback handler provides access to the raw message buffer of received or sent messages. It can be used for debugging purposes. Usually it is not used nor required for applications.
§Arguments
parameter- user provided parameterconnection- the connection that sent or received the messagemsg- the message buffermsgSize- size of the messagesent- indicates if the message was sent or received
Aliased Type§
pub enum CS104_SlaveRawMessageHandler {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut sIMasterConnection, *mut u8, i32, bool)),
}