Options
All
  • Public
  • Public/Protected
  • All
Menu

A class that can merge two signed list reports into one. This is used to create a combined report from a separate user and system report before uploading to iotile.cloud. This class attempts to check as best it can that the reports are valid and both a user and system report before merging them.

Hierarchy

  • SignedListReportMerger

Index

Methods

Private checkReportsForMerging

Private insertMergedFooter

  • insertMergedFooter(merged: ArrayBuffer, lowest: number, highest: number): void

Private insertMergedHeader

Private insertReading

  • insertReading(merged: ArrayBuffer, offset: number, timestamp: number, stream: number, value: number, readingID: number): void
  • Parameters

    • merged: ArrayBuffer
    • offset: number
    • timestamp: number
    • stream: number
    • value: number
    • readingID: number

    Returns void

Private mergeReadings

mergeReports

Private pickNextReading

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