CosemAttributeValueCollectionCheckIfDataWillFitIntoOneSetRequest Method

Checks if the request can be send as normal request or collection of normal requests with list according to maxPDUsize and the lenght of the attributes and values

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 bool CheckIfDataWillFitIntoOneSetRequest(
	ushort maxPDUSize,
	bool multipleReferences,
	bool ciphered,
	bool authentized
)

Parameters

maxPDUSize  UInt16
Maximum size of APDU.
multipleReferences  Boolean
If multiple attributes in single request are allowed.
ciphered  Boolean
If the APDU should be ciphered.
authentized  Boolean
If the APDU should be authentized.

Return Value

Boolean

See Also