org.bluez...erWatcher(5)

🌸 Name 🌸

Bestie, welcome to the org.bluez.ThermometerWatcher page, manual section 5, under the Linux System Administration umbrella. It's giving BlueZ D-Bus Health Thermometer Watcher API documentation and honestly? niche Bluetooth health-tech realness. πŸ’–


πŸ¦‹ Interface πŸ¦‹

  • Service β€” unique name
  • Interface β€” org.bluez.ThermometerWatcher1
  • Object path β€” freely definable

πŸ’… Methods πŸ’…

πŸ’– void MeasurementReceived(dict measurement) πŸ’–

This callback gets called when a measurement has been scanned in the thermometer. That's the whole main-character moment. 🫢

Possible measurement values:

  • int16 Exponent β€” the exponent part of the float situation.
  • int32 Mantissa β€” the mantissa part. Together, Exponent and Mantissa are the values extracted from the float value defined by IEEE-11073-20601.

The measurement value is calculated as (Mantissa) * (10^Exponent).

For special cases, Exponent is set to 0 and Mantissa is set to one of these 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".

πŸŽ€ Author πŸŽ€

Santiago Carot-Nemesio <sancane@gmail.com> β€” icon behavior, no cap. ✨


okay that's the page, bestie. source/version: BlueZ; date: July 2011 β€” a whole little time capsule, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from