Table of Contents

Constructor Device

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Device()

Initializes a new instance of the Device class.

public Device()

Device(int)

Initializes a new instance of the Device class accepting connections only from Harp devices with the specified identifier.

public Device(int whoAmI)

Parameters

whoAmI int

The device identifier to match against serial connections.

Device(int, FirmwareMetadata)

Initializes a new instance of the Device class accepting connections only from Harp devices with the specified identifier and firmware version.

public Device(int whoAmI, FirmwareMetadata firmware)

Parameters

whoAmI int

The device identifier to match against serial connections.

firmware FirmwareMetadata

Provides information about the expected device firmware version.