IMasterConnection_sendASDU

Function IMasterConnection_sendASDU 

Source
pub unsafe extern "C" fn IMasterConnection_sendASDU(
    self_: IMasterConnection,
    asdu: CS101_ASDU,
) -> bool
Expand description

Send an ASDU to the client/master

NOTE: ASDU instance has to be released by the caller!

§Arguments

  • self - the connection object (this is usually received as a parameter of a callback function)
  • asdu - the ASDU to send to the client/master

§Returns

true when the ASDU has been sent or queued for transmission, false otherwise