Skip to content

Home > resol-vbus-core > Specification > getDeviceSpecification

Specification.getDeviceSpecification() method

Get a device specification.

Signature:

typescript
getDeviceSpecification(channel: number, selfAddress: number, peerAddress?: number): DeviceSpecification;

Parameters

Parameter

Type

Description

channel

number

The VBus channel.

selfAddress

number

The address of the device itself.

peerAddress

number

(Optional) The address of the device's peer.

**Returns:**

DeviceSpecification

The device specification.