https://www.bluetooth.com/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Characteristics/org.bluetooth.characteristic.temperature_measurement.xml  
 More...
#include <GattNumbers.hpp>
◆ Bits
| Enumerator | 
|---|
| IS_TEMP_FAHRENHEIT | bit 0: If set, temperature is in Fahrenheit, otherwise Celsius.  | 
| HAS_TIMESTAMP | bit 1: If set, timestamp field present, otherwise not.  | 
| HAS_TEMP_TYPE | bit 2: If set, temperature type field present, otherwise not.  | 
Definition at line 354 of file GattNumbers.hpp.
 
 
◆ GattTemperatureMeasurement()
  
  | 
        
          | direct_bt::GattTemperatureMeasurement::GattTemperatureMeasurement | ( | const uint8_t | flags_, |  
          |  |  | const float | temperatureValue_, |  
          |  |  | const ieee11073::AbsoluteTime & | timestamp_, |  
          |  |  | const uint8_t | temperature_type_ |  
          |  | ) |  |  |  | inlinenoexcept | 
 
 
◆ get() [1/2]
◆ get() [2/2]
◆ hasTemperatureType()
  
  | 
        
          | bool direct_bt::GattTemperatureMeasurement::hasTemperatureType | ( |  | ) | const |  | inlinenoexcept | 
 
 
◆ hasTimestamp()
  
  | 
        
          | bool direct_bt::GattTemperatureMeasurement::hasTimestamp | ( |  | ) | const |  | inlinenoexcept | 
 
 
◆ isFahrenheit()
  
  | 
        
          | bool direct_bt::GattTemperatureMeasurement::isFahrenheit | ( |  | ) | const |  | inlinenoexcept | 
 
 
◆ toString()
  
  | 
        
          | std::string GattTemperatureMeasurement::toString | ( |  | ) | const |  | noexcept | 
 
 
◆ flags
      
        
          | const uint8_t direct_bt::GattTemperatureMeasurement::flags | 
      
 
 
◆ temperature_type
      
        
          | const uint8_t direct_bt::GattTemperatureMeasurement::temperature_type | 
      
 
Temperature Type, if HAS_TEMP_TYPE is set: Format ????. 
1 byte (!?). 
Definition at line 372 of file GattNumbers.hpp.
 
 
◆ temperatureValue
      
        
          | const float direct_bt::GattTemperatureMeasurement::temperatureValue | 
      
 
In Celsius if IS_TEMP_FAHRENHEIT is set, otherwise Fahrenheit. 
4 bytes. 
Definition at line 366 of file GattNumbers.hpp.
 
 
◆ timestamp
Timestamp, if HAS_TIMESTAMP is set. 
7 bytes(!?) here w/o fractions. 
Definition at line 369 of file GattNumbers.hpp.
 
 
The documentation for this class was generated from the following files: