Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Indexable

[key: string]: any

Index

Constructors

constructor

  • new AccelerometerTile(firmwareVersion?: string, initAccelStatus?: object, config?: any): AccelerometerTile

Properties

Private accelStatus

accelStatus: any

address

address: number | undefined

Private config

config: any

Protected firmwareVersion

firmwareVersion: string

Protected name

name: string

Protected rpcTable

rpcTable: object

Type declaration

Private shockInfo

shockInfo: ShockInfo

Methods

Protected addRPC

  • addRPC(address: number, rpcID: number, argFormat: string, respFormat: string, handler: function, thisObject: object): void
  • Add an RPC to this RPCDispatcher.

    The RPC handler is stored for later use and can be called using the public method rpc(address, rpcID, packedArguments: ArrayBuffer)

    Parameters

    • address: number

      The address of the tile where we want to add this RPC

    • rpcID: number

      The 16-bit RPC id of the RPC, something like 0x8000

    • argFormat: string

      A format string compatible with unpackArrayBuffer to unpack arguments

    • respFormat: string

      A format string compatbile with packArrayBuffer to pack the return value

    • handler: function

      A handler function that is called with bind(this, handler)

    • thisObject: object

      The object that should be used for the this parameter to handler

    Returns void

enterStreamingMode

Protected findRPCHandlers

  • findRPCHandlers(obj: object): void

getAccelerometerStatus

getShockInfo

hasRPC

  • hasRPC(address: number, rpcID: number): boolean

leaveStreamingMode

pauseRecording

resumeRecording

rpc

  • rpc(address: number, rpcID: number, args?: ArrayBuffer): Promise<ArrayBuffer>

setShockInfo

  • setShockInfo(type: number, shock: Shock): void

sortStoredWaveforms

  • sortStoredWaveforms(skipID: number, highestN: number, sortCriteria: number): RPCResponse

streamSortedWaveforms

tile_status

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