BBSerial |
The BBSerialPort type exposes the following members.
Name | Description | |
---|---|---|
![]() | Connection |
The connection. If the connection is replaced and the previous connection was connected, the new connection will be connected too
(Inherited from DeviceConn, Proto) |
![]() | DataAvailable | Indicates whether data is available, can be 0, for no data, 1 for 1 or more bytes, or a number representing the precise number of bytes |
![]() | IsAvailable |
Whether the connection to this Brainboxes Device is available, e.g. online or offline.
In case of network TCP connection: this is if the device is pingable on the network.
In case of serial connection: this is if the device COM port is listed on the system and not open by another process.
(Inherited from DeviceConn, Proto) |
![]() | IsConnected |
Whether this Brainboxes Device instance has an active connection
(Inherited from DeviceConn, Proto) |
![]() | Label |
User definable label for the Device to help identify when many devices / when debugging
(Inherited from DeviceConn, Proto) |
![]() | Protocol |
Marking as virtual allows it to be overridden in the child class
(Inherited from DeviceConn, Proto) |