HdlcFrameCreate_SRNM Method

Create SRNM frame to set up HDLC communication.

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_SRNM(
	HdlcAddress serverAddress,
	HdlcAddress clientAddress,
	ByteBuffer parameterNegotiationRequest
)

Parameters

serverAddress  HdlcAddress
Server (meter) address
clientAddress  HdlcAddress
Client (service) address
parameterNegotiationRequest  ByteBuffer
The information part of SRNM frame containing HDLC parameter negotiation request. It could be null or empty if parameter negotiation is not requested, otherwise it could be created by HdlcParameters.CreateNegotiationRequest.

Return Value

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

See Also