Skip to content

Home > resol-vbus-core-toolbox > SerialPortConnection

SerialPortConnection class

A connection using serialport.SerialPort.

Signature:

typescript
export declare class SerialPortConnection extends Connection

Extends: Connection

Constructors

Constructor

Modifiers

Description

(constructor)(config)

Create a new connection.

Properties

Property

Modifiers

Type

Description

liveTransceiver

LiveTransceiver

The live transceiver.

serialPort

SerialPort

The serial port instance.

Methods

Method

Modifiers

Description

connect()

Connect this connection.

disconnect()

Disconnect this connection.

getLiveTransceiver()

Get the LiveTransceiver of this connection.