Skip to main content

Class: SerialFeed

Defined in: drivers/SerialFeed.ts:57

Handles the serial data from a Tool

Extended by

Constructors

Constructor

new SerialFeed(log, options): SerialFeed;

Defined in: drivers/SerialFeed.ts:79

Parameters

ParameterType
logany
optionsIKeyValue

Returns

SerialFeed

Methods

blocking()

blocking(): Promise<any>;

Defined in: drivers/SerialFeed.ts:248

Generates a promise to await when this driver completes its run

Returns

Promise<any>

a promise with a message about the connection


start()

start(): Promise<void>;

Defined in: drivers/SerialFeed.ts:210

Starts the Serial Feed driver

Returns

Promise<void>


stop()

stop(reason): void;

Defined in: drivers/SerialFeed.ts:228

Stops the Serial Feed driver

Parameters

ParameterTypeDescription
reasonstringReason for stopping the driver

Returns

void