CS101_ASDU_setTypeID

Function CS101_ASDU_setTypeID 

Source
pub unsafe extern "C" fn CS101_ASDU_setTypeID(
    self_: CS101_ASDU,
    typeId: IEC60870_5_TypeID,
)
Expand description

Set the type ID of the ASDU

NOTE: Usually it is not required to call this function as the type is determined when the ASDU is parsed or when a new information object is added with CS101_ASDU_addInformationObject The function is intended to be used by library extensions of for creating private ASDU types.

ยงArguments

  • typeId - the type ID to identify the ASDU type