DlmsFramesLengthLenghtOfSetReqWithFirstDataBlock Method

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

Parameters

attribute  CosemAttributeDecsriptorWithSelection
COSEM attribute with value for request.
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