Interface AntPlusEnvironmentPcc.ITemperatureDataReceiver

Enclosing class:
AntPlusEnvironmentPcc

public static interface AntPlusEnvironmentPcc.ITemperatureDataReceiver
Receiver for the TemperatureData event, which is: Current temperature and 24 hour highs and lows.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewTemperatureData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal currentTemperature, long eventCount, BigDecimal lowLast24Hours, BigDecimal highLast24Hours)
    Receives the data from a TemperatureData event.
  • Method Details

    • onNewTemperatureData

      void onNewTemperatureData(long estTimestamp, EnumSet<EventFlag> eventFlags, BigDecimal currentTemperature, long eventCount, BigDecimal lowLast24Hours, BigDecimal highLast24Hours)
      Receives the data from a TemperatureData event.
      Parameters:
      estTimestamp - The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.
      eventFlags - Informational flags about the event.
      currentTemperature - The most recent temperature reading of the sensor (up to 0.01*C accuracy). Units: Degrees Celsius.
      eventCount - Incremented every measurement. Rollover: Every ~9 quintillion N/A.
      lowLast24Hours - Lowest temperature recorded over the last 24 hours (up to 0.1*C accuracy). Units: Degrees Celsius.
      highLast24Hours - Highest temperature recorded over the last 24 hours (up to 0.1*C accuracy). Units: Degrees Celsius.