HdlcFrameGetNext(ByteBuffer) Method
Returns the next frame of type 3 from the start of rawData. Procedure skips any starting bytes before starting flag (7E).
Namespace: OddPrg.Protocols.HdlcAssembly: OddPrg.Frames.Hdlc (in OddPrg.Frames.Hdlc.dll) Version: 1.0.0.2 (1.0.0.2)
public static ByteBuffer GetNext(
ByteBuffer rawData
)
- rawData ByteBuffer
- Data received from a server (meter).
ByteBufferReturns a HDLC frame from the beginning of data. If data does not start with a valid HDLC frame, it returns null.