CS101_ASDU_setNumberOfElements

Function CS101_ASDU_setNumberOfElements 

Source
pub unsafe extern "C" fn CS101_ASDU_setNumberOfElements(
    self_: CS101_ASDU,
    numberOfElements: c_int,
)
Expand description

Set the number of information objects (elements) in the ASDU

NOTE: Usually it is not required to call this function as the number of elements is set 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

  • numberOfElements - the number of information objects/element (valid range 0 - 127)