Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IOTileDevice

Index

Constructors

constructor

Properties

Private adapter

advertisement

advertisement: IOTileAdvertisement

connectionID

connectionID: any

deviceID

deviceID: number

Private downloadLock

downloadLock: any

slug

slug: string

Methods

acknowledgeStreamerRPC

  • acknowledgeStreamerRPC(streamer: number, highestID: number, force: boolean): Promise<void>

clearAllReadings

  • clearAllReadings(): Promise<void>
  • Clear all stored readings in the device.

    This removes all buffered and output stream data stored in the device.

    Returns Promise<void>

config

controllerHWVersionRPC

  • controllerHWVersionRPC(): Promise<string>
  • IOTile controllers have an embedded 10 character long hardware id tag that uniquely determines what hardware type they are. This is important information to know when seeing what kind of script or firmware update to apply since different hardware versions may require different scripts or different firmware.

    The value is padded out with null characters to exactly 10 bytes so make sure to strip those out.

    Returns Promise<string>

controllerVersionRPC

  • controllerVersionRPC(): Promise<string>

downloadStream

  • downloadStream(streamName: string, progress?: any): Promise<RawReading[]>

graphInput

  • graphInput(stream: string | number, value: number): Promise<void>

highestUniqueIDRPC

  • highestUniqueIDRPC(): Promise<any>

inspectVirtualStream

  • inspectVirtualStream(stream: string | number): Promise<number>

queryBLEConnectionInfo

queryStreamerRPC

remoteBridge

tileVersionRPC

  • tileVersionRPC(address: number): Promise<string>

triggerStreamer

  • triggerStreamer(streamer: number): Promise<any>

updateBLEParams

  • updateBLEParams(minIntervalMS: number, maxIntervalMS: number, timeoutMS: number): Promise<any>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc