Package org.bluez

Interface ThermometerWatcher1

All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface

public interface ThermometerWatcher1 extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2020-06-18.
Based on bluez Documentation: thermometer-api.txt.

Service: unique name
Interface: org.bluez.ThermometerWatcher1

Object path:
freely definable

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    MeasurementReceived(Map<String,org.freedesktop.dbus.types.Variant<?>> _measurement)
    From bluez documentation:

    This callback gets called when a measurement has been
    scanned in the thermometer.

    Measurement:

    int16 Exponent:
    int32 Mantissa:

    Exponent and Mantissa values as
    extracted from float value defined by
    IEEE-11073-20601.

    Measurement value is calculated as
    (Mantissa) * (10^Exponent)

    For special cases Exponent is
    set to 0 and Mantissa is set to
    one of following values:

    +(2^23 - 1) NaN (invalid or
    missing data)
    -(2^23) NRes
    +(2^23 - 2) +Infinity
    -(2^23 - 2) -Infinity

    string Unit:

    Possible values: "celsius" or
    "fahrenheit"

    uint64 Time (optional):

    Time of measurement, if
    supported by device.
    Expressed in seconds since epoch.

    string Type (optional):

    Only present if measurement type
    is known.

    Possible values: "armpit", "body",
    "ear", "finger", "intestines",
    "mouth", "rectum", "toe",
    "tympanum"

    string Measurement:

    Possible values: "final" or
    "intermediate"

    Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface

    getObjectPath, isRemote
  • Method Details

    • MeasurementReceived

      void MeasurementReceived(Map<String,org.freedesktop.dbus.types.Variant<?>> _measurement)
      From bluez documentation:

      This callback gets called when a measurement has been
      scanned in the thermometer.

      Measurement:

      int16 Exponent:
      int32 Mantissa:

      Exponent and Mantissa values as
      extracted from float value defined by
      IEEE-11073-20601.

      Measurement value is calculated as
      (Mantissa) * (10^Exponent)

      For special cases Exponent is
      set to 0 and Mantissa is set to
      one of following values:

      +(2^23 - 1) NaN (invalid or
      missing data)
      -(2^23) NRes
      +(2^23 - 2) +Infinity
      -(2^23 - 2) -Infinity

      string Unit:

      Possible values: "celsius" or
      "fahrenheit"

      uint64 Time (optional):

      Time of measurement, if
      supported by device.
      Expressed in seconds since epoch.

      string Type (optional):

      Only present if measurement type
      is known.

      Possible values: "armpit", "body",
      "ear", "finger", "intestines",
      "mouth", "rectum", "toe",
      "tympanum"

      string Measurement:

      Possible values: "final" or
      "intermediate"
      Parameters:
      _measurement - measurement