CS101_ASDU_addInformationObject

Function CS101_ASDU_addInformationObject 

Source
pub unsafe extern "C" fn CS101_ASDU_addInformationObject(
    self_: CS101_ASDU,
    io: InformationObject,
) -> bool
Expand description

add an information object to the ASDU

NOTE: Only information objects of the exact same type can be added to a single ASDU!

§Arguments

  • self - ASDU object instance
  • io - information object to be added

§Returns

true when added, false when there not enough space left in the ASDU or IO cannot be added to the sequence because of wrong IOA, or wrong type.