Skip to content

Home > resol-vbus-core-nodejs > NetLiveTransceiverConstructorOptions

NetLiveTransceiverConstructorOptions interface

The options for the constructor of NetLiveTransceiver.

Signature:

typescript
export interface NetLiveTransceiverConstructorOptions

Properties

Property

Modifiers

Type

Description

channel?

number | ((channels: NetLiveTransceiverChannelInfo[]) => Promise<number | null>)

(Optional) The channel to connect to.

liveTransceiverOptions?

LiveTransceiverConstructorOptions

(Optional) The options to create the live transceiver with.

onConnectionStateChange?

(newConnectionState: NetLiveTransceiverConnectionState) => void

(Optional) The callback to report connection state changes to.

password?

string

(Optional) The password to connect with.

skipCommandPhase?

boolean

(Optional) Whether the transceiver should skip the command phase and directly go into data mode.

socketOptions

net.NetConnectOpts

The options to connect the socket with.

viaTag?

string

(Optional) The via tag to connect with.