CS104_Connection_sendProcessCommand

Function CS104_Connection_sendProcessCommand 

Source
pub unsafe extern "C" fn CS104_Connection_sendProcessCommand(
    self_: CS104_Connection,
    typeId: TypeID,
    cot: CS101_CauseOfTransmission,
    ca: c_int,
    command: InformationObject,
) -> bool
Expand description

Send a process command to the controlled (or other) station

Deprecated Use CS104_Connection_sendProcessCommandEx instead

§Arguments

  • typeId - the type ID of the command message to send or 0 to use the type ID of the information object
  • cot - the cause of transmission (should be ACTIVATION to select/execute or ACT_TERM to cancel the command)
  • ca - the common address of the information object
  • command - the command information object (e.g. SingleCommand or DoubleCommand)

§Returns

true if message was sent, false otherwise