Flying Silicon Sensor
PtvBleInterface::SensorData Struct Reference

Sensor data structure. More...

#include <ptvBleInterface.h>

Public Attributes

float diffPa = 0.0
 SDP31 differential pressure Pa.
 
float absHpa = 0.0
 DPS310 barometric pressure hPa.
 
float tempC = 0.0
 SHT temperature °C.
 
float humPct = 0.0
 SHT humidity %.
 
float batVolt = 0.0
 Battery Voltage.
 
float batPct = 0.0
 Battery charge %.
 
int isCharging = 0
 Charging state.
 

Detailed Description

Sensor data structure.

Definition at line 36 of file ptvBleInterface.h.

Member Data Documentation

◆ absHpa

float PtvBleInterface::SensorData::absHpa = 0.0

DPS310 barometric pressure hPa.

Definition at line 40 of file ptvBleInterface.h.

Referenced by readDPS(), readSDP(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ batPct

float PtvBleInterface::SensorData::batPct = 0.0

Battery charge %.

Definition at line 49 of file ptvBleInterface.h.

Referenced by enable(), managePower(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ batVolt

float PtvBleInterface::SensorData::batVolt = 0.0

Battery Voltage.

Definition at line 47 of file ptvBleInterface.h.

Referenced by managePower(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ diffPa

float PtvBleInterface::SensorData::diffPa = 0.0

SDP31 differential pressure Pa.

Definition at line 38 of file ptvBleInterface.h.

Referenced by readSDP(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ humPct

float PtvBleInterface::SensorData::humPct = 0.0

SHT humidity %.

Definition at line 44 of file ptvBleInterface.h.

Referenced by readSHT(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ isCharging

int PtvBleInterface::SensorData::isCharging = 0

Charging state.

Definition at line 51 of file ptvBleInterface.h.

Referenced by loopPassive(), managePower(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().

◆ tempC

float PtvBleInterface::SensorData::tempC = 0.0

SHT temperature °C.

Definition at line 42 of file ptvBleInterface.h.

Referenced by readSHT(), resetStatus(), PtvBleInterface::sendLongMsg(), and PtvBleInterface::sendShortMsg().


The documentation for this struct was generated from the following file: