All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bluez.ThermometerWatcher1 Maven / Gradle / Ivy

Go to download

Java native bluetooth library which uses bluez via dbus (linux only). This is the OSGi compliant bundle of all required libraries in one bundle.

The newest version!
package org.bluez;

import org.freedesktop.dbus.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;

import java.util.Map;

/**
 * File generated - 2020-06-18.
* Based on bluez Documentation: thermometer-api.txt.
*
* Service: unique name
* Interface: org.bluez.ThermometerWatcher1
*
* Object path:
* freely definable
*
*/ public interface ThermometerWatcher1 extends DBusInterface { /** * 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"
* * @param _measurement measurement */ void MeasurementReceived(Map> _measurement); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy