HdlcFrameCreate_I Method

Create I frame which is used as request. It means that it is the only frame sent to the server and response from the server is expected.

Definition

Namespace: OddPrg.Protocols.Hdlc
Assembly: OddPrg.Frames.Hdlc (in OddPrg.Frames.Hdlc.dll) Version: 1.0.0.2 (1.0.0.2)
C#
public static ByteBuffer Create_I(
	HdlcAddress serverAddress,
	HdlcAddress clientAddress,
	ByteBuffer information,
	bool segmentation,
	bool poll,
	byte receiveNo,
	byte sendNo
)

Parameters

serverAddress  HdlcAddress
Server (meter) address
clientAddress  HdlcAddress
Client (service) address
information  ByteBuffer
Information part of the frame
segmentation  Boolean
poll  Boolean
receiveNo  Byte
sendNo  Byte

Return Value

ByteBuffer
Bytes that can be sent to the server (meter) as I frame

See Also