DlmsFramesLengthLenghtOfSetReqWithDataBlock Method

Calculates length of set-request-with-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 LenghtOfSetReqWithDataBlock(
	int dataLength,
	bool ciphered,
	bool authentized
)

Parameters

dataLength  Int32
Length of data that will be carried in SA block.
ciphered  Boolean
If the APDU will be ciphered.
authentized  Boolean
If the APDU will be authentized.

Return Value

Int32

See Also