Skip to content

Home > resol-vbus-core > encodeTelegramRecord

encodeTelegramRecord() function

Encode a Telegram into a type 66 record.

Signature:

typescript
export declare function encodeTelegramRecord(tgram: Telegram): Uint8Array;

Parameters

Parameter

Type

Description

tgram

Telegram

The telegram to encode.

**Returns:**

Uint8Array

The buffer containing the record.