Skip to main content

Interface IProtocol

Base interface for all communication protocols used by Brainboxes devices. A protocol defines how commands are formatted, sent over the underlying Brainboxes.IO.IProtocol.Stream, and how responses are parsed.

Assembly: Brainboxes.IO.dll​
View Source​
Declaration
public interface IProtocol

Properties​

Stream​

The stream on which the protocol sends commands and reads responses. Set automatically when a device connection is opened.

View Source​
Declaration
Stream Stream { set; }