Appearance
Home > resol-vbus-core > Packet
Packet class
A VBus version 1.x packet.
Signature:
typescript
export declare class Packet extends Header
Extends: Header
Constructors
Constructor | Modifiers | Description |
---|---|---|
Construct a packet. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
number | The command. | ||
number | The frame count. | ||
Uint8Array | The frame data. |
Methods
Method | Modifiers | Description |
---|---|---|
Compare this packet to another | ||
Get used part of the frame data (capped at length of | ||
Get the ID. | ||
Get the major VBus version. |