DlmsFrameCreate_WriteRequestWithDataBlock Method

Creates one block of WRITE request while using block transfer.

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 ByteBuffer Create_WriteRequestWithDataBlock(
	ushort blockNumber,
	ByteBuffer rawData,
	bool lastBlock
)

Parameters

blockNumber  UInt16
Block number starting from 1.
rawData  ByteBuffer
Data to send that fits to one block.
lastBlock  Boolean
Indicator of last block.

Return Value

ByteBuffer
Request as bytes that can be sent to the server (meter).

See Also