Class: Base
Defined in: Base.noble.ts:33
Noble Base class for both the Tools Gateway and individual tools.
Constructors
Constructor
new Base(
loginType,
userClass,
serialNumber,
name): Base;
Defined in: Base.noble.ts:56
Parameters
| Parameter | Type | Description |
|---|---|---|
loginType | string | Login Type of Tools Gateway or Tool, value will either be "EmbeddedNode" or "Tool" |
userClass | string | What the device is |
serialNumber | string | The device serial number |
name | string | The name of the device |
Returns
Base
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
parentUUID | string | UUID of the Parent (Tools Gateway) | Base.noble.ts:38 |
serialNumber | string | Device serial number | Base.noble.ts:44 |
Methods
connect()
connect(): Promise<void>;
Defined in: Base.noble.ts:77
Logs into all backend services beginning with client authentication
Returns
Promise<void>
log()
log(message, data?): void;
Defined in: Base.noble.ts:70
Logs a message
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | Message to log and send |
data? | any | Additional data to send with log |
Returns
void