Skip to content

Home > resol-vbus-core > PacketSpecification

PacketSpecification class

A packet specification.

Signature:

typescript
export declare class PacketSpecification

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructor a packet specification.

Properties

Property

Modifiers

Type

Description

channel

number

The VBus channel.

command

number

The command.

destinationAddress

number

The destination address.

destinationDevice

DeviceSpecification

The destination device specification.

fields

PacketFieldSpecification[]

The list of field specifications.

id

string

The ID.

packetTemplate

VsfPacketTemplate | undefined

The VSF packet template.

sourceAddress

number

The source address.

sourceDevice

DeviceSpecification

The source device specification.