Appearance
Home > resol-vbus-core > encodeChannelRecord
encodeChannelRecord() function
Encode a type 77 "Channel" record.
Signature:
typescript
export declare function encodeChannelRecord(timestamp: Date, channel: number): Uint8Array;
Parameters
Parameter | Type | Description |
---|---|---|
timestamp | Date | The timestamp to encode. |
channel | number | The VBus channel to encode. |
Uint8Array
The buffer containing the record.