Appearance
Home > resol-vbus-core-nodejs > NetLiveTransceiver
NetLiveTransceiver class
A TCP socket based live transceiver.
Signature:
typescript
export declare class NetLiveTransceiver
Constructors
Constructor | Modifiers | Description |
---|---|---|
Construct a TCP socket based live transceiver. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
NetLiveTransceiverBridge | null | The current bridge. | ||
number | ((channels: NetLiveTransceiverChannelInfo[]) => Promise<number | null>) | (Optional) The channel to connect to. | ||
The current connection state. | |||
The live transceiver. | |||
number | The next reconnect timeout. | ||
(newConnectionState: NetLiveTransceiverConnectionState) => void | (Optional) The callback to report connection state changes to. | ||
string | (Optional) The password to connect with. | ||
boolean | Whether the transceiver should skip the command phase and directly go into data mode. | ||
net.Socket | null | The current socket. | ||
net.NetConnectOpts | The options to connect the socket with. | ||
string | (Optional) The via tag to connect with. |
Methods
Method | Modifiers | Description |
---|---|---|
Set the current connection state. | ||
Connect to the live VBus stream, optionally performing the VBus-over-TCP handshake. | ||
Disconnect from the live VBus stream. | ||
Get the current connection state. |