SRK Version of mDot LoRa_Sensormode_SRK

Dependencies:   libmDot mbed-rtos mbed

Fork of mDot_LoRa_Sensornode by Adrian Mitevski

Embed: (wiki syntax)

« Back to documentation index

BME280HumidityMessage Class Reference

BME280HumidityMessage Class Reference

A Container that can hold acquired humidity values from the BME280. More...

#include <BME280HumidityMessage.h>

Inherits SensorMessage.

Public Member Functions

void setHumidity (float humidity)
 Sets the humidity value of the BME280HumidityMessage.
float getHumidity ()
 Gets the humidity value from the BME280HumidityMessage.
virtual char * getLoRaMessageString ()
 Gets a small LoRaMessage Type Formated String from the BMEHumidityMessage.

Detailed Description

A Container that can hold acquired humidity values from the BME280.

The container will be transported via a MessageQueue between different Tasks.

Definition at line 21 of file BME280HumidityMessage.h.


Member Function Documentation

float getHumidity (  )

Gets the humidity value from the BME280HumidityMessage.

Returns:

Definition at line 23 of file BME280HumidityMessage.cpp.

char * getLoRaMessageString (  ) [virtual]

Gets a small LoRaMessage Type Formated String from the BMEHumidityMessage.

This String can later be used for transportation via LoRa

Returns:

Reimplemented from SensorMessage.

Definition at line 27 of file BME280HumidityMessage.cpp.

void setHumidity ( float  humidity )

Sets the humidity value of the BME280HumidityMessage.

Parameters:
humidityto be stored

Definition at line 19 of file BME280HumidityMessage.cpp.