DlmsFrameGetNextDataWithTag Method
Extracts next data part including the starting tag from the beginning of rawData and deletes it from rawData. See Data in GB.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static void GetNextDataWithTag(
ByteBuffer rawData,
ref int index,
out DlmsType result,
DlmsPartialParsingInfo parsingInfo
)
Parameters
- rawData ByteBuffer
- Data of Data type from abstract syntax.
- index Int32
- Index in rawData.
- result DlmsType
-
Parsed DLMS data. In the case DlmsException is thrown, it will contain object of type DlmsTypeNull for simple types or it will contain a DlmsTypeComplex object
with sope parsed items.
- parsingInfo DlmsPartialParsingInfo
-
If this parameter is not null parsingInfo.OnObjectParsed callback methos is called whenever new object is parsed. It is used for partial DLMS parsing
during block data transfer.
Abstract syntax of Data type is in GB page 210.