HdlcFrameCreate_SRNM Method
Create SRNM frame to set up HDLC communication.
Namespace: OddPrg.Protocols.HdlcAssembly: OddPrg.Frames.Hdlc (in OddPrg.Frames.Hdlc.dll) Version: 1.0.0.2 (1.0.0.2)
public static ByteBuffer Create_SRNM(
HdlcAddress serverAddress,
HdlcAddress clientAddress,
ByteBuffer parameterNegotiationRequest
)
- 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.
ByteBufferBytes that can be sent to the server (meter) as SRNM frame