DlmsFrameGetNextAttributesForReadRequest Method

Returns a list of requests specifications from begginning of attributes array so Read request fits into DLMS frame of maxPDU size. Returned variables are removed from attributes array.

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 CosemVariableDescriptorWithSelection[] GetNextAttributesForReadRequest(
	ushort maxPDUSize,
	bool multipleReferences,
	ref CosemVariableDescriptorWithSelection[] variables
)

Parameters

maxPDUSize  UInt16
multipleReferences  Boolean
Whether more attributes can be read in one time.
variables  CosemVariableDescriptorWithSelection

Return Value

CosemVariableDescriptorWithSelection

See Also