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

Parameters

maxPDUSize  UInt16
Max PDU size
multipleReferences  Boolean
ciphered  Boolean
authentized  Boolean

Return Value

Boolean
True, if the block transfer is necessary

See Also