Skip to content

IGeckoProvider ​

Interface for Gecko connection providers.

Kind: Interface

Namespace: ConnectorLib

Public Member Functions

abstract virtual

bool

TryWrite(byte[] data, uint out bytesWritten)

abstract virtual

bool

TryWrite(byte[] data)

abstract virtual

bool

TryRead(byte[] data, uint out bytesRead)

Attempts to read data from the Gecko device.

abstract virtual

bool

TryRead(byte[] data, bool allowPartial, uint out bytesRead)

Attempts to read data from the Gecko device.

abstract virtual

bool

TryRead(byte[] data, bool allowPartial = true)

Attempts to read data from the Gecko device.

abstract virtual

bool

GeckoInit()

Initializes the Gecko device.

Properties

bool

Connected

[get, ]

Indicates whether the Gecko device is connected.

Events

EventHandler<GeckoData>

OnDataReceived

Called when data from the Gecko device has arrived.

EventHandler<ValueTuple<ConnectionStatus, string>>

ConnectionStatusChanged