DlmsFrameGetNextAttributesForGetRequest Method

Returns a list of attributes from begginning of attributes array so GET request fits into DLMS frame of maxPDU size. Returned attributes 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 CosemAttributeDecsriptorWithSelection[] GetNextAttributesForGetRequest(
	ushort maxPDUSize,
	bool multipleReferneces,
	ref CosemAttributeDecsriptorWithSelection[] attributes
)

Parameters

maxPDUSize  UInt16
Maximal DLMS frame size
multipleReferneces  Boolean
Whether get request-with-list can be used for multiple attributes
attributes  CosemAttributeDecsriptorWithSelection

Return Value

CosemAttributeDecsriptorWithSelection

See Also