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