Class SensorClient

A gRPC-web client for the Sensor component.

Hierarchy

  • SensorClient

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

client: SensorServiceClient
name: string
options: Options

Accessors

  • get sensorService(): SensorServiceClient
  • Returns SensorServiceClient

Methods

  • Send/Receive arbitrary commands to the resource.

    Parameters

    Returns Promise<StructType>

  • Return the readings of a sensor.

    Parameters

    • extra: {} = {}

      Returns Promise<Record<string, unknown>>

    Generated using TypeDoc