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
| Parameter | Type |
|---|---|
log | any |
options | IKeyValue |
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
| Parameter | Type | Description |
|---|---|---|
reason | string | Reason for stopping the driver |
Returns
void