DlmsFramesLengthLenghtOfActionReqWithListAndFirstPbBlock Method

Calculates length of action-request-with-list-and-first-block frame.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public static int LenghtOfActionReqWithListAndFirstPbBlock(
	IList<CosemMethodDecsriptorWithParamters> methods,
	int rawDataLoadLength,
	bool ciphered,
	bool authentized
)

Parameters

methods  IListCosemMethodDecsriptorWithParamters
COSEM methods for request.
rawDataLoadLength  Int32
Payload of data block pb.
ciphered  Boolean
If the APDU will be ciphered.
authentized  Boolean
If the APDU will be authentized.

Return Value

Int32

See Also