pub unsafe extern "C" fn CS101_Master_createEx(
serialPort: SerialPort,
llParameters: LinkLayerParameters,
alParameters: CS101_AppLayerParameters,
linkLayerMode: IEC60870_LinkLayerMode,
queueSize: c_int,
) -> CS101_MasterExpand description
Create a new master instance and specify message queue size (for balanced mode)
§Arguments
port- the serial port to usellParameters- the link layer parameters to usealParameters- the application layer parameters to usemode- the link layer mode (either IEC60870_LINK_LAYER_BALANCED or IEC60870_LINK_LAYER_UNBALANCED)queueSize- set the message queue size (only for balanced mode)
§Returns
the new CS101_Master instance