Skip to content

Home > resol-vbus-core > LiveTransceiver > getValueIdHashByIndex

LiveTransceiver.getValueIdHashByIndex() method

Get the ID hash of a (menu) value by its index.

Signature:

typescript
getValueIdHashByIndex(peerAddress: number, valueIndex: number, options?: LiveTransceiverActionTriesAndTimeouts): Promise<Datagram | null>;

Parameters

Parameter

Type

Description

peerAddress

number

The address of the peer.

valueIndex

number

The index of the value.

options

LiveTransceiverActionTriesAndTimeouts

(Optional) Options.

**Returns:**

Promise<Datagram | null>

A promise that resolves when the datagram was received or the action timed out.