pub unsafe extern "C" fn CS101_ASDU_create(
parameters: CS101_AppLayerParameters,
isSequence: bool,
cot: CS101_CauseOfTransmission,
oa: c_int,
ca: c_int,
isTest: bool,
isNegative: bool,
) -> CS101_ASDUExpand description
Create a new ASDU. The type ID will be derived from the first InformationObject that will be added
§Arguments
parameters- the application layer parameters used to encode the ASDUisSequence- if the information objects will be encoded as a compact sequence of information objects with subsequent IOA valuescot- cause of transmission (COT)oa- originator address (OA) to be usedca- the common address (CA) of the ASDUisTest- if the test flag will be set or notisNegative- if the negative falg will be set or not
§Returns
the new CS101_ASDU instance