diff --git a/docs/analog__input_8cpp.html b/docs/analog__input_8cpp.html deleted file mode 100644 index f95bc6d08..000000000 --- a/docs/analog__input_8cpp.html +++ /dev/null @@ -1,138 +0,0 @@ - - -
- - - - -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "sensor.h"
Go to the source code of this file.
--Classes | |
class | AnalogInput |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transforms/linear.h"
Go to the source code of this file.
--Classes | |
class | AnalogVoltage |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "angle_correction.h"
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transform.h"
Go to the source code of this file.
--Classes | |
class | AngleCorrection |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
CAnalogInput | |
CAnalogVoltage | |
CAngleCorrection | |
CChangeFilter | |
CConfigurable | |
▼CCurveInterpolator | |
CSample | |
CDallasTemperatureSensors | |
CDebounce | |
CDifference | |
CDigitalInput | |
CDigitalInputCounter | |
CDigitalInputValue | |
CEnable | |
CENUVector | |
CFreeMem | |
CFrequency | |
CGPGGASentenceParser | |
CGPGLLSentenceParser | |
CGPRMCSentenceParser | |
CGPSInput | |
CHTTPServer | |
CIntegerSensor | |
CIntegrator | |
CIPAddrDev | |
CLedBlinker | |
CLinear | |
CMedian | |
CMovingAverage | |
CNetworking | |
CNMEAData | |
CNMEAParser | |
CNumericSensor | |
CObservable | |
CObservableValue | |
COneWireTemperature | |
CPosition | |
CPSTI030SentenceParser | |
CPSTI032SentenceParser | |
CPSTISentenceParser | |
CSensESPApp | |
CSensor | |
CSentenceParser | |
CSKDelta | |
CSKEmitter | |
CSKOutput | |
CSKOutputTime | |
CStringSensor | |
CSymmetricTransform | |
CSystemHz | |
CTimeString | |
CTransform | |
CTransformBase | |
CUptime | |
CValueConsumer | |
CValueProducer | |
CVoltageDividerR2 | |
CWSClient |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "change_filter.h"
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transforms/transform.h"
Go to the source code of this file.
--Classes | |
class | ChangeFilter |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for AnalogInput, including all inherited members.
-AnalogInput() | AnalogInput | |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | AnalogInput | virtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <analog_input.h>
-Public Member Functions | |
AnalogInput () | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
-Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 6 of file analog_input.h.
-AnalogInput::AnalogInput | -( | -) | -- |
Definition at line 7 of file analog_input.cpp.
- -
-
|
- -finaloverridevirtual | -
Called during the initialization process. Override this method to add runtime initialization code to your class
- -Reimplemented from Enable.
- -Definition at line 16 of file analog_input.cpp.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for AnalogVoltage, including all inherited members.
-AnalogVoltage(String config_path="") | AnalogVoltage | inline |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Linear | virtual |
get_configuration(JsonBuffer &buf) override | Linear | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
Linear(float k, float c, String config_path="") | Linear | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | Linear | virtual |
set_input(float input, uint8_t inputChannel=0) override | Linear | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <analogvoltage.h>
-Public Member Functions | |
AnalogVoltage (String config_path="") | |
Public Member Functions inherited from Linear | |
Linear (float k, float c, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
A Transform that translates the values that comes out of an AnalogInput into a voltage
- -Definition at line 9 of file analogvoltage.h.
-
-
|
- -inline | -
Definition at line 12 of file analogvoltage.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for AngleCorrection, including all inherited members.
-AngleCorrection(float offset, float min_angle=0, String config_path="") | AngleCorrection | |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | AngleCorrection | virtual |
get_configuration(JsonBuffer &buf) override | AngleCorrection | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | AngleCorrection | virtual |
set_input(float input, uint8_t inputChannel=0) override | AngleCorrection | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <angle_correction.h>
-Public Member Functions | |
AngleCorrection (float offset, float min_angle=0, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 9 of file angle_correction.h.
-AngleCorrection::AngleCorrection | -( | -float | -offset, | -
- | - | float | -min_angle = 0 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 3 of file angle_correction.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 42 of file angle_correction.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 25 of file angle_correction.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 46 of file angle_correction.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 11 of file angle_correction.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for ChangeFilter, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
ChangeFilter(float minDelta=0.0, float maxDelta=9999.0, int maxSkips=99, String config_path="") | ChangeFilter | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | ChangeFilter | virtual |
get_configuration(JsonBuffer &buf) override | ChangeFilter | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
maxDelta | ChangeFilter | protected |
maxSkips | ChangeFilter | protected |
minDelta | ChangeFilter | protected |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | ChangeFilter | virtual |
set_input(float newValue, uint8_t inputChannel=0) override | ChangeFilter | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
skips | ChangeFilter | protected |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <change_filter.h>
-Public Member Functions | |
ChangeFilter (float minDelta=0.0, float maxDelta=9999.0, int maxSkips=99, String config_path="") | |
virtual void | set_input (float newValue, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Protected Attributes | |
float | minDelta |
float | maxDelta |
int | maxSkips |
int | skips |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
ChangeFilter is a numeric passthrough transform that will only pass that value through if it is "sufficiently different" from the last value passed through. More specifically, the absolute value of the difference between the new value and the last passed value has to be greater than or equal to the specified minDelta, and less than or equal to the specified maxDelta. If the consecutive skip count ever reaches maxSkips, the value will be let through regardless.
- -Definition at line 16 of file change_filter.h.
-ChangeFilter::ChangeFilter | -( | -float | -minDelta = 0.0 , |
-
- | - | float | -maxDelta = 9999.0 , |
-
- | - | int | -maxSkips = 99 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 14 of file change_filter.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 57 of file change_filter.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 39 of file change_filter.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 62 of file change_filter.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 25 of file change_filter.cpp.
- -
-
|
- -protected | -
Definition at line 29 of file change_filter.h.
- -
-
|
- -protected | -
Definition at line 30 of file change_filter.h.
- -
-
|
- -protected | -
Definition at line 28 of file change_filter.h.
- -
-
|
- -protected | -
Definition at line 31 of file change_filter.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <configurable.h>
-Public Member Functions | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
-Public Attributes | |
const String | config_path |
-Protected Member Functions | |
virtual void | load_configuration () |
A Configurable is any object that is capable of having configuration data that can be set remotely using a RESTful API, and can be persisted to the local file system.
- -Definition at line 15 of file configurable.h.
-Configurable::Configurable | -( | -String | -config_path = "" | ) | -- |
Create a configurable object who's configuration is saved using the specified config_path.
config_path | The partial path used for the URL when configuring this object remotely with a browser. The config_path also represents the path to the local file where the configuration data is persisted. Given this, be sure to chose a path that is both valid for URLs as well as file names. A configuration path should always start with a forward slash. Leaving the config_path blank indicates that this object does not need or want configuration data support. |
Definition at line 12 of file configurable.cpp.
- -
-
|
- -virtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented in SKOutput< T >, CurveInterpolator, WSClient, OneWireTemperature, MovingAverage, VoltageDividerR2, ChangeFilter, Networking, Median, Frequency, AngleCorrection, Linear, SKOutputTime, Integrator, and Difference.
- -Definition at line 35 of file configurable.cpp.
-
-
|
- -virtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented in SKOutput< T >, CurveInterpolator, WSClient, OneWireTemperature, MovingAverage, VoltageDividerR2, ChangeFilter, Networking, Median, Frequency, AngleCorrection, Linear, SKOutputTime, Integrator, and Difference.
- -Definition at line 23 of file configurable.cpp.
-
-
|
- -protectedvirtual | -
Loads a configuration previously saved with save_configuration() and passes the configuration to set_configuration().
- -Definition at line 39 of file configurable.cpp.
-
-
|
- -virtual | -
Persists the configuration returned by get_configuration() to the local file system.
- -Definition at line 64 of file configurable.cpp.
-
-
|
- -virtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented in SKOutput< T >, CurveInterpolator, WSClient, OneWireTemperature, MovingAverage, VoltageDividerR2, ChangeFilter, Networking, Median, Frequency, AngleCorrection, Linear, SKOutputTime, Integrator, and Difference.
- -Definition at line 29 of file configurable.cpp.
-const String Configurable::config_path | -
Definition at line 29 of file configurable.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for CurveInterpolator, including all inherited members.
-addSample(const Sample &newSample) | CurveInterpolator | |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
clearSamples() | CurveInterpolator | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
CurveInterpolator(std::set< Sample > *defaults=NULL, String config_path="") | CurveInterpolator | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | CurveInterpolator | virtual |
get_configuration(JsonBuffer &buf) override | CurveInterpolator | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | CurveInterpolator | virtual |
set_input(float input, uint8_t inputChannel=0) override final | CurveInterpolator | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <curveinterpolator.h>
-Classes | |
class | Sample |
-Public Member Functions | |
CurveInterpolator (std::set< Sample > *defaults=NULL, String config_path="") | |
void | set_input (float input, uint8_t inputChannel=0) override final |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
void | clearSamples () |
void | addSample (const Sample &newSample) |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
CurveInterpolator uses a collection of input/output samples that approximate a non-linear curve. The output is the linear interpolation between the two sample points that the input falls between. It is used primarily for non-linear analog gauges such as temperature gauges and oil pressure gauges, which get their input from analog sensors that are variable resistors.
- -Definition at line 13 of file curveinterpolator.h.
-CurveInterpolator::CurveInterpolator | -( | -std::set< Sample > * | -defaults = NULL , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 16 of file curveinterpolator.cpp.
-void CurveInterpolator::addSample | -( | -const Sample & | -newSample | ) | -- |
Definition at line 131 of file curveinterpolator.cpp.
- -void CurveInterpolator::clearSamples | -( | -) | -- |
Definition at line 127 of file curveinterpolator.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 99 of file curveinterpolator.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 72 of file curveinterpolator.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 103 of file curveinterpolator.cpp.
- -
-
|
- -finaloverridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 32 of file curveinterpolator.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for DallasTemperatureSensors, including all inherited members.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Debounce, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) | Transform< T, T > | inline |
ValueConsumer::connectFrom(ValueProducer< T > *pProducer, uint8_t inputChannel=0) | ValueConsumer< T > | inline |
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
Debounce(int msMinDelay=200, String config_path="") | Debounce | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< T > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
lastTime | Debounce | protected |
load_configuration() | Configurable | protectedvirtual |
msMinDelay | Debounce | protected |
notify() | Observable | |
output | ValueProducer< T > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_input(bool newValue, uint8_t inputChannel=0) override | Debounce | virtual |
SymmetricTransform::set_input(T newValue, uint8_t inputChannel=0) | ValueConsumer< T > | inlinevirtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< T > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <debounce.h>
-Public Member Functions | |
Debounce (int msMinDelay=200, String config_path="") | |
virtual void | set_input (bool newValue, uint8_t inputChannel=0) override |
Public Member Functions inherited from SymmetricTransform< T > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< T > | |
virtual void | set_input (T newValue, uint8_t inputChannel=0) |
void | connectFrom (ValueProducer< T > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Protected Attributes | |
unsigned long | lastTime |
int | msMinDelay |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Debounce is a boolean passthrough transform that will only accept value changes that are sufficiently spaced apart to be passed on to the next consumer.
- -Definition at line 12 of file debounce.h.
-Debounce::Debounce | -( | -int | -msMinDelay = 200 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 3 of file debounce.cpp.
- -
-
|
- -overridevirtual | -
Definition at line 10 of file debounce.cpp.
-
-
|
- -protected | -
Definition at line 20 of file debounce.h.
- -
-
|
- -protected | -
Definition at line 21 of file debounce.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Difference, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Difference(float k1, float k2, String config_path="") | Difference | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Difference | virtual |
get_configuration(JsonBuffer &buf) override | Difference | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | Difference | virtual |
set_input(float input, uint8_t inputChannel) override | Difference | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <difference.h>
-Public Member Functions | |
Difference (float k1, float k2, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 7 of file difference.h.
-Difference::Difference | -( | -float | -k1, | -
- | - | float | -k2, | -
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 5 of file difference.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 41 of file difference.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 24 of file difference.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 45 of file difference.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 13 of file difference.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for DigitalInput, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for DigitalInputCounter, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< int > *pConsumer, uint8_t inputChannel=0) | ValueProducer< int > | inline |
connectTo(Transform< int, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< int > | inline |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
DigitalInputCounter(uint8_t pin, int pin_mode, int interrupt_type, uint read_delay, String config_path="") | DigitalInputCounter | |
enable() override final | DigitalInputCounter | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< int > | inlinevirtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< int > | protected |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< int > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for DigitalInputValue, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
DigitalInputValue(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInputValue | |
Enable(uint8_t priority=0) | Enable | |
enable() override final | DigitalInputValue | virtual |
enableAll() | Enable | static |
get() | ValueProducer< T > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< T > | protected |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< T > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <digital_input.h>
-Public Member Functions | |
DigitalInputValue (uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | |
virtual void | enable () override final |
Public Member Functions inherited from DigitalInput | |
DigitalInput (uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
-Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from DigitalInput | |
uint8_t | pin |
int | interrupt_type |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
Definition at line 19 of file digital_input.h.
-DigitalInputValue::DigitalInputValue | -( | -uint8_t | -pin, | -
- | - | int | -pin_mode, | -
- | - | int | -interrupt_type, | -
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 15 of file digital_input.cpp.
- -
-
|
- -finaloverridevirtual | -
Called during the initialization process. Override this method to add runtime initialization code to your class
- -Reimplemented from Enable.
- -Definition at line 23 of file digital_input.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Enable, including all inherited members.
-className | Enable | protected |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
operator<(const Enable &lhs, const Enable &rhs) | Enable | friend |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <enable.h>
-Public Member Functions | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
-Static Public Member Functions | |
static void | enableAll () |
-Protected Attributes | |
const char * | className = "Enable" |
-Friends | |
bool | operator< (const Enable &lhs, const Enable &rhs) |
Classes that implement "Enable" will have their enable() method called automatically at startup when the SensESP app itself is enabled. The optional priority allows for certain classes to be initialized first. The default priority is zero. A higher priority (i.e. greater than zero) will be enabled before a lower one (i.e. less than zero).
- - -Enable::Enable | -( | -uint8_t | -priority = 0 | ) | -- |
Definition at line 7 of file enable.cpp.
- -
-
|
- -inlinevirtual | -
Called during the initialization process. Override this method to add runtime initialization code to your class
- -Reimplemented in IPAddrDev, DigitalInputCounter, OneWireTemperature, Uptime, DigitalInputValue, FreeMem, DallasTemperatureSensors, Frequency, GPSInput, AnalogInput, Integrator, and SystemHz.
- - - -
-
|
- -static | -
Called by the SensESP framework to initialize all of the objects marked with this class. They will be initialized in priorty order. If you want to see see the name of each sensor and transport in the serial monitor as each one is enabled, add the following to your project's platformio.ini file:
-build_unflags = -fno-rtti
- -Definition at line 12 of file enable.cpp.
-
-
|
- -inlinevirtual | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -inline | -
-
|
- -protected | -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for FreeMem, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< uint32_t > *pConsumer, uint8_t inputChannel=0) | ValueProducer< uint32_t > | inline |
connectTo(Transform< uint32_t, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< uint32_t > | inline |
enable() override final | FreeMem | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
FreeMem() | FreeMem | inline |
get() | ValueProducer< uint32_t > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
get_value_name() | FreeMem | inline |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< uint32_t > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< uint32_t > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Frequency, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< int, float > | inline |
ValueConsumer< int >::connectFrom(ValueProducer< int > *pProducer, uint8_t inputChannel=0) | ValueConsumer< int > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
enable() override | Frequency | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
Frequency(float k=1, String config_path="") | Frequency | |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Frequency | virtual |
get_configuration(JsonBuffer &buf) override | Frequency | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | Frequency | virtual |
set_input(int input, uint8_t inputChannel=0) override | Frequency | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
Transform(String config_path="") | Transform< int, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <frequency.h>
-Public Member Functions | |
Frequency (float k=1, String config_path="") | |
virtual void | set_input (int input, uint8_t inputChannel=0) override |
virtual void | enable () override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from Transform< int, float > | |
Transform (String config_path="") | |
Transform< int, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< int > | |
void | connectFrom (ValueProducer< int > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 9 of file frequency.h.
-Frequency::Frequency | -( | -float | -k = 1 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 5 of file frequency.cpp.
- -
-
|
- -overridevirtual | -
Called during the initialization process. Override this method to add runtime initialization code to your class
- -Reimplemented from Enable.
- -Definition at line 11 of file frequency.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 39 of file frequency.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 24 of file frequency.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 43 of file frequency.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< int >.
- -Definition at line 15 of file frequency.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for GPSInput, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
enable() override final | GPSInput | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
GPSInput(Stream *rx_stream, String config_path="") | GPSInput | |
load_configuration() | Configurable | protectedvirtual |
nmea_data | GPSInput | |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <http.h>
-Public Member Functions | |
HTTPServer (std::function< void()> reset_device) | |
~HTTPServer () | |
void | enable () |
void | handle_not_found (AsyncWebServerRequest *request) |
void | handle_config (AsyncWebServerRequest *request) |
void | handle_device_reset (AsyncWebServerRequest *request) |
void | handle_device_restart (AsyncWebServerRequest *request) |
void | handle_info (AsyncWebServerRequest *request) |
HTTPServer::HTTPServer | -( | -std::function< void()> | -reset_device | ) | -- |
-
|
- -inline | -
-
|
- -inline | -
void HTTPServer::handle_config | -( | -AsyncWebServerRequest * | -request | ) | -- |
void HTTPServer::handle_device_reset | -( | -AsyncWebServerRequest * | -request | ) | -- |
void HTTPServer::handle_device_restart | -( | -AsyncWebServerRequest * | -request | ) | -- |
void HTTPServer::handle_info | -( | -AsyncWebServerRequest * | -request | ) | -- |
void HTTPServer::handle_not_found | -( | -AsyncWebServerRequest * | -request | ) | -- |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for IPAddrDev, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
enable() override final | IPAddrDev | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
get_value_name() | IPAddrDev | inline |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
IPAddrDev() | IPAddrDev | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
StringSensor(String config_path="") | StringSensor | |
ValueProducer() | ValueProducer< String > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for IntegerSensor, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< int > *pConsumer, uint8_t inputChannel=0) | ValueProducer< int > | inline |
connectTo(Transform< int, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< int > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< int > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
IntegerSensor(String config_path="") | IntegerSensor | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< int > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< int > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Integrator, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
enable() override final | Integrator | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Integrator | virtual |
get_configuration(JsonBuffer &buf) override final | Integrator | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
Integrator(float k=1, float value=0, String config_path="") | Integrator | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override final | Integrator | virtual |
set_input(float input, uint8_t inputChannel=0) override final | Integrator | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <integrator.h>
-Public Member Functions | |
Integrator (float k=1, float value=0, String config_path="") | |
virtual void | enable () override final |
virtual void | set_input (float input, uint8_t inputChannel=0) override final |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 7 of file integrator.h.
-Integrator::Integrator | -( | -float | -k = 1 , |
-
- | - | float | -value = 0 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 7 of file integrator.cpp.
- -
-
|
- -finaloverridevirtual | -
Called during the initialization process. Override this method to add runtime initialization code to your class
- -Reimplemented from Enable.
- -Definition at line 16 of file integrator.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 44 of file integrator.cpp.
- -
-
|
- -finaloverridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 29 of file integrator.cpp.
- -
-
|
- -finaloverridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 48 of file integrator.cpp.
- -
-
|
- -finaloverridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 23 of file integrator.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <led_blinker.h>
-Public Member Functions | |
void | set_wifi_connected () |
void | set_wifi_disconnected () |
void | set_server_connected () |
void | set_server_disconnected () |
void | flip () |
LedBlinker () | |
-Protected Member Functions | |
void | set_state (int new_state) |
Definition at line 6 of file led_blinker.h.
-LedBlinker::LedBlinker | -( | -) | -- |
Definition at line 11 of file led_blinker.cpp.
-void LedBlinker::flip | -( | -) | -- |
Definition at line 27 of file led_blinker.cpp.
-void LedBlinker::set_server_connected | -( | -) | -- |
Definition at line 48 of file led_blinker.cpp.
-
-
|
- -inline | -
Definition at line 17 of file led_blinker.h.
-
-
|
- -protected | -
Definition at line 22 of file led_blinker.cpp.
-void LedBlinker::set_wifi_connected | -( | -) | -- |
Definition at line 41 of file led_blinker.cpp.
-void LedBlinker::set_wifi_disconnected | -( | -) | -- |
Definition at line 31 of file led_blinker.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Linear, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Linear | virtual |
get_configuration(JsonBuffer &buf) override | Linear | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
Linear(float k, float c, String config_path="") | Linear | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | Linear | virtual |
set_input(float input, uint8_t inputChannel=0) override | Linear | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <linear.h>
-Public Member Functions | |
Linear (float k, float c, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Linear::Linear | -( | -float | -k, | -
- | - | float | -c, | -
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 5 of file linear.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 37 of file linear.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 20 of file linear.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 41 of file linear.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 14 of file linear.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Median, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | Median | virtual |
get_configuration(JsonBuffer &buf) override | Median | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
Median(unsigned int sampleSize=10, String config_path="") | Median | |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | Median | virtual |
set_input(float input, uint8_t inputChannel=0) override | Median | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <median.h>
-Public Member Functions | |
Median (unsigned int sampleSize=10, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Median collects a list of input values of size sampleSize and outputs the median value (i.e. element number sampleSize / 2 of a sorted sample list).
- - -Median::Median | -( | -unsigned int | -sampleSize = 10 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 4 of file median.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 40 of file median.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 27 of file median.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 45 of file median.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 13 of file median.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for MovingAverage, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | MovingAverage | virtual |
get_configuration(JsonBuffer &buf) override | MovingAverage | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
MovingAverage(int n, float k=1., String config_path="") | MovingAverage | |
notify() | Observable | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | MovingAverage | virtual |
set_input(float input, uint8_t inputChannel=0) override | MovingAverage | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <moving_average.h>
-Public Member Functions | |
MovingAverage (int n, float k=1., String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
MovingAverage is used to smooth the output of a value (signal) that has frequent variations. For example, the output of a temperature sensor may vary from 180 to 185 several times over a short period, but you just want to see the average of that. MovingAverage outputs the average of the most recent n values. It also incorporates a "scale" factor, in case you want to increase or decrease your final output by a fixed percentage.
- -Definition at line 18 of file moving_average.h.
-MovingAverage::MovingAverage | -( | -int | -n, | -
- | - | float | -k = 1. , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
n | is the number of most recent values you want to average for your output |
the | moving average will be multiplied by k before it is output - make it something other than 1. if you need to scale your output up or down by a fixed percentage |
Definition at line 5 of file moving_average.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 53 of file moving_average.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 37 of file moving_average.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 58 of file moving_average.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 15 of file moving_average.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <networking.h>
-Public Member Functions | |
Networking (String config_path) | |
void | setup (std::function< void(bool)> connection_cb) |
ObservableValue< String > * | get_hostname () |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
void | set_hostname (String hostname) |
void | reset_settings () |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
-Protected Member Functions | |
void | check_connection () |
void | setup_saved_ssid (std::function< void(bool)> connection_cb) |
void | setup_wifi_manager (std::function< void(bool)> connection_cb) |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
-Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Definition at line 13 of file networking.h.
-Networking::Networking | -( | -String | -config_path | ) | -- |
Definition at line 20 of file networking.cpp.
- -
-
|
- -protected | -
Definition at line 29 of file networking.cpp.
-
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 120 of file networking.cpp.
- -
-
|
- -finaloverridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 124 of file networking.cpp.
-ObservableValue< String > * Networking::get_hostname | -( | -) | -- |
Definition at line 102 of file networking.cpp.
-void Networking::reset_settings | -( | -) | -- |
Definition at line 143 of file networking.cpp.
-
-
|
- -finaloverridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 133 of file networking.cpp.
-void Networking::set_hostname | -( | -String | -hostname | ) | -- |
Definition at line 106 of file networking.cpp.
- -void Networking::setup | -( | -std::function< void(bool)> | -connection_cb | ) | -- |
Definition at line 37 of file networking.cpp.
-
-
|
- -protected | -
Definition at line 47 of file networking.cpp.
-
-
|
- -protected | -
Definition at line 66 of file networking.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for NumericSensor, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <observable.h>
-Public Member Functions | |
void | notify () |
void | attach (std::function< void()> observer) |
Definition at line 15 of file observable.h.
-void Observable::attach | -( | -std::function< void()> | -observer | ) | -- |
Definition at line 9 of file observable.cpp.
-void Observable::notify | -( | -) | -- |
Definition at line 3 of file observable.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <observablevalue.h>
-Public Member Functions | |
ObservableValue () | |
ObservableValue (const T &value) | |
void | set (const T &value) |
const T & | operator= (const T &value) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
Definition at line 12 of file observablevalue.h.
-
-
|
- -inline | -
Definition at line 14 of file observablevalue.h.
- -
-
|
- -inline | -
Definition at line 16 of file observablevalue.h.
- -
-
|
- -inline | -
Definition at line 25 of file observablevalue.h.
- -
-
|
- -inline | -
Definition at line 20 of file observablevalue.h.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for OneWireTemperature, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
enable() override final | OneWireTemperature | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | OneWireTemperature | virtual |
get_configuration(JsonBuffer &buf) override final | OneWireTemperature | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
OneWireTemperature(DallasTemperatureSensors *dts, String config_path="") | OneWireTemperature | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) override final | OneWireTemperature | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for SKOutput< T >, including all inherited members.
-as_signalK() override | SKOutput< T > | inlinevirtual |
as_signalK() | SKOutput< T > | virtual |
as_signalK() | SKOutput< T > | virtual |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) | Transform< T, T > | inline |
ValueConsumer::connectFrom(ValueProducer< T > *pProducer, uint8_t inputChannel=0) | ValueConsumer< T > | inline |
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< T > | inlinevirtual |
get_config_schema() override | SKOutput< T > | inlinevirtual |
get_configuration(JsonBuffer &buf) override | SKOutput< T > | inlinevirtual |
get_sk_path() | SKEmitter | inline |
get_sources() | SKEmitter | inlinestatic |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< T > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | SKOutput< T > | inlinevirtual |
set_input(T newValue, uint8_t inputChannel=0) override | SKOutput< T > | inlinevirtual |
set_sk_path(const String &path) | SKEmitter | inline |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
sk_path | SKEmitter | protected |
SKEmitter(String sk_path) | SKEmitter | |
SKOutput() | SKOutput< T > | inline |
SKOutput(String sk_path, String config_path="") | SKOutput< T > | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< T > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <signalk_output.h>
-Public Member Functions | |
SKOutput () | |
SKOutput (String sk_path, String config_path="") | |
virtual void | set_input (T newValue, uint8_t inputChannel=0) override |
virtual String | as_signalK () override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
String | get_config_schema () override |
virtual bool | set_configuration (const JsonObject &config) override |
template<> | |
String | as_signalK () |
template<> | |
String | as_signalK () |
Public Member Functions inherited from SKEmitter | |
SKEmitter (String sk_path) | |
String & | get_sk_path () |
void | set_sk_path (const String &path) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from SymmetricTransform< T > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< T > | |
void | connectFrom (ValueProducer< T > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
-Additional Inherited Members | |
Static Public Member Functions inherited from SKEmitter | |
static const std::vector< SKEmitter * > & | get_sources () |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from SKEmitter | |
String | sk_path |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
Definition at line 17 of file signalk_output.h.
-Definition at line 20 of file signalk_output.h.
- -
-
|
- -inline | -
Definition at line 22 of file signalk_output.h.
-Returns the data to be reported to the server as a SignalK json string.
- -Reimplemented from SKEmitter.
- -Definition at line 5 of file signalk_position.cpp.
- -Returns the data to be reported to the server as a SignalK json string.
- -Reimplemented from SKEmitter.
- -
-
|
- -inlineoverridevirtual | -
Returns the data to be reported to the server as a SignalK json string.
- -Reimplemented from SKEmitter.
- -Definition at line 35 of file signalk_output.h.
-
-
|
- -inlineoverridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 51 of file signalk_output.h.
- -
-
|
- -inlineoverridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 45 of file signalk_output.h.
-
-
|
- -inlineoverridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 55 of file signalk_output.h.
-
-
|
- -inlineoverridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< T >.
- -Definition at line 29 of file signalk_output.h.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for SKOutputTime, including all inherited members.
-as_signalK() override | SKOutputTime | virtual |
attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< String > *pProducer0, ValueProducer< String > *pProducer1=NULL, ValueProducer< String > *pProducer2=NULL, ValueProducer< String > *pProducer3=NULL, ValueProducer< String > *pProducer4=NULL) | Transform< time_t, String > | inline |
ValueConsumer< time_t >::connectFrom(ValueProducer< time_t > *pProducer, uint8_t inputChannel=0) | ValueConsumer< time_t > | inline |
connectTo(ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() override | SKOutputTime | virtual |
get_configuration(JsonBuffer &buf) override | SKOutputTime | virtual |
get_sk_path() | SKEmitter | inline |
get_sources() | SKEmitter | inlinestatic |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | SKOutputTime | virtual |
set_input(time_t input, uint8_t inputChannel=0) override | TimeString | virtual |
set_sk_path(const String &path) | SKEmitter | inline |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
sk_path | SKEmitter | protected |
SKEmitter(String sk_path) | SKEmitter | |
SKOutputTime(String sk_path, String config_path="") | SKOutputTime | |
TimeString(String config_path="") | TimeString | |
Transform(String config_path="") | Transform< time_t, String > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< String > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <signalk_time.h>
-Public Member Functions | |
SKOutputTime (String sk_path, String config_path="") | |
virtual String | as_signalK () override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from TimeString | |
TimeString (String config_path="") | |
virtual void | set_input (time_t input, uint8_t inputChannel=0) override |
Public Member Functions inherited from Transform< time_t, String > | |
Transform (String config_path="") | |
Transform< time_t, String > * | connectFrom (ValueProducer< String > *pProducer0, ValueProducer< String > *pProducer1=NULL, ValueProducer< String > *pProducer2=NULL, ValueProducer< String > *pProducer3=NULL, ValueProducer< String > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< time_t > | |
void | connectFrom (ValueProducer< time_t > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< String > | |
ValueProducer () | |
virtual const String & | get () |
void | connectTo (ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from SKEmitter | |
SKEmitter (String sk_path) | |
String & | get_sk_path () |
void | set_sk_path (const String &path) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Static Public Member Functions inherited from SKEmitter | |
static const std::vector< SKEmitter * > & | get_sources () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< String > | |
String | output |
Protected Attributes inherited from SKEmitter | |
String | sk_path |
Definition at line 7 of file signalk_time.h.
-SKOutputTime::SKOutputTime | -( | -String | -sk_path, | -
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 5 of file signalk_time.cpp.
-
-
|
- -overridevirtual | -
Returns the data to be reported to the server as a SignalK json string.
- -Reimplemented from SKEmitter.
- -Definition at line 12 of file signalk_time.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 37 of file signalk_time.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 22 of file signalk_time.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 41 of file signalk_time.cpp.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for SensESPApp, including all inherited members.
-connect(ValueProducer< T > *pProducer, ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | SensESPApp | inline |
connect_1to1_h(T *sensor, U *transform, ObservableValue< String > *hostname) | SensESPApp | inline |
enable() | SensESPApp | |
get_hostname() | SensESPApp | |
isSignalKConnected() | SensESPApp | inline |
isWifiConnected() | SensESPApp | inline |
reset() | SensESPApp | |
SensESPApp() | SensESPApp |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <sensesp_app.h>
-Public Member Functions | |
SensESPApp () | |
void | enable () |
void | reset () |
String | get_hostname () |
template<typename T > | |
void | connect (ValueProducer< T > *pProducer, ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T , typename U > | |
void | connect_1to1_h (T *sensor, U *transform, ObservableValue< String > *hostname) |
bool | isWifiConnected () |
bool | isSignalKConnected () |
Definition at line 18 of file sensesp_app.h.
-SensESPApp::SensESPApp | -( | -) | -- |
Definition at line 24 of file sensesp_app.cpp.
-
-
|
- -inline | -
Definition at line 27 of file sensesp_app.h.
-
-
|
- -inline | -
Definition at line 32 of file sensesp_app.h.
-void SensESPApp::enable | -( | -) | -- |
Definition at line 108 of file sensesp_app.cpp.
-String SensESPApp::get_hostname | -( | -) | -- |
Definition at line 169 of file sensesp_app.cpp.
-
-
|
- -inline | -
Returns true if the host system is connected to a SignalK server
- -Definition at line 59 of file sensesp_app.h.
-
-
|
- -inline | -
Returns true if the host system is connected to Wifi
- -Definition at line 51 of file sensesp_app.h.
- -void SensESPApp::reset | -( | -) | -- |
Definition at line 162 of file sensesp_app.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Sensor, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for StringSensor, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
StringSensor(String config_path="") | StringSensor | |
ValueProducer() | ValueProducer< String > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for SymmetricTransform< T >, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) | Transform< T, T > | inline |
ValueConsumer::connectFrom(ValueProducer< T > *pProducer, uint8_t inputChannel=0) | ValueConsumer< T > | inline |
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< T > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< T > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_input(T newValue, uint8_t inputChannel=0) | ValueConsumer< T > | inlinevirtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< T > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <transform.h>
-Public Member Functions | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *pProducer0, ValueProducer< T > *pProducer1=NULL, ValueProducer< T > *pProducer2=NULL, ValueProducer< T > *pProducer3=NULL, ValueProducer< T > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< T > | |
virtual void | set_input (T newValue, uint8_t inputChannel=0) |
void | connectFrom (ValueProducer< T > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
A SymmetricTransform is a common type of transform that consumes, transforms, then outputs values of the same data type.
- -Definition at line 104 of file transform.h.
-
-
|
- -inline | -
Definition at line 107 of file transform.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for SystemHz, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
enable() override final | SystemHz | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
get_value_name() | SystemHz | inline |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SystemHz() | SystemHz | inline |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for TimeString, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< String > *pProducer0, ValueProducer< String > *pProducer1=NULL, ValueProducer< String > *pProducer2=NULL, ValueProducer< String > *pProducer3=NULL, ValueProducer< String > *pProducer4=NULL) | Transform< time_t, String > | inline |
ValueConsumer< time_t >::connectFrom(ValueProducer< time_t > *pProducer, uint8_t inputChannel=0) | ValueConsumer< time_t > | inline |
connectTo(ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< String > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_input(time_t input, uint8_t inputChannel=0) override | TimeString | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
TimeString(String config_path="") | TimeString | |
Transform(String config_path="") | Transform< time_t, String > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< String > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <timestring.h>
-Public Member Functions | |
TimeString (String config_path="") | |
virtual void | set_input (time_t input, uint8_t inputChannel=0) override |
Public Member Functions inherited from Transform< time_t, String > | |
Transform (String config_path="") | |
Transform< time_t, String > * | connectFrom (ValueProducer< String > *pProducer0, ValueProducer< String > *pProducer1=NULL, ValueProducer< String > *pProducer2=NULL, ValueProducer< String > *pProducer3=NULL, ValueProducer< String > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< time_t > | |
void | connectFrom (ValueProducer< time_t > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< String > | |
ValueProducer () | |
virtual const String & | get () |
void | connectTo (ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< String > | |
String | output |
TimeString consumes a time_t time object and produces a human readable string of the time for UTC in ISO 8601 format.
- -Definition at line 13 of file timestring.h.
-TimeString::TimeString | -( | -String | -config_path = "" | ) | -- |
Definition at line 5 of file timestring.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< time_t >.
- -Definition at line 10 of file timestring.cpp.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Transform< C, P >, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< P > *pProducer0, ValueProducer< P > *pProducer1=NULL, ValueProducer< P > *pProducer2=NULL, ValueProducer< P > *pProducer3=NULL, ValueProducer< P > *pProducer4=NULL) | Transform< C, P > | inline |
ValueConsumer< C >::connectFrom(ValueProducer< C > *pProducer, uint8_t inputChannel=0) | ValueConsumer< C > | inline |
connectTo(ValueConsumer< P > *pConsumer, uint8_t inputChannel=0) | ValueProducer< P > | inline |
connectTo(Transform< P, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< P > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< P > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< P > | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_input(C newValue, uint8_t inputChannel=0) | ValueConsumer< C > | inlinevirtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
Transform(String config_path="") | Transform< C, P > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< P > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <valueproducer.h>
-Public Member Functions | |
Transform (String config_path="") | |
Transform< C, P > * | connectFrom (ValueProducer< P > *pProducer0, ValueProducer< P > *pProducer1=NULL, ValueProducer< P > *pProducer2=NULL, ValueProducer< P > *pProducer3=NULL, ValueProducer< P > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< C > | |
virtual void | set_input (C newValue, uint8_t inputChannel=0) |
void | connectFrom (ValueProducer< C > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< P > | |
ValueProducer () | |
virtual const P & | get () |
void | connectTo (ValueConsumer< P > *pConsumer, uint8_t inputChannel=0) |
Transform< P, T2 > * | connectTo (Transform< P, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< P > | |
P | output |
The main Transform class. A transform is identified primarily by the type of value that is produces (i.e. a Transform<float> is a ValueProducer<float> that generates float values)
- -Definition at line 10 of file valueproducer.h.
-
-
|
- -inline | -
Definition at line 56 of file transform.h.
- -
-
|
- -inline | -
A convenience method that allows up to five producers to be quickly connected to the input of the ValueConsumer side of this transform. The first producer will be connected to input channel zero, the second one to input channel 1, etc. "this" is returned, which allows the ValueProducer side of this transform to then be wired to other transforms via a call to connectTo().
- -Definition at line 73 of file transform.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for TransformBase, including all inherited members.
-className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
TransformBase(String config_path="") | TransformBase |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <transform.h>
-Public Member Functions | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
-Static Public Member Functions | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
-Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
The base class for all transforms. All transforms are can be subscribed to by calling attach() (inherited from Observable). They can have an optional persistence configuration by specifying an "id" to save the configuration data in.
- -Definition at line 28 of file transform.h.
-TransformBase::TransformBase | -( | -String | -config_path = "" | ) | -- |
Definition at line 11 of file transform.cpp.
- -
-
|
- -inlinestatic | -
Definition at line 37 of file transform.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for Uptime, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
enable() override final | Uptime | virtual |
Enable(uint8_t priority=0) | Enable | |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonBuffer &buf) | Configurable | virtual |
get_sensors() | Sensor | inlinestatic |
get_value_name() | Uptime | inline |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
Uptime() | Uptime | inline |
ValueProducer() | ValueProducer< float > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <valueconsumer.h>
-Public Member Functions | |
virtual void | set_input (T newValue, uint8_t inputChannel=0) |
void | connectFrom (ValueProducer< T > *pProducer, uint8_t inputChannel=0) |
A ValueConsumer is any piece of code (like a transformation) that accepts data for input. They can accept one or more input values via the set_input() method. They are connected to ValueProducers via the connectTo() method.
Definition at line 17 of file valueconsumer.h.
-
-
|
- -inline | -
Registers this consumer with the specified producer, letting it know that this consumer would like to receive notifications whenever its value changes.
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 39 of file valueconsumer.h.
-
-
|
- -inlinevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented in CurveInterpolator, MovingAverage, SKOutput< T >, VoltageDividerR2, ChangeFilter, Median, TimeString, Frequency, AngleCorrection, Linear, Integrator, and Difference.
- -Definition at line 28 of file valueconsumer.h.
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for ValueProducer< T >, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline |
get() | ValueProducer< T > | inlinevirtual |
notify() | Observable | |
output | ValueProducer< T > | protected |
ValueProducer() | ValueProducer< T > | inline |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <valueconsumer.h>
-Public Member Functions | |
ValueProducer () | |
virtual const T & | get () |
void | connectTo (ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Protected Attributes | |
T | output |
A ValueProducer<> is any sensor or piece of code that outputs a value for consumption elsewhere. They are Observable, allowing code to be notified whenever a new value is available. They can be connected directly to ValueConsumers of the same type using the connectTo() method.
- -Definition at line 7 of file valueconsumer.h.
-
-
|
- -inline | -
Definition at line 23 of file valueproducer.h.
- -
-
|
- -inline | -
Connects this producer to the specified consumer, registering that consumer for notifications to when this producer's value changes
inputChannel | Consumers can have one or more inputs feeding them This parameter allows you to specify which input number this producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 42 of file valueproducer.h.
-
-
|
- -inline | -
If the consumer this producer is connecting to is ALSO a producer of values of the same type, connectTo() calls can be chained together, as this specialized version returns the producer/consumer being conencted to so connectTo() can be called on THAT object.
inputChannel | Consumers can have one or more inputs feeding them This parameter allows you to specify which input number this producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 62 of file valueproducer.h.
- -
-
|
- -inlinevirtual | -
Returns the current value of this producer
- -Definition at line 29 of file valueproducer.h.
-
-
|
- -protected | -
The current value of this producer is stored here in this output member (unless descendant classes override ValueProducer::get())
- -Definition at line 74 of file valueproducer.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
This is the complete list of members for VoltageDividerR2, including all inherited members.
-attach(std::function< void()> observer) | Observable | |
className | Enable | protected |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connectFrom(ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) | Transform< float, float > | inline |
ValueConsumer< float >::connectFrom(ValueProducer< float > *pProducer, uint8_t inputChannel=0) | ValueConsumer< float > | inline |
connectTo(ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enableAll() | Enable | static |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | VoltageDividerR2 | virtual |
get_configuration(JsonBuffer &buf) override | VoltageDividerR2 | virtual |
get_transforms() | TransformBase | inlinestatic |
getClassName() | Enable | inlinevirtual |
getEnablePriority() | Enable | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< float > | protected |
R1 | VoltageDividerR2 | protected |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) override | VoltageDividerR2 | virtual |
set_input(float Vout, uint8_t ignored=0) override | VoltageDividerR2 | virtual |
setClassName(const char *newClassName) | Enable | inline |
setPriority(uint8_t priority) | Enable | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
TransformBase(String config_path="") | TransformBase | |
ValueProducer() | ValueProducer< float > | inline |
Vin | VoltageDividerR2 | protected |
VoltageDividerR2(float R1, float Vin=3.3, String config_path="") | VoltageDividerR2 |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <voltagedividerR2.h>
-Public Member Functions | |
VoltageDividerR2 (float R1, float Vin=3.3, String config_path="") | |
virtual void | set_input (float Vout, uint8_t ignored=0) override |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *pProducer0, ValueProducer< float > *pProducer1=NULL, ValueProducer< float > *pProducer2=NULL, ValueProducer< float > *pProducer3=NULL, ValueProducer< float > *pProducer4=NULL) |
Public Member Functions inherited from TransformBase | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
Public Member Functions inherited from ValueConsumer< float > | |
void | connectFrom (ValueProducer< float > *pProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
-Protected Attributes | |
float | R1 |
float | Vin |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
-Additional Inherited Members | |
Static Public Member Functions inherited from TransformBase | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
A transform that uses the voltage divider formula to resolve the resistance of R2 in the circuit, given a fixed voltage sent into the divider (Vin), a known resistance an the junction of the two resistors (R1), and the output of the divider (Vout). This is the typical way a sensor such as a temperature sender or oil pressure sender is wired up: the sender's resistance varies based on temperature or pressure, so it is usually "R2" in a voltage divider. R1 and/or Vin is selected in such a way to ensure Vout (the value read by the MCU's analog input) does not exceed 3.3 volts.
- -Definition at line 17 of file voltagedividerR2.h.
-VoltageDividerR2::VoltageDividerR2 | -( | -float | -R1, | -
- | - | float | -Vin = 3.3 , |
-
- | - | String | -config_path = "" |
-
- | ) | -- |
Definition at line 3 of file voltagedividerR2.cpp.
- -
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 29 of file voltagedividerR2.cpp.
- -
-
|
- -overridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 14 of file voltagedividerR2.cpp.
- -
-
|
- -overridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 33 of file voltagedividerR2.cpp.
- -
-
|
- -overridevirtual | -
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
newValue | the value of the input |
inputChannel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Reimplemented from ValueConsumer< float >.
- -Definition at line 8 of file voltagedividerR2.cpp.
-
-
|
- -protected | -
Definition at line 30 of file voltagedividerR2.h.
- -
-
|
- -protected | -
Definition at line 31 of file voltagedividerR2.h.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <ws_client.h>
-Public Member Functions | |
WSClient (String config_path, SKDelta *sk_delta, std::function< void(bool)> connected_cb, void_cb_func delta_cb) | |
void | enable () |
void | on_disconnected () |
void | on_error () |
void | on_connected (uint8_t *payload) |
void | on_receive_delta (uint8_t *payload) |
void | connect () |
void | loop () |
bool | is_connected () |
void | restart () |
void | send_delta () |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
-Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Definition at line 16 of file ws_client.h.
-WSClient::WSClient | -( | -String | -config_path, | -
- | - | SKDelta * | -sk_delta, | -
- | - | std::function< void(bool)> | -connected_cb, | -
- | - | void_cb_func | -delta_cb | -
- | ) | -- |
Definition at line 41 of file ws_client.cpp.
- -void WSClient::connect | -( | -) | -- |
Definition at line 111 of file ws_client.cpp.
-void WSClient::enable | -( | -) | -- |
Definition at line 54 of file ws_client.cpp.
-
-
|
- -overridevirtual | -
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
- -Definition at line 364 of file ws_client.cpp.
- -
-
|
- -finaloverridevirtual | -
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
- -Reimplemented from Configurable.
- -Definition at line 343 of file ws_client.cpp.
- -bool WSClient::is_connected | -( | -) | -- |
Definition at line 321 of file ws_client.cpp.
-void WSClient::loop | -( | -) | -- |
Definition at line 317 of file ws_client.cpp.
-void WSClient::on_connected | -( | -uint8_t * | -payload | ) | -- |
Definition at line 87 of file ws_client.cpp.
-void WSClient::on_disconnected | -( | -) | -- |
Definition at line 67 of file ws_client.cpp.
-void WSClient::on_error | -( | -) | -- |
Definition at line 81 of file ws_client.cpp.
-void WSClient::on_receive_delta | -( | -uint8_t * | -payload | ) | -- |
Definition at line 93 of file ws_client.cpp.
-void WSClient::restart | -( | -) | -- |
Definition at line 325 of file ws_client.cpp.
- -void WSClient::send_delta | -( | -) | -- |
Definition at line 332 of file ws_client.cpp.
-
-
|
- -finaloverridevirtual | -
Sets the current state of local member variables using the data stored in config.
- -Reimplemented from Configurable.
- -Definition at line 369 of file ws_client.cpp.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <map>
#include "Arduino.h"
#include <ArduinoJson.h>
Go to the source code of this file.
--Classes | |
class | Configurable |
-Variables | |
std::map< String, Configurable * > | configurables |
std::map<String, Configurable*> configurables | -
Definition at line 10 of file configurable.cpp.
- -
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transforms/transform.h"
Go to the source code of this file.
--Classes | |
class | CurveInterpolator |
class | CurveInterpolator::Sample |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "debounce.h"
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transforms/transform.h"
Go to the source code of this file.
--Classes | |
class | Debounce |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "difference.h"
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transform.h"
Go to the source code of this file.
--Classes | |
class | Difference |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "sensor.h"
Go to the source code of this file.
--Classes | |
class | DigitalInput |
class | DigitalInputValue |
class | DigitalInputCounter |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
File in src/sensors | Includes file in src/system |
---|---|
gps.h | nmea_parser.h |
sensor.h | configurable.h |
sensor.h | enable.h |
sensor.h | observable.h |
sensor.h | valueproducer.h |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
-Directories | |
directory | net |
directory | sensors |
directory | signalk |
directory | system |
directory | transforms |
-Files | |
file | sensesp.h [code] |
file | sensesp_app.cpp [code] |
file | sensesp_app.h [code] |
file | wiring_helpers.cpp [code] |
file | wiring_helpers.h [code] |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
-Files | |
file | analog_input.cpp [code] |
file | analog_input.h [code] |
file | digital_input.cpp [code] |
file | digital_input.h [code] |
file | gps.cpp [code] |
file | gps.h [code] |
file | onewire_temperature.cpp [code] |
file | onewire_temperature.h [code] |
file | sensor.cpp [code] |
file | sensor.h [code] |
file | system_info.cpp [code] |
file | system_info.h [code] |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
-Files | |
file | signalk_delta.cpp [code] |
file | signalk_delta.h [code] |
file | signalk_emitter.cpp [code] |
file | signalk_emitter.h [code] |
file | signalk_output.h [code] |
file | signalk_position.cpp [code] |
file | signalk_position.h [code] |
file | signalk_time.cpp [code] |
file | signalk_time.h [code] |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
-Files | |
file | analogvoltage.h [code] |
file | angle_correction.cpp [code] |
file | angle_correction.h [code] |
file | change_filter.cpp [code] |
file | change_filter.h [code] |
file | curveinterpolator.cpp [code] |
file | curveinterpolator.h [code] |
file | debounce.cpp [code] |
file | debounce.h [code] |
file | difference.cpp [code] |
file | difference.h [code] |
file | frequency.cpp [code] |
file | frequency.h [code] |
file | integrator.cpp [code] |
file | integrator.h [code] |
file | linear.cpp [code] |
file | linear.h [code] |
file | median.cpp [code] |
file | median.h [code] |
file | moving_average.cpp [code] |
file | moving_average.h [code] |
file | timestring.cpp [code] |
file | timestring.h [code] |
file | transform.cpp [code] |
file | transform.h [code] |
file | voltagedividerR2.cpp [code] |
file | voltagedividerR2.h [code] |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include <queue>
#include <stdint.h>
Go to the source code of this file.
--Classes | |
class | Enable |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
▼ src | |
▼ net | |
▼ web | |
index.h | |
js_jsoneditor.h | |
js_sensesp.h | |
setup.h | |
discovery.cpp | |
discovery.h | |
http.cpp | |
http.h | |
networking.cpp | |
networking.h | |
ota.cpp | |
ota.h | |
ws_client.cpp | |
ws_client.h | |
▼ sensors | |
analog_input.cpp | |
analog_input.h | |
digital_input.cpp | |
digital_input.h | |
gps.cpp | |
gps.h | |
onewire_temperature.cpp | |
onewire_temperature.h | |
sensor.cpp | |
sensor.h | |
system_info.cpp | |
system_info.h | |
▼ signalk | |
signalk_delta.cpp | |
signalk_delta.h | |
signalk_emitter.cpp | |
signalk_emitter.h | |
signalk_output.h | |
signalk_position.cpp | |
signalk_position.h | |
signalk_time.cpp | |
signalk_time.h | |
▼ system | |
configurable.cpp | |
configurable.h | |
enable.cpp | |
enable.h | |
led_blinker.cpp | |
led_blinker.h | |
nmea_parser.cpp | |
nmea_parser.h | |
observable.cpp | |
observable.h | |
observablevalue.h | |
spiffs_storage.cpp | |
spiffs_storage.h | |
valueconsumer.h | |
valueproducer.h | |
▼ transforms | |
analogvoltage.h | |
angle_correction.cpp | |
angle_correction.h | |
change_filter.cpp | |
change_filter.h | |
curveinterpolator.cpp | |
curveinterpolator.h | |
debounce.cpp | |
debounce.h | |
difference.cpp | |
difference.h | |
frequency.cpp | |
frequency.h | |
integrator.cpp | |
integrator.h | |
linear.cpp | |
linear.h | |
median.cpp | |
median.h | |
moving_average.cpp | |
moving_average.h | |
timestring.cpp | |
timestring.h | |
transform.cpp | |
transform.h | |
voltagedividerR2.cpp | |
voltagedividerR2.h | |
sensesp.h | |
sensesp_app.cpp | |
sensesp_app.h | |
wiring_helpers.cpp | |
wiring_helpers.h |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "frequency.h"
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
#include "transform.h"
Go to the source code of this file.
--Classes | |
class | Frequency |
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
- SensESP
- 0.4.3
-
- Universal Signal K sensor framework for ESP8266 and ESP32
- |
-
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | ADS1x15< T_Ada_1x15 > |
class | ADS1x15Value< T_ads_1x15 > |
+Typedefs | |
typedef ADS1x15< Adafruit_ADS1015 > | ADS1015 |
typedef ADS1x15< Adafruit_ADS1115 > | ADS1115 |
typedef ADS1x15Value< ADS1015 > | ADS1015Value |
typedef ADS1x15Value< ADS1115 > | ADS1115Value |
typedef ADS1015Value | ADS1015value |
typedef ADS1115Value | ADS1115value |
typedef ADS1x15Value<ADS1015> ADS1015Value | +
typedef ADS1015Value ADS1015value | +
typedef ADS1x15Value<ADS1115> ADS1115Value | +
typedef ADS1115Value ADS1115value | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "ads1x15_voltage.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | ADS1x15Voltage |
+Enumerations | |
enum | ADS1x15CHIP_t { ADS1015chip, +ADS1115chip + } |
enum ADS1x15CHIP_t | +
Enumerator | |
---|---|
ADS1015chip | |
ADS1115chip |
Definition at line 13 of file ads1x15_voltage.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | AnalogInput |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | BaseAnalogReader |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "analogvoltage.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transform.h"
Go to the source code of this file.
++Classes | |
class | AnalogVoltage |
+Macros | |
#define | MAX_ANALOG_OUTPUT 1024 |
#define MAX_ANALOG_OUTPUT 1024 | +
Definition at line 9 of file analogvoltage.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "angle_correction.h"
Go to the source code of this file.
++Macros | |
#define | M_PI 3.14159265358979323846 |
#define M_PI 3.14159265358979323846 | +
Definition at line 3 of file angle_correction.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transform.h"
Go to the source code of this file.
++Classes | |
class | AngleCorrection |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
CADS1x15 | |
CADS1x15Value | |
CADS1x15Voltage | |
CAnalogInput | |
CAnalogVoltage | |
CAngleCorrection | |
CBaseAnalogReader | |
CBME280 | |
CBME280Value | |
CBMP280 | |
CBMP280Value | |
CChangeFilter | |
CConfigurable | |
▼CCurveInterpolator | |
CSample | |
CDallasTemperatureSensors | |
CDebounce | |
CDifference | |
CDigitalInput | |
CDigitalInputCounter | |
CDigitalInputValue | |
CDigitalOutput | |
CEnable | |
CENUVector | |
CFreeMem | |
CFrequency | |
CGPGGASentenceParser | |
CGPGLLSentenceParser | |
CGPRMCSentenceParser | |
CGPSInput | |
CHTTPServer | |
CHysteresis | Hysteresis function |
CINA219 | |
CINA219Value | |
CIntegerSensor | |
CIntegerThreshold | |
CIntegrator | |
CIPAddrDev | |
CLambdaTransform | Construct a new transform based on a single function |
CLedBlinker | |
CLinear | |
CMAX31856Thermocouple | |
CMedian | |
CMovingAverage | |
CNetworking | |
CNMEAData | |
CNMEAParser | |
CNumericSensor | |
CNumericThreshold | |
CObservable | |
CObservableValue | |
COneWireTemperature | |
COrientation9DOF | |
CParamInfo | |
CPosition | |
CPSTI030SentenceParser | |
CPSTI032SentenceParser | |
CPSTISentenceParser | |
CRead9DOF | |
CSensESPApp | |
CSensESPAppBuilder | |
CSensor | |
CSensorNXP_FXOS8700_FXAS21002 | |
CSentenceParser | |
CSHT31 | |
CSHT31Value | |
CSKDelta | |
CSKEmitter | |
CSKListener | |
CSKOutput | |
CSKOutputTime | |
CSKValueListener | |
CStringSensor | |
CSymmetricTransform | |
CSystemHz | |
CThresholdTransform | |
CTimeString | |
CTransform | |
CTransformBase | |
CUltrasonicDistance | |
CUptime | |
CValueConsumer | |
CValueProducer | |
CVoltageDividerR1 | |
CVoltageDividerR2 | |
CVoltageMultiplier | |
CWifiSignal | |
CWSClient |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | BME280 |
class | BME280Value |
+Typedefs | |
typedef BME280Value | BME280value |
+Enumerations | |
enum | BME280ValType { temperature, +pressure, +humidity + } |
typedef BME280Value BME280value | +
enum BME280ValType | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | BMP280 |
class | BMP280Value |
+Typedefs | |
typedef BMP280Value | BMP280value |
+Enumerations | |
enum | BMP280ValType { temperature, +pressure + } |
typedef BMP280Value BMP280value | +
enum BMP280ValType | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "change_filter.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transforms/transform.h"
Go to the source code of this file.
++Classes | |
class | ChangeFilter |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ADS1x15< T_Ada_1x15 >, including all inherited members.
+ads | ADS1x15< T_Ada_1x15 > | |
ADS1x15(uint8_t addr=0x48, adsGain_t gain=GAIN_TWOTHIRDS, String config_path="") | ADS1x15< T_Ada_1x15 > | |
attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() override final | ADS1x15< T_Ada_1x15 > | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ads1x15.h>
+Public Member Functions | |
ADS1x15 (uint8_t addr=0x48, adsGain_t gain=GAIN_TWOTHIRDS, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Public Attributes | |
T_Ada_1x15 * | ads |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
ADS1x15< T_Ada_1x15 >::ADS1x15 | +( | +uint8_t | +addr = 0x48 , |
+
+ | + | adsGain_t | +gain = GAIN_TWOTHIRDS , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 6 of file ads1x15.cpp.
+ +
+
|
+ +inlinefinaloverridevirtual | +
T_Ada_1x15* ADS1x15< T_Ada_1x15 >::ads | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ADS1x15Value< T_ads_1x15 >, including all inherited members.
+ADS1x15Value(T_ads_1x15 *ads1x15, uint8_t channel=0, uint read_delay=200, String config_path="") | ADS1x15Value< T_ads_1x15 > | |
attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | ADS1x15Value< T_ads_1x15 > | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ads1x15.h>
+Public Member Functions | |
ADS1x15Value (T_ads_1x15 *ads1x15, uint8_t channel=0, uint read_delay=200, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
ADS1x15Value< T_ads_1x15 >::ADS1x15Value | +( | +T_ads_1x15 * | +ads1x15, | +
+ | + | uint8_t | +channel = 0 , |
+
+ | + | uint | +read_delay = 200 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 18 of file ads1x15.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 28 of file ads1x15.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ADS1x15Voltage, including all inherited members.
+ADS1x15Voltage(ADS1x15CHIP_t chip=ADS1115chip, adsGain_t gain=GAIN_TWOTHIRDS) | ADS1x15Voltage | |
chip | ADS1x15Voltage | protected |
connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
gain | ADS1x15Voltage | protected |
set_input(float input, uint8_t input_channel=0) override | ADS1x15Voltage | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ads1x15_voltage.h>
+Public Member Functions | |
ADS1x15Voltage (ADS1x15CHIP_t chip=ADS1115chip, adsGain_t gain=GAIN_TWOTHIRDS) | |
virtual void | set_input (float input, uint8_t input_channel=0) override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
+Protected Attributes | |
ADS1x15CHIP_t | chip |
adsGain_t | gain |
A transform that takes the output from an ADS1015 or ADS1115 analog-to-digital converter (ADC) as input, and converts the value to the original voltage sensed by the ADC. There are two parameters:
+GAIN_TWOTHIRDS = +/-6.144V range + GAIN_ONE = +/-4.096V range + GAIN_TWO = +/-2.048V range + GAIN_FOUR = +/-1.024V range + GAIN_EIGHT = +/-0.512V range + GAIN_SIXTEEN = +/-0.256V range +
It's up to you to set the proper chip and gain to match what you've set in ADS1015() or ADS1115() - they are not automatically detected.
+ +Definition at line 39 of file ads1x15_voltage.h.
+ADS1x15Voltage::ADS1x15Voltage | +( | +ADS1x15CHIP_t | +chip = ADS1115chip , |
+
+ | + | adsGain_t | +gain = GAIN_TWOTHIRDS |
+
+ | ) | ++ |
Definition at line 3 of file ads1x15_voltage.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 6 of file ads1x15_voltage.cpp.
+ +
+
|
+ +protected | +
Definition at line 47 of file ads1x15_voltage.h.
+ +
+
|
+ +protected | +
Definition at line 48 of file ads1x15_voltage.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for AnalogInput, including all inherited members.
+AnalogInput(uint8_t pin=A0, uint read_delay=200, String config_path="", float output_scale=1024.) | AnalogInput | |
attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | AnalogInput | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <analog_input.h>
+Public Member Functions | |
AnalogInput (uint8_t pin=A0, uint read_delay=200, String config_path="", float output_scale=1024.) | |
Sensor for reading the MCU analog input pins. More... | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 7 of file analog_input.h.
+AnalogInput::AnalogInput | +( | +uint8_t | +pin = A0 , |
+
+ | + | uint | +read_delay = 200 , |
+
+ | + | String | +config_path = "" , |
+
+ | + | float | +output_scale = 1024. |
+
+ | ) | ++ |
Sensor for reading the MCU analog input pins.
+Read an analog input pin and return the result scaled onto a given range. Note that the ADCs in both ESP8266 and ESP32 are quite unlinear and noisy and unlikely to give very accurate results.
+[in] | pin | The GPIO pin to read. On ESP8266, always A0. On ESP32, at the moment only ADC channel 1 (pins 32..39) is supported. |
[in] | read_delay | Time delay between consecutive readings, in ms |
[in] | config_path | Configuration path for the sensor |
[in] | output_scale | The maximum scale of the output |
Definition at line 6 of file analog_input.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 21 of file analog_input.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for AnalogVoltage, including all inherited members.
+AnalogVoltage(float max_voltage=3.3, float multiplier=1.0, float offset=0.0, String config_path="") | AnalogVoltage | |
connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | AnalogVoltage | virtual |
get_configuration(JsonObject &doc) override | AnalogVoltage | virtual |
set_configuration(const JsonObject &config) override | AnalogVoltage | virtual |
set_input(float input, uint8_t inputChannel=0) override | AnalogVoltage | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <analogvoltage.h>
+Public Member Functions | |
AnalogVoltage (float max_voltage=3.3, float multiplier=1.0, float offset=0.0, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
AnalogVoltage is a transform that takes the output of the built-in analog-to-digital converter on the ESP and outputs the voltage that went into it. It can also be used like the Linear transport since it has a multiplier and an offset. max_voltage is the maximum voltage allowable on the Analog Input pin of the microcontroller, which is 3.3V on most ESP's, but only 1.0V on some.
+ +Definition at line 21 of file analogvoltage.h.
+AnalogVoltage::AnalogVoltage | +( | +float | +max_voltage = 3.3 , |
+
+ | + | float | +multiplier = 1.0 , |
+
+ | + | float | +offset = 0.0 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 3 of file analogvoltage.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 34 of file analogvoltage.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 17 of file analogvoltage.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 36 of file analogvoltage.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 12 of file analogvoltage.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for AngleCorrection, including all inherited members.
+AngleCorrection(float offset, float min_angle=0, String config_path="") | AngleCorrection | |
connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | AngleCorrection | virtual |
get_configuration(JsonObject &doc) override | AngleCorrection | virtual |
set_configuration(const JsonObject &config) override | AngleCorrection | virtual |
set_input(float input, uint8_t inputChannel=0) override | AngleCorrection | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <angle_correction.h>
+Public Member Functions | |
AngleCorrection (float offset, float min_angle=0, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Definition at line 9 of file angle_correction.h.
+AngleCorrection::AngleCorrection | +( | +float | +offset, | +
+ | + | float | +min_angle = 0 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 5 of file angle_correction.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 40 of file angle_correction.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 25 of file angle_correction.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 42 of file angle_correction.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 11 of file angle_correction.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for BME280, including all inherited members.
+adafruit_bme280 | BME280 | |
attach(std::function< void()> observer) | Observable | |
BME280(uint8_t addr=0x77, String config_path="") | BME280 | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <bme280.h>
+Public Member Functions | |
BME280 (uint8_t addr=0x77, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Public Attributes | |
Adafruit_BME280 * | adafruit_bme280 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
BME280::BME280 | +( | +uint8_t | +addr = 0x77 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 9 of file bme280.cpp.
+ +Adafruit_BME280* BME280::adafruit_bme280 | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for BME280Value, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
bme280 | BME280Value | |
BME280Value(BME280 *bme280, BME280ValType val_type, uint read_delay=500, String config_path="") | BME280Value | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | BME280Value | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <bme280.h>
+Public Member Functions | |
BME280Value (BME280 *bme280, BME280ValType val_type, uint read_delay=500, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
BME280 * | bme280 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
BME280Value::BME280Value | +( | +BME280 * | +bme280, | +
+ | + | BME280ValType | +val_type, | +
+ | + | uint | +read_delay = 500 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 31 of file bme280.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 43 of file bme280.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for BMP280, including all inherited members.
+adafruit_bmp280 | BMP280 | |
attach(std::function< void()> observer) | Observable | |
BMP280(uint8_t addr=0x77, String config_path="") | BMP280 | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <bmp280.h>
+Public Member Functions | |
BMP280 (uint8_t addr=0x77, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Public Attributes | |
Adafruit_BMP280 * | adafruit_bmp280 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
BMP280::BMP280 | +( | +uint8_t | +addr = 0x77 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 9 of file bmp280.cpp.
+ +Adafruit_BMP280* BMP280::adafruit_bmp280 | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for BMP280Value, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
bmp280 | BMP280Value | |
BMP280Value(BMP280 *bmp280, BMP280ValType val_type, uint read_delay=500, String config_path="") | BMP280Value | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | BMP280Value | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <bmp280.h>
+Public Member Functions | |
BMP280Value (BMP280 *bmp280, BMP280ValType val_type, uint read_delay=500, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
BMP280 * | bmp280 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
BMP280Value::BMP280Value | +( | +BMP280 * | +bmp280, | +
+ | + | BMP280ValType | +val_type, | +
+ | + | uint | +read_delay = 500 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 19 of file bmp280.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 30 of file bmp280.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for BaseAnalogReader, including all inherited members.
+configure()=0 | BaseAnalogReader | pure virtual |
read()=0 | BaseAnalogReader | pure virtual |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <analog_reader.h>
+Public Member Functions | |
virtual bool | configure ()=0 |
virtual float | read ()=0 |
Definition at line 10 of file analog_reader.h.
+
+
|
+ +pure virtual | +
+
|
+ +pure virtual | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ChangeFilter, including all inherited members.
+ChangeFilter(float min_delta=0.0, float max_delta=9999.0, int max_skips=99, String config_path="") | ChangeFilter | |
connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | ChangeFilter | virtual |
get_configuration(JsonObject &doc) override | ChangeFilter | virtual |
max_delta | ChangeFilter | protected |
max_skips | ChangeFilter | protected |
min_delta | ChangeFilter | protected |
set_configuration(const JsonObject &config) override | ChangeFilter | virtual |
set_input(float new_value, uint8_t input_channel=0) override | ChangeFilter | virtual |
skips | ChangeFilter | protected |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <change_filter.h>
+Public Member Functions | |
ChangeFilter (float min_delta=0.0, float max_delta=9999.0, int max_skips=99, String config_path="") | |
virtual void | set_input (float new_value, uint8_t input_channel=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
+Protected Attributes | |
float | min_delta |
float | max_delta |
int | max_skips |
int | skips |
ChangeFilter is a numeric passthrough transform that will only pass that value through if it is "sufficiently different" from the last value passed through. More specifically, the absolute value of the difference between the new value and the last passed value has to be greater than or equal to the specified min_delta, and less than or equal to the specified max_delta. If the consecutive skip count ever reaches max_skips, the value will be let through regardless.
+ +Definition at line 16 of file change_filter.h.
+ChangeFilter::ChangeFilter | +( | +float | +min_delta = 0.0 , |
+
+ | + | float | +max_delta = 9999.0 , |
+
+ | + | int | +max_skips = 99 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 11 of file change_filter.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 47 of file change_filter.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 32 of file change_filter.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 49 of file change_filter.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 21 of file change_filter.cpp.
+ +
+
|
+ +protected | +
Definition at line 28 of file change_filter.h.
+ +
+
|
+ +protected | +
Definition at line 29 of file change_filter.h.
+ +
+
|
+ +protected | +
Definition at line 27 of file change_filter.h.
+ +
+
|
+ +protected | +
Definition at line 30 of file change_filter.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <configurable.h>
+Public Member Functions | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
+Public Attributes | |
const String | config_path |
+Protected Member Functions | |
virtual void | load_configuration () |
A Configurable is any object that is capable of having configuration data that can be set remotely using a RESTful API, and can be persisted to the local file system.
+ +Definition at line 15 of file configurable.h.
+Configurable::Configurable | +( | +String | +config_path = "" | ) | ++ |
Create a configurable object who's configuration is saved using the specified config_path.
+config_path | The partial path used for the URL when configuring this object remotely with a browser. The config_path also represents the path to the local file where the configuration data is persisted. Given this, be sure to chose a path that is both valid for URLs as well as file names. A configuration path should always start with a forward slash. Leaving the config_path blank indicates that this object does not need or want configuration data support. |
Definition at line 16 of file configurable.cpp.
+ +
+
|
+ +virtual | +
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented in OneWireTemperature, WSClient, and Networking.
+ +Definition at line 36 of file configurable.cpp.
+
+
|
+ +virtual | +
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonDocument::as<JsonObject>() and returned.
+ +Reimplemented in OneWireTemperature, WSClient, and Networking.
+ +Definition at line 26 of file configurable.cpp.
+
+
|
+ +protectedvirtual | +
Loads a configuration previously saved with save_configuration() and passes the configuration to set_configuration().
+ +Definition at line 38 of file configurable.cpp.
+
+
|
+ +virtual | +
Persists the configuration returned by get_configuration() to the local file system.
+ +Definition at line 66 of file configurable.cpp.
+
+
|
+ +virtual | +
Sets the current state of local member variables using the data stored in config.
+ +Reimplemented in OneWireTemperature, WSClient, and Networking.
+ +Definition at line 31 of file configurable.cpp.
+const String Configurable::config_path | +
Definition at line 31 of file configurable.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for CurveInterpolator, including all inherited members.
+add_sample(const Sample &new_sample) | CurveInterpolator | |
addSample(const Sample &new_sample) | CurveInterpolator | inline |
clear_samples() | CurveInterpolator | |
clearSamples() | CurveInterpolator | inline |
connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
CurveInterpolator(std::set< Sample > *defaults=NULL, String config_path="") | CurveInterpolator | |
get_config_schema() override | CurveInterpolator | virtual |
get_configuration(JsonObject &doc) override | CurveInterpolator | virtual |
set_configuration(const JsonObject &config) override | CurveInterpolator | virtual |
set_input(float input, uint8_t input_channel=0) override final | CurveInterpolator | |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <curveinterpolator.h>
+Classes | |
class | Sample |
+Public Member Functions | |
CurveInterpolator (std::set< Sample > *defaults=NULL, String config_path="") | |
void | set_input (float input, uint8_t input_channel=0) override final |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
void | clear_samples () |
void | clearSamples () |
void | add_sample (const Sample &new_sample) |
void | addSample (const Sample &new_sample) |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
CurveInterpolator uses a collection of input/output samples that approximate a non-linear curve. The output is the linear interpolation between the two sample points that the input falls between. It is used primarily for non-linear analog gauges such as temperature gauges and oil pressure gauges, which get their input from analog sensors that are variable resistors.
+ +Definition at line 14 of file curveinterpolator.h.
+CurveInterpolator::CurveInterpolator | +( | +std::set< Sample > * | +defaults = NULL , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 13 of file curveinterpolator.cpp.
+ +void CurveInterpolator::add_sample | +( | +const Sample & | +new_sample | ) | ++ |
Definition at line 114 of file curveinterpolator.cpp.
+
+
|
+ +inline | +
Definition at line 52 of file curveinterpolator.h.
+void CurveInterpolator::clear_samples | +( | +) | ++ |
Definition at line 112 of file curveinterpolator.cpp.
+
+
|
+ +inline | +
Definition at line 45 of file curveinterpolator.h.
+
+
|
+ +overridevirtual | +
Definition at line 85 of file curveinterpolator.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 61 of file curveinterpolator.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 87 of file curveinterpolator.cpp.
+ +
+
|
+ +finaloverride | +
Definition at line 25 of file curveinterpolator.cpp.
+ +Definition at line 8 of file curveinterpolator.cpp.
+Definition at line 7 of file curveinterpolator.cpp.
Definition at line 11 of file curveinterpolator.cpp.
+Definition at line 10 of file curveinterpolator.cpp.
@@ -275,9 +271,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for DallasTemperatureSensors, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
DallasTemperatureSensors(int pin, String config_path="") | DallasTemperatureSensors | |
enable() override final | DallasTemperatureSensors | inlinevirtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_next_address(OWDevAddr *addr) | DallasTemperatureSensors | |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
register_address(const OWDevAddr &addr) | DallasTemperatureSensors | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
sensors | DallasTemperatureSensors | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Attributes | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Definition at line 34 of file onewire_temperature.cpp.
+Definition at line 31 of file onewire_temperature.cpp.
Definition at line 83 of file onewire_temperature.cpp.
+Definition at line 80 of file onewire_temperature.cpp.
Definition at line 67 of file onewire_temperature.cpp.
+Definition at line 64 of file onewire_temperature.cpp.
@@ -315,9 +306,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Debounce, including all inherited members.
+connectFrom(ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) | Transform< T, T > | inline |
Debounce(int ms_min_delay=200, String config_path="") | Debounce | |
last_time | Debounce | protected |
ms_min_delay | Debounce | protected |
set_input(bool new_value, uint8_t input_channel=0) override | Debounce | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <debounce.h>
+Public Member Functions | |
Debounce (int ms_min_delay=200, String config_path="") | |
virtual void | set_input (bool new_value, uint8_t input_channel=0) override |
Public Member Functions inherited from SymmetricTransform< T > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) |
+Protected Attributes | |
unsigned long | last_time |
int | ms_min_delay |
Debounce is a boolean passthrough transform that will only accept value changes that are sufficiently spaced apart to be passed on to the next consumer.
+ +Definition at line 11 of file debounce.h.
+Debounce::Debounce | +( | +int | +ms_min_delay = 200 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 3 of file debounce.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 8 of file debounce.cpp.
+ +
+
|
+ +protected | +
Definition at line 18 of file debounce.h.
+ +
+
|
+ +protected | +
Definition at line 19 of file debounce.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Difference, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
Difference(float k1, float k2, String config_path="") | Difference | |
get_config_schema() override | Difference | virtual |
get_configuration(JsonObject &doc) override | Difference | virtual |
set_configuration(const JsonObject &config) override | Difference | virtual |
set_input(float input, uint8_t inputChannel) override | Difference | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <difference.h>
+Public Member Functions | |
Difference (float k1, float k2, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Definition at line 7 of file difference.h.
+Difference::Difference | +( | +float | +k1, | +
+ | + | float | +k2, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 5 of file difference.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 35 of file difference.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 20 of file difference.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 37 of file difference.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 10 of file difference.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for DigitalInput, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Protected Attributes | |
int | interrupt_type |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Additional Inherited Members | ||
static const std::set< Sensor * > & | get_sensors () | |
Static Public Member Functions inherited from Enable | ||
static void | enableAll () | |
static void | enable_all () | |
static void | enableAll () | |
Public Attributes inherited from Configurable | ||
const String | config_path | |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for DigitalInputCounter, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connect_to(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
DigitalInputCounter(uint8_t pin, int pin_mode, int interrupt_type, uint read_delay, String config_path="") | DigitalInputCounter | |
enable() override final | DigitalInputCounter | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< int > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< int > | protected |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< int > | inline |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< int > | |
ValueProducer () | |
virtual const int & | get () |
void | connectTo (ValueConsumer< int > *pConsumer, uint8_t inputChannel=0) |
Transform< int, T2 > * | connectTo (Transform< int, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connect_to (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connectTo (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
int | interrupt_type |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< int > | |
int | output |
Definition at line 31 of file digital_input.h.
+Definition at line 34 of file digital_input.h.
Definition at line 41 of file digital_input.cpp.
+Definition at line 53 of file digital_input.cpp.
Definition at line 51 of file digital_input.cpp.
+Definition at line 62 of file digital_input.cpp.
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for DigitalInputValue, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connect_to(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
DigitalInput(uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | DigitalInput | |
DigitalInputValue(uint8_t pin, int pin_mode, int interrupt_type, int read_delay=1000, String config_path="") | DigitalInputValue | |
enable() override final | DigitalInputValue | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< int > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
interrupt_type | DigitalInput | protected |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< int > | protected |
pin | DigitalInput | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< int > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <digital_input.h>
+Public Member Functions | |
DigitalInputValue (uint8_t pin, int pin_mode, int interrupt_type, int read_delay=1000, String config_path="") | |
virtual void | enable () override final |
Public Member Functions inherited from DigitalInput | |
DigitalInput (uint8_t pin, int pin_mode, int interrupt_type, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< int > | |
ValueProducer () | |
virtual const int & | get () |
void | connect_to (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connect_to (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connectTo (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from DigitalInput | |
uint8_t | pin |
int | interrupt_type |
Protected Attributes inherited from ValueProducer< int > | |
int | output |
Definition at line 18 of file digital_input.h.
+DigitalInputValue::DigitalInputValue | +( | +uint8_t | +pin, | +
+ | + | int | +pin_mode, | +
+ | + | int | +interrupt_type, | +
+ | + | int | +read_delay = 1000 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 13 of file digital_input.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 20 of file digital_input.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for DigitalOutput, including all inherited members.
+connect_from(ValueProducer< T > *producer, uint8_t input_channel=0) | ValueConsumer< T > | inline |
connectFrom(ValueProducer< T > *producer, uint8_t input_channel=0) | ValueConsumer< T > | inline |
DigitalOutput(int pin) | DigitalOutput | |
set_input(bool new_value, uint8_t input_channel=0) override | DigitalOutput | |
ValueConsumer::set_input(T new_value, uint8_t input_channel=0) | ValueConsumer< T > | inlinevirtual |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <digital_output.h>
+Public Member Functions | |
DigitalOutput (int pin) | |
void | set_input (bool new_value, uint8_t input_channel=0) override |
Public Member Functions inherited from ValueConsumer< T > | |
virtual void | set_input (T new_value, uint8_t input_channel=0) |
void | connect_from (ValueProducer< T > *producer, uint8_t input_channel=0) |
void | connectFrom (ValueProducer< T > *producer, uint8_t input_channel=0) |
Definition at line 9 of file digital_output.h.
+DigitalOutput::DigitalOutput | +( | +int | +pin | ) | ++ |
Definition at line 5 of file digital_output.cpp.
+ +
+
|
+ +override | +
Definition at line 10 of file digital_output.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Enable, including all inherited members.
+Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_enable_priority() | Enable | inline |
operator<(const Enable &lhs, const Enable &rhs) | Enable | friend |
set_priority(uint8_t priority) | Enable | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <enable.h>
+Public Member Functions | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Static Public Member Functions | |
static void | enable_all () |
static void | enableAll () |
+Friends | |
bool | operator< (const Enable &lhs, const Enable &rhs) |
Classes that implement "Enable" will have their enable() method called automatically at startup when the SensESP app itself is enabled. The optional priority allows for certain classes to be initialized first. The default priority is zero. A higher priority (i.e. greater than zero) will be enabled before a lower one (i.e. less than zero).
+ + +Enable::Enable | +( | +uint8_t | +priority = 0 | ) | ++ |
Definition at line 7 of file enable.cpp.
+ +
+
|
+ +inlinevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented in UltrasonicDistance, WifiSignal, IPAddrDev, Uptime, FreeMem, SystemHz, SHT31Value, Read9DOF, OneWireTemperature, DallasTemperatureSensors, MAX31856Thermocouple, INA219Value, GPSInput, DigitalInputCounter, DigitalInputValue, BMP280Value, BME280Value, AnalogInput, ADS1x15Value< T_ads_1x15 >, and ADS1x15< T_Ada_1x15 >.
+ + + +
+
|
+ +static | +
Called by the SensESP framework to initialize all of the objects marked with this class. They will be initialized in priorty order. If you want to see see the name of each sensor and transport in the serial monitor as each one is enabled, add the following to your project's platformio.ini file:
+build_unflags = -fno-rtti
+ +Definition at line 11 of file enable.cpp.
+
+
|
+ +inlinestatic | +
+
|
+ +inline | +
+
|
+ +inline | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for FreeMem, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< uint32_t > *consumer, uint8_t input_channel=0) | ValueProducer< uint32_t > | inline |
connect_to(Transform< uint32_t, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< uint32_t > | inline |
connectTo(ValueConsumer< uint32_t > *consumer, uint8_t input_channel=0) | ValueProducer< uint32_t > | inline |
connectTo(Transform< uint32_t, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< uint32_t > | inline |
enable() override final | FreeMem | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
FreeMem() | FreeMem | inline |
get() | ValueProducer< uint32_t > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
get_value_name() | FreeMem | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< uint32_t > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< uint32_t > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< uint32_t > | |
ValueProducer () | |
virtual const uint32_t & | get () |
void | connectTo (ValueConsumer< uint32_t > *pConsumer, uint8_t inputChannel=0) |
Transform< uint32_t, T2 > * | connectTo (Transform< uint32_t, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< uint32_t > *consumer, uint8_t input_channel=0) |
Transform< uint32_t, T2 > * | connect_to (Transform< uint32_t, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< uint32_t > *consumer, uint8_t input_channel=0) |
Transform< uint32_t, T2 > * | connectTo (Transform< uint32_t, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< uint32_t > | |
uint32_t | output |
Definition at line 19 of file system_info.h.
+Definition at line 20 of file system_info.h.
Definition at line 21 of file system_info.h.
+Definition at line 22 of file system_info.h.
Definition at line 42 of file system_info.cpp.
+Definition at line 37 of file system_info.cpp.
@@ -264,7 +259,7 @@Definition at line 23 of file system_info.h.
+Definition at line 24 of file system_info.h.
@@ -278,9 +273,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Frequency, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< int, float > | inline |
enable() override | Frequency | virtual |
Frequency(float k=1, String config_path="") | Frequency | |
get_config_schema() override | Frequency | virtual |
get_configuration(JsonObject &doc) override | Frequency | virtual |
set_configuration(const JsonObject &config) override | Frequency | virtual |
set_input(int input, uint8_t inputChannel=0) override | Frequency | virtual |
Transform(String config_path="") | Transform< int, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <frequency.h>
+Public Member Functions | |
Frequency (float k=1, String config_path="") | |
virtual void | set_input (int input, uint8_t inputChannel=0) override |
virtual void | enable () override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from Transform< int, float > | |
Transform (String config_path="") | |
Transform< int, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Definition at line 8 of file frequency.h.
+Frequency::Frequency | +( | +float | +k = 1 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 5 of file frequency.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 10 of file frequency.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 33 of file frequency.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 20 of file frequency.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 35 of file frequency.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 12 of file frequency.cpp.
+ +Definition at line 61 of file nmea_parser.h.
+Definition at line 60 of file nmea_parser.h.
Definition at line 63 of file nmea_parser.h.
+Definition at line 62 of file nmea_parser.h.
Definition at line 189 of file nmea_parser.cpp.
+Definition at line 181 of file nmea_parser.cpp.
Definition at line 65 of file nmea_parser.h.
+Definition at line 64 of file nmea_parser.h.
Definition at line 77 of file nmea_parser.h.
+Definition at line 78 of file nmea_parser.h.
Definition at line 79 of file nmea_parser.h.
+Definition at line 80 of file nmea_parser.h.
Definition at line 291 of file nmea_parser.cpp.
+Definition at line 285 of file nmea_parser.cpp.
Definition at line 81 of file nmea_parser.h.
+Definition at line 82 of file nmea_parser.h.
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for GPSInput, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
enable() override final | GPSInput | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
GPSInput(Stream *rx_stream, String config_path="") | GPSInput | |
load_configuration() | Configurable | protectedvirtual |
nmea_data | GPSInput | |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Attributes | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Definition at line 23 of file gps.cpp.
-
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <http.h>
+Public Member Functions | |
HTTPServer (std::function< void()> reset_device) | |
~HTTPServer () | |
void | enable () |
void | handle_not_found (AsyncWebServerRequest *request) |
void | handle_config (AsyncWebServerRequest *request) |
void | handle_device_reset (AsyncWebServerRequest *request) |
void | handle_device_restart (AsyncWebServerRequest *request) |
void | handle_info (AsyncWebServerRequest *request) |
HTTPServer::HTTPServer | +( | +std::function< void()> | +reset_device | ) | ++ |
+
|
+ +inline | +
+
|
+ +inline | +
void HTTPServer::handle_config | +( | +AsyncWebServerRequest * | +request | ) | ++ |
void HTTPServer::handle_device_reset | +( | +AsyncWebServerRequest * | +request | ) | ++ |
void HTTPServer::handle_device_restart | +( | +AsyncWebServerRequest * | +request | ) | ++ |
void HTTPServer::handle_info | +( | +AsyncWebServerRequest * | +request | ) | ++ |
void HTTPServer::handle_not_found | +( | +AsyncWebServerRequest * | +request | ) | ++ |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Hysteresis< IN, OUT >, including all inherited members.
+connectFrom(ValueProducer< OUT > *producer0, ValueProducer< OUT > *producer1=NULL, ValueProducer< OUT > *producer2=NULL, ValueProducer< OUT > *producer3=NULL, ValueProducer< OUT > *producer4=NULL) | Transform< IN, OUT > | inline |
get_config_schema() override | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
get_configuration(JsonObject &doc) override | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
Hysteresis(IN lower_threshold, IN upper_threshold, OUT low_output, OUT high_output, String config_path="") | Hysteresis< IN, OUT > | inline |
LambdaTransform(OUT(*function)(IN input), String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input), const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1), IN param1, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1, IN param2), IN param1, IN param2, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1, IN param2, OUT param3), IN param1, IN param2, OUT param3, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4), IN param1, IN param2, OUT param3, OUT param4, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4, bool param5), IN param1, IN param2, OUT param3, OUT param4, bool param5, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
LambdaTransform(OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4, bool param5, bool param6), IN param1, IN param2, OUT param3, OUT param4, bool param5, bool param6, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
set_configuration(const JsonObject &config) override | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
set_input(IN input, uint8_t input_channel=0) override | LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | inline |
Transform(String config_path="") | Transform< IN, OUT > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Hysteresis function. + More...
+ +#include <hysteresis.h>
+Public Member Functions | |
Hysteresis (IN lower_threshold, IN upper_threshold, OUT low_output, OUT high_output, String config_path="") | |
Public Member Functions inherited from LambdaTransform< IN, OUT, IN, IN, OUT, OUT > | |
LambdaTransform (OUT(*function)(IN input), String config_path="") | |
LambdaTransform (OUT(*function)(IN input), const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, IN param1), IN param1, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, IN param1, IN param2), IN param1, IN param2, const ParamInfo *param_info, String config_path="") | |
LambdaTransform constructor for two-parameter function. More... | |
LambdaTransform (OUT(*function)(IN input, IN param1, IN param2, OUT param3), IN param1, IN param2, OUT param3, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4), IN param1, IN param2, OUT param3, OUT param4, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4, bool param5), IN param1, IN param2, OUT param3, OUT param4, bool param5, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, IN param1, IN param2, OUT param3, OUT param4, bool param5, bool param6), IN param1, IN param2, OUT param3, OUT param4, bool param5, bool param6, const ParamInfo *param_info, String config_path="") | |
void | set_input (IN input, uint8_t input_channel=0) override |
void | get_configuration (JsonObject &doc) override |
bool | set_configuration (const JsonObject &config) override |
String | get_config_schema () override |
Public Member Functions inherited from Transform< IN, OUT > | |
Transform (String config_path="") | |
Transform< IN, OUT > * | connectFrom (ValueProducer< OUT > *producer0, ValueProducer< OUT > *producer1=NULL, ValueProducer< OUT > *producer2=NULL, ValueProducer< OUT > *producer3=NULL, ValueProducer< OUT > *producer4=NULL) |
Hysteresis function.
+Hysteresis is a threshold switch with a dead zone: to prevent switching back and forth at the threshold value, input has to rise above the upper threshold before being switched high, and has to decrease below the lower threshold before being switched back low.
+IN | Input variable type |
OUT | Output variable type |
[in] | lower_threshold | Lower threshold value |
[in] | upper_threshold | Upper threshold value |
[in] | low_output | Output value when hysteresis function output is low |
[in] | high_output | Output value when hysteresis function output is high |
[in] | config_path | Configuration path for the transform |
Definition at line 31 of file hysteresis.h.
+
+
|
+ +inline | +
Definition at line 33 of file hysteresis.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for INA219, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
enable() | Enable | inlinevirtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
ina219 | INA219 | |
INA219(uint8_t addr=0x40, INA219CAL_t calibration_setting=cal32_2, String config_path="") | INA219 | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ina219.h>
+Public Member Functions | |
INA219 (uint8_t addr=0x40, INA219CAL_t calibration_setting=cal32_2, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Public Attributes | |
Adafruit_INA219 * | ina219 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
INA219::INA219 | +( | +uint8_t | +addr = 0x40 , |
+
+ | + | INA219CAL_t | +calibration_setting = cal32_2 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 9 of file ina219.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for INA219Value, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | INA219Value | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
ina219 | INA219Value | |
INA219Value(INA219 *ina219, INA219ValType val_type, uint read_delay=500, String config_path="") | INA219Value | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ina219.h>
+Public Member Functions | |
INA219Value (INA219 *ina219, INA219ValType val_type, uint read_delay=500, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
INA219 * | ina219 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
INA219Value::INA219Value | +( | +INA219 * | +ina219, | +
+ | + | INA219ValType | +val_type, | +
+ | + | uint | +read_delay = 500 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 26 of file ina219.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 35 of file ina219.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for IPAddrDev, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< String > *consumer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connect_to(Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connectTo(ValueConsumer< String > *consumer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< String > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | IPAddrDev | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
get_value_name() | IPAddrDev | inline |
IPAddrDev() | IPAddrDev | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
StringSensor(String config_path="") | StringSensor | |
ValueProducer() | ValueProducer< String > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< String > | |
ValueProducer () | |
virtual const String & | get () |
void | connectTo (ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< String > *consumer, uint8_t input_channel=0) |
Transform< String, T2 > * | connect_to (Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< String > *consumer, uint8_t input_channel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< String > | |
String | output |
Definition at line 37 of file system_info.h.
+Definition at line 40 of file system_info.h.
Definition at line 39 of file system_info.h.
+Definition at line 42 of file system_info.h.
Definition at line 62 of file system_info.cpp.
+Definition at line 55 of file system_info.cpp.
@@ -268,7 +263,7 @@Definition at line 41 of file system_info.h.
+Definition at line 44 of file system_info.h.
@@ -282,9 +277,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for IntegerSensor, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connect_to(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(ValueConsumer< int > *consumer, uint8_t input_channel=0) | ValueProducer< int > | inline |
connectTo(Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< int > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< int > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
IntegerSensor(String config_path="") | IntegerSensor | |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< int > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< int > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< int > | |
ValueProducer () | |
virtual const int & | get () |
void | connectTo (ValueConsumer< int > *pConsumer, uint8_t inputChannel=0) |
Transform< int, T2 > * | connectTo (Transform< int, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connect_to (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< int > *consumer, uint8_t input_channel=0) |
Transform< int, T2 > * | connectTo (Transform< int, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |||||||||||||||||||||||||||||||||||||||||
static const std::set< Sensor * > & | get_sensors () | ||||||||||||||||||||||||||||||||||||||||
Static Public Member Functions inherited from Enable | |||||||||||||||||||||||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||||||||||||||||||||||
static void | enable_all () | ||||||||||||||||||||||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||||||||||||||||||||||
Public Attributes inherited from Configurable | |||||||||||||||||||||||||||||||||||||||||
const String | config_path | ||||||||||||||||||||||||||||||||||||||||
Protected Member Functions inherited from Configurable | |||||||||||||||||||||||||||||||||||||||||
virtual void | load_configuration () | ||||||||||||||||||||||||||||||||||||||||
Protected Attributes inherited from Enable | |||||||||||||||||||||||||||||||||||||||||
const char * | className = "Enable" | ||||||||||||||||||||||||||||||||||||||||
Protected Attributes inherited from ValueProducer< int > | |||||||||||||||||||||||||||||||||||||||||
int | output | ||||||||||||||||||||||||||||||||||||||||
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for IntegerThreshold, including all inherited members.
+connectFrom(ValueProducer< bool > *producer0, ValueProducer< bool > *producer1=NULL, ValueProducer< bool > *producer2=NULL, ValueProducer< bool > *producer3=NULL, ValueProducer< bool > *producer4=NULL) | Transform< int, bool > | inline |
get_config_schema() override | IntegerThreshold | virtual |
get_configuration(JsonObject &doc) override | IntegerThreshold | virtual |
in_range | ThresholdTransform< int, bool > | protected |
IntegerThreshold(int min_value, int max_value, bool in_range=true, String config_path="") | IntegerThreshold | inline |
max_value | ThresholdTransform< int, bool > | protected |
min_value | ThresholdTransform< int, bool > | protected |
out_range | ThresholdTransform< int, bool > | protected |
set_configuration(const JsonObject &config) override | IntegerThreshold | virtual |
set_input(int new_value, uint8_t input_channel=0) override | ThresholdTransform< int, bool > | virtual |
ThresholdTransform(int min_value, int max_value, bool in_range, bool out_range, String config_path="") | ThresholdTransform< int, bool > | inline |
Transform(String config_path="") | Transform< int, bool > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <threshold.h>
+Public Member Functions | |
IntegerThreshold (int min_value, int max_value, bool in_range=true, String config_path="") | |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from ThresholdTransform< int, bool > | |
ThresholdTransform (int min_value, int max_value, bool in_range, bool out_range, String config_path="") | |
virtual void | set_input (int new_value, uint8_t input_channel=0) override |
Public Member Functions inherited from Transform< int, bool > | |
Transform (String config_path="") | |
Transform< int, bool > * | connectFrom (ValueProducer< bool > *producer0, ValueProducer< bool > *producer1=NULL, ValueProducer< bool > *producer2=NULL, ValueProducer< bool > *producer3=NULL, ValueProducer< bool > *producer4=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from ThresholdTransform< int, bool > | |
int | min_value |
int | max_value |
bool | in_range |
bool | out_range |
A Transform that translates an integer value into a boolean value. min_value and MaxValue set a range. If input value is in the range, the output will be the value of in_range. Otherwise, it will be !in_range.
+ +Definition at line 59 of file threshold.h.
+
+
|
+ +inline | +
Definition at line 61 of file threshold.h.
+ +
+
|
+ +overridevirtual | +
Definition at line 80 of file threshold.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 48 of file threshold.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 65 of file threshold.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Integrator, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
enable() override final | Integrator | virtual |
get_config_schema() override | Integrator | virtual |
get_configuration(JsonObject &doc) override final | Integrator | virtual |
Integrator(float k=1, float value=0, String config_path="") | Integrator | |
set_configuration(const JsonObject &config) override final | Integrator | virtual |
set_input(float input, uint8_t inputChannel=0) override final | Integrator | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <integrator.h>
+Public Member Functions | |
Integrator (float k=1, float value=0, String config_path="") | |
virtual void | enable () override final |
virtual void | set_input (float input, uint8_t inputChannel=0) override final |
virtual void | get_configuration (JsonObject &doc) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Definition at line 7 of file integrator.h.
+Integrator::Integrator | +( | +float | +k = 1 , |
+
+ | + | float | +value = 0 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 7 of file integrator.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Definition at line 13 of file integrator.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 38 of file integrator.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Definition at line 25 of file integrator.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Definition at line 40 of file integrator.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Definition at line 20 of file integrator.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 >, including all inherited members.
+connectFrom(ValueProducer< OUT > *producer0, ValueProducer< OUT > *producer1=NULL, ValueProducer< OUT > *producer2=NULL, ValueProducer< OUT > *producer3=NULL, ValueProducer< OUT > *producer4=NULL) | Transform< IN, OUT > | inline |
get_config_schema() override | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
get_configuration(JsonObject &doc) override | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input), String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input), const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1), P1 param1, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1, P2 param2), P1 param1, P2 param2, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1, P2 param2, P3 param3), P1 param1, P2 param2, P3 param3, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4), P1 param1, P2 param2, P3 param3, P4 param4, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4, P5 param5), P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
LambdaTransform(OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, P6 param6), P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, P6 param6, const ParamInfo *param_info, String config_path="") | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
set_configuration(const JsonObject &config) override | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
set_input(IN input, uint8_t input_channel=0) override | LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | inline |
Transform(String config_path="") | Transform< IN, OUT > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Construct a new transform based on a single function. + More...
+ +#include <lambda_transform.h>
+Public Member Functions | |
LambdaTransform (OUT(*function)(IN input), String config_path="") | |
LambdaTransform (OUT(*function)(IN input), const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, P1 param1), P1 param1, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, P1 param1, P2 param2), P1 param1, P2 param2, const ParamInfo *param_info, String config_path="") | |
LambdaTransform constructor for two-parameter function. More... | |
LambdaTransform (OUT(*function)(IN input, P1 param1, P2 param2, P3 param3), P1 param1, P2 param2, P3 param3, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4), P1 param1, P2 param2, P3 param3, P4 param4, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4, P5 param5), P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (OUT(*function)(IN input, P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, P6 param6), P1 param1, P2 param2, P3 param3, P4 param4, P5 param5, P6 param6, const ParamInfo *param_info, String config_path="") | |
void | set_input (IN input, uint8_t input_channel=0) override |
void | get_configuration (JsonObject &doc) override |
bool | set_configuration (const JsonObject &config) override |
String | get_config_schema () override |
Public Member Functions inherited from Transform< IN, OUT > | |
Transform (String config_path="") | |
Transform< IN, OUT > * | connectFrom (ValueProducer< OUT > *producer0, ValueProducer< OUT > *producer1=NULL, ValueProducer< OUT > *producer2=NULL, ValueProducer< OUT > *producer3=NULL, ValueProducer< OUT > *producer4=NULL) |
Construct a new transform based on a single function.
+LambdaTransform provides an easy way of creating custom transformations without having to create new Transform classes. You just create a transform function and feed that to a LambdaTransform constructor together with possible configuration parameters values and configuration parameter metadata (key names and descriptions).
+IN | Transform function input value type |
OUT | Transform function output value type |
P1 | Transform function parameter 1 type |
P2 | Transform function parameter 2 type |
P3 | Transform function parameter 3 type |
P4 | Transform function parameter 4 type |
P5 | Transform function parameter 5 type |
P6 | Transform function parameter 6 type |
Definition at line 68 of file lambda_transform.h.
+
+
|
+ +inline | +
Definition at line 70 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 75 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 84 of file lambda_transform.h.
+ +
+
|
+ +inline | +
LambdaTransform constructor for two-parameter function.
+Construct a new LambdaTransform object which takes an input and two configuration parameters. Multiple overloaded constructors exist; their arguments can be extrapolated from this one.
+function | Function to be executed for every new input value |
param1 | Configuration parameter 1 |
param2 | Configuration parameter 2 |
param_info | Keys and Descriptions of each configuration parameter |
config_path | Configuration path for the transform |
Definition at line 107 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 119 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 132 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 147 of file lambda_transform.h.
+ +
+
|
+ +inline | +
Definition at line 163 of file lambda_transform.h.
+ +
+
|
+ +inlineoverride | +
Definition at line 263 of file lambda_transform.h.
+ +
+
|
+ +inlineoverride | +
Definition at line 212 of file lambda_transform.h.
+ +
+
|
+ +inlineoverride | +
Definition at line 232 of file lambda_transform.h.
+ +
+
|
+ +inlineoverride | +
Definition at line 181 of file lambda_transform.h.
+ +This is the complete list of members for LedBlinker, including all inherited members.
flip() | LedBlinker | ||||||||||||
LedBlinker() | LedBlinker | ||||||||||||
LedBlinker(int pin, bool enabled, int ws_connected_interval=100, int wifi_connected_interval=1000, int offline_interval=2000) | LedBlinker | ||||||||||||
set_server_connected() | LedBlinker | ||||||||||||
set_server_disconnected() | LedBlinker | inline | |||||||||||
set_state(int new_state) | LedBlinker | protected |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <led_blinker.h>
+Public Member Functions | |
void | set_wifi_connected () |
void | set_wifi_disconnected () |
void | set_server_connected () |
void | set_server_disconnected () |
void | flip () |
LedBlinker (int pin, bool enabled, int ws_connected_interval=100, int wifi_connected_interval=1000, int offline_interval=2000) | |
+Protected Member Functions | |
void | set_state (int new_state) |
Definition at line 6 of file led_blinker.h.
+LedBlinker::LedBlinker | +( | +int | +pin, | +
+ | + | bool | +enabled, | +
+ | + | int | +ws_connected_interval = 100 , |
+
+ | + | int | +wifi_connected_interval = 1000 , |
+
+ | + | int | +offline_interval = 2000 |
+
+ | ) | ++ |
Definition at line 7 of file led_blinker.cpp.
+void LedBlinker::flip | +( | +) | ++ |
Definition at line 34 of file led_blinker.cpp.
+void LedBlinker::set_server_connected | +( | +) | ++ |
Definition at line 57 of file led_blinker.cpp.
+
+
|
+ +inline | +
Definition at line 24 of file led_blinker.h.
+
+
|
+ +protected | +
Definition at line 27 of file led_blinker.cpp.
+void LedBlinker::set_wifi_connected | +( | +) | ++ |
Definition at line 51 of file led_blinker.cpp.
+void LedBlinker::set_wifi_disconnected | +( | +) | ++ |
Definition at line 40 of file led_blinker.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Linear, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | LambdaTransform< float, float, float, float > | inline |
get_configuration(JsonObject &doc) override | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input), String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input), const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1), float param1, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1, float param2), float param1, float param2, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1, float param2, bool param3), float param1, float param2, bool param3, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1, float param2, bool param3, bool param4), float param1, float param2, bool param3, bool param4, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1, float param2, bool param3, bool param4, bool param5), float param1, float param2, bool param3, bool param4, bool param5, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
LambdaTransform(float(*function)(float input, float param1, float param2, bool param3, bool param4, bool param5, bool param6), float param1, float param2, bool param3, bool param4, bool param5, bool param6, const ParamInfo *param_info, String config_path="") | LambdaTransform< float, float, float, float > | inline |
Linear(float k, float c, String config_path="") | Linear | |
set_configuration(const JsonObject &config) override | LambdaTransform< float, float, float, float > | inline |
set_input(float input, uint8_t input_channel=0) override | LambdaTransform< float, float, float, float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <linear.h>
+Public Member Functions | |
Linear (float k, float c, String config_path="") | |
Public Member Functions inherited from LambdaTransform< float, float, float, float > | |
LambdaTransform (float(*function)(float input), String config_path="") | |
LambdaTransform (float(*function)(float input), const ParamInfo *param_info, String config_path="") | |
LambdaTransform (float(*function)(float input, float param1), float param1, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (float(*function)(float input, float param1, float param2), float param1, float param2, const ParamInfo *param_info, String config_path="") | |
LambdaTransform constructor for two-parameter function. More... | |
LambdaTransform (float(*function)(float input, float param1, float param2, bool param3), float param1, float param2, bool param3, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (float(*function)(float input, float param1, float param2, bool param3, bool param4), float param1, float param2, bool param3, bool param4, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (float(*function)(float input, float param1, float param2, bool param3, bool param4, bool param5), float param1, float param2, bool param3, bool param4, bool param5, const ParamInfo *param_info, String config_path="") | |
LambdaTransform (float(*function)(float input, float param1, float param2, bool param3, bool param4, bool param5, bool param6), float param1, float param2, bool param3, bool param4, bool param5, bool param6, const ParamInfo *param_info, String config_path="") | |
void | set_input (float input, uint8_t input_channel=0) override |
void | get_configuration (JsonObject &doc) override |
bool | set_configuration (const JsonObject &config) override |
String | get_config_schema () override |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Perform a linear transform on the input value. The transform is of the form , where k is the input coefficient and c is a bias (offset) value.
+ + +Linear::Linear | +( | +float | +k, | +
+ | + | float | +c, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 15 of file linear.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for MAX31856Thermocouple, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | MAX31856Thermocouple | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
max31856 | MAX31856Thermocouple | |
MAX31856Thermocouple(int8_t cs_pin, int8_t mosi_pin, int8_t miso_pin, int8_t clk_pin, int8_t drdy_pin, max31856_thermocoupletype_t tc_type, uint read_delay, String config_path="") | MAX31856Thermocouple | |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <max31856_thermocouple.h>
+Public Member Functions | |
MAX31856Thermocouple (int8_t cs_pin, int8_t mosi_pin, int8_t miso_pin, int8_t clk_pin, int8_t drdy_pin, max31856_thermocoupletype_t tc_type, uint read_delay, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
Adafruit_MAX31856 * | max31856 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 6 of file max31856_thermocouple.h.
+MAX31856Thermocouple::MAX31856Thermocouple | +( | +int8_t | +cs_pin, | +
+ | + | int8_t | +mosi_pin, | +
+ | + | int8_t | +miso_pin, | +
+ | + | int8_t | +clk_pin, | +
+ | + | int8_t | +drdy_pin, | +
+ | + | max31856_thermocoupletype_t | +tc_type, | +
+ | + | uint | +read_delay, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 6 of file max31856_thermocouple.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 23 of file max31856_thermocouple.cpp.
+Adafruit_MAX31856* MAX31856Thermocouple::max31856 | +
Definition at line 12 of file max31856_thermocouple.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Median, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | Median | virtual |
get_configuration(JsonObject &doc) override | Median | virtual |
Median(unsigned int sample_size=10, String config_path="") | Median | |
set_configuration(const JsonObject &config) override | Median | virtual |
set_input(float input, uint8_t input_channel=0) override | Median | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <median.h>
+Public Member Functions | |
Median (unsigned int sample_size=10, String config_path="") | |
virtual void | set_input (float input, uint8_t input_channel=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
Median collects a list of input values of size sample_size and outputs the median value (i.e. element number sample_size / 2 of a sorted sample list).
+ + +Median::Median | +( | +unsigned int | +sample_size = 10 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 3 of file median.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 33 of file median.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 22 of file median.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 35 of file median.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 10 of file median.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for MovingAverage, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | MovingAverage | virtual |
get_configuration(JsonObject &doc) override | MovingAverage | virtual |
MovingAverage(int n, float k=1., String config_path="") | MovingAverage | |
set_configuration(const JsonObject &config) override | MovingAverage | virtual |
set_input(float input, uint8_t inputChannel=0) override | MovingAverage | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <moving_average.h>
+Public Member Functions | |
MovingAverage (int n, float k=1., String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
MovingAverage is used to smooth the output of a value (signal) that has frequent variations. For example, the output of a temperature sensor may vary from 180 to 185 several times over a short period, but you just want to see the average of that. MovingAverage outputs the average of the most recent n values. It also incorporates a "scale" factor, in case you want to increase or decrease your final output by a fixed percentage.
+ +Definition at line 18 of file moving_average.h.
+MovingAverage::MovingAverage | +( | +int | +n, | +
+ | + | float | +k = 1. , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
n | is the number of most recent values you want to average for your output |
the | moving average will be multiplied by k before it is output - make it something other than 1. if you need to scale your output up or down by a fixed percentage |
Definition at line 5 of file moving_average.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 46 of file moving_average.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 31 of file moving_average.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 48 of file moving_average.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 12 of file moving_average.cpp.
+ +Definition at line 121 of file nmea_parser.h.
+Definition at line 124 of file nmea_parser.h.
Definition at line 544 of file nmea_parser.cpp.
+Definition at line 548 of file nmea_parser.cpp.
Definition at line 549 of file nmea_parser.cpp.
+Definition at line 553 of file nmea_parser.cpp.
Definition at line 554 of file nmea_parser.cpp.
-Definition at line 558 of file nmea_parser.cpp.
@@ -207,9 +194,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <networking.h>
+Public Member Functions | |
Networking (String config_path, String ssid, String password, String hostname) | |
void | setup (std::function< void(bool)> connection_cb) |
ObservableValue< String > * | get_hostname () |
virtual void | get_configuration (JsonObject &doc) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
void | reset_settings () |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
+Protected Member Functions | |
void | check_connection () |
void | setup_saved_ssid (std::function< void(bool)> connection_cb) |
void | setup_wifi_manager (std::function< void(bool)> connection_cb) |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
+Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Definition at line 13 of file networking.h.
+Networking::Networking | +( | +String | +config_path, | +
+ | + | String | +ssid, | +
+ | + | String | +password, | +
+ | + | String | +hostname | +
+ | ) | ++ |
Definition at line 18 of file networking.cpp.
+ +
+
|
+ +protected | +
Definition at line 39 of file networking.cpp.
+
+
|
+ +overridevirtual | +
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
+ +Definition at line 145 of file networking.cpp.
+
+
|
+ +finaloverridevirtual | +
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonDocument::as<JsonObject>() and returned.
+ +Reimplemented from Configurable.
+ +Definition at line 163 of file networking.cpp.
+ObservableValue< String > * Networking::get_hostname | +( | +) | ++ |
Definition at line 125 of file networking.cpp.
+void Networking::reset_settings | +( | +) | ++ |
Definition at line 186 of file networking.cpp.
+
+
|
+ +finaloverridevirtual | +
Sets the current state of local member variables using the data stored in config.
+ +Reimplemented from Configurable.
+ +Definition at line 169 of file networking.cpp.
+void Networking::setup | +( | +std::function< void(bool)> | +connection_cb | ) | ++ |
Definition at line 47 of file networking.cpp.
+
+
|
+ +protected | +
Definition at line 57 of file networking.cpp.
+
+
|
+ +protected | +
Definition at line 82 of file networking.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for NumericSensor, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |||||||||||||||||||||
static const std::set< Sensor * > & | get_sensors () | ||||||||||||||||||||
Static Public Member Functions inherited from Enable | |||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||
static void | enable_all () | ||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||
Public Attributes inherited from Configurable | |||||||||||||||||||||
const String | config_path | ||||||||||||||||||||
Protected Member Functions inherited from Configurable | |||||||||||||||||||||
virtual void | load_configuration () | ||||||||||||||||||||
Protected Attributes inherited from Enable | |||||||||||||||||||||
const char * | className = "Enable" | ||||||||||||||||||||
Protected Attributes inherited from ValueProducer< float > | |||||||||||||||||||||
float | output | ||||||||||||||||||||
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for NumericThreshold, including all inherited members.
+connectFrom(ValueProducer< bool > *producer0, ValueProducer< bool > *producer1=NULL, ValueProducer< bool > *producer2=NULL, ValueProducer< bool > *producer3=NULL, ValueProducer< bool > *producer4=NULL) | Transform< float, bool > | inline |
get_config_schema() override | NumericThreshold | virtual |
get_configuration(JsonObject &doc) override | NumericThreshold | virtual |
in_range | ThresholdTransform< float, bool > | protected |
max_value | ThresholdTransform< float, bool > | protected |
min_value | ThresholdTransform< float, bool > | protected |
NumericThreshold(float min_value, float max_value, bool in_range=true, String config_path="") | NumericThreshold | inline |
out_range | ThresholdTransform< float, bool > | protected |
set_configuration(const JsonObject &config) override | NumericThreshold | virtual |
set_input(float new_value, uint8_t input_channel=0) override | ThresholdTransform< float, bool > | virtual |
ThresholdTransform(float min_value, float max_value, bool in_range, bool out_range, String config_path="") | ThresholdTransform< float, bool > | inline |
Transform(String config_path="") | Transform< float, bool > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <threshold.h>
+Public Member Functions | |
NumericThreshold (float min_value, float max_value, bool in_range=true, String config_path="") | |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from ThresholdTransform< float, bool > | |
ThresholdTransform (float min_value, float max_value, bool in_range, bool out_range, String config_path="") | |
virtual void | set_input (float new_value, uint8_t input_channel=0) override |
Public Member Functions inherited from Transform< float, bool > | |
Transform (String config_path="") | |
Transform< float, bool > * | connectFrom (ValueProducer< bool > *producer0, ValueProducer< bool > *producer1=NULL, ValueProducer< bool > *producer2=NULL, ValueProducer< bool > *producer3=NULL, ValueProducer< bool > *producer4=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from ThresholdTransform< float, bool > | |
float | min_value |
float | max_value |
bool | in_range |
bool | out_range |
A Transform that translates a float value into a boolean value. min_value and MaxValue set a range. If input value is in the range, the output will be the value of in_range. Otherwise, it will be !in_range.
+ +Definition at line 42 of file threshold.h.
+
+
|
+ +inline | +
Definition at line 44 of file threshold.h.
+ +
+
|
+ +overridevirtual | +
Definition at line 46 of file threshold.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 14 of file threshold.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 31 of file threshold.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <observable.h>
+Public Member Functions | |
void | notify () |
void | attach (std::function< void()> observer) |
Definition at line 14 of file observable.h.
+void Observable::attach | +( | +std::function< void()> | +observer | ) | ++ |
Definition at line 9 of file observable.cpp.
+ +void Observable::notify | +( | +) | ++ |
Definition at line 3 of file observable.cpp.
+This is the complete list of members for ObservableValue< T >, including all inherited members.
attach(std::function< void()> observer) | Observable | ||||||
connectTo(ValueConsumer< T > *pConsumer, uint8_t inputChannel=0) | ValueProducer< T > | inline | |||||
connectTo(Transform< T, T2 > *pConsumerProducer, uint8_t inputChannel=0) | ValueProducer< T > | inline | |||||
get() | ValueProducer< T > | inlinevirtual | |||||
notify() | Observable | ||||||
connect_to(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline | |||||
connect_to(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline | |||||
connectTo(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline | |||||
connectTo(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline | |||||
get() | ValueProducer< T > | inlinevirtual | |||||
ObservableValue() | ObservableValue< T > | inline | |||||
ObservableValue(const T &value) | ObservableValue< T > | inline | |||||
operator=(const T &value) | ObservableValue< T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <observablevalue.h>
+Public Member Functions | |
ObservableValue () | |
ObservableValue (const T &value) | |
void | set (const T &value) |
const T & | operator= (const T &value) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connect_to (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connect_to (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
Definition at line 12 of file observablevalue.h.
+
+
|
+ +inline | +
Definition at line 14 of file observablevalue.h.
+ +
+
|
+ +inline | +
Definition at line 16 of file observablevalue.h.
+ +
+
|
+ +inline | +
Definition at line 23 of file observablevalue.h.
+ +
+
|
+ +inline | +
Definition at line 18 of file observablevalue.h.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for OneWireTemperature, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | OneWireTemperature | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() override | OneWireTemperature | virtual |
get_configuration(JsonObject &doc) override final | OneWireTemperature | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
OneWireTemperature(DallasTemperatureSensors *dts, uint read_delay=1000, String config_path="") | OneWireTemperature | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) override final | OneWireTemperature | virtual |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
Public Member Functions | |
OneWireTemperature (DallasTemperatureSensors *dts, String config_path="") | |
OneWireTemperature (DallasTemperatureSensors *dts, uint read_delay=1000, String config_path="") | |
void | enable () override final |
virtual JsonObject & | get_configuration (JsonBuffer &buf) override final |
virtual void | get_configuration (JsonObject &doc) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static const std::set< Sensor * > & | get_sensors () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Static Public Member Functions inherited from Enable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static void | enableAll () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static void | enable_all () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static void | enableAll () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Attributes inherited from Configurable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
const String | config_path | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected Member Functions inherited from Configurable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
virtual void | load_configuration () | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected Attributes inherited from Enable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
const char * | className = "Enable" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Protected Attributes inherited from ValueProducer< float > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
float | output | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dts, | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | uint | +read_delay = 1000 , |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -211,7 +212,7 @@ |
JsonObject & OneWireTemperature::get_configuration | +void OneWireTemperature::get_configuration | ( | -JsonBuffer & | -buf | ) | +JsonObject & | +configObject | ) |
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonBuffer::createObject() and returned.
+Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonDocument::as<JsonObject>() and returned.
-Reimplemented from Configurable.
+Reimplemented from Configurable.
-Definition at line 145 of file onewire_temperature.cpp.
+Definition at line 143 of file onewire_temperature.cpp.
Definition at line 168 of file onewire_temperature.cpp.
+Definition at line 162 of file onewire_temperature.cpp.
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Orientation9DOF, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
Orientation9DOF(uint8_t pin_i2c_sda, uint8_t pin_i2c_scl, String config_path="") | Orientation9DOF | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
stream_raw_values(void) | Orientation9DOF |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <orientation_9dof_input.h>
+Public Member Functions | |
Orientation9DOF (uint8_t pin_i2c_sda, uint8_t pin_i2c_scl, String config_path="") | |
void | stream_raw_values (void) |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Definition at line 24 of file orientation_9dof_input.h.
+Orientation9DOF::Orientation9DOF | +( | +uint8_t | +pin_i2c_sda, | +
+ | + | uint8_t | +pin_i2c_scl, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 15 of file orientation_9dof_input.cpp.
+void Orientation9DOF::stream_raw_values | +( | +void | +) | ++ |
Definition at line 28 of file orientation_9dof_input.cpp.
+Definition at line 105 of file nmea_parser.h.
+Definition at line 106 of file nmea_parser.h.
Definition at line 107 of file nmea_parser.h.
+Definition at line 108 of file nmea_parser.h.
Definition at line 378 of file nmea_parser.cpp.
+Definition at line 374 of file nmea_parser.cpp.
Definition at line 109 of file nmea_parser.h.
+Definition at line 110 of file nmea_parser.h.
Definition at line 113 of file nmea_parser.h.
+Definition at line 115 of file nmea_parser.h.
Definition at line 115 of file nmea_parser.h.
+Definition at line 117 of file nmea_parser.h.
Definition at line 117 of file nmea_parser.h.
+Definition at line 119 of file nmea_parser.h.
Definition at line 93 of file nmea_parser.h.
+Definition at line 95 of file nmea_parser.h.
Definition at line 95 of file nmea_parser.h.
+Definition at line 97 of file nmea_parser.h.
Definition at line 96 of file nmea_parser.h.
+Definition at line 98 of file nmea_parser.h.
@@ -253,16 +249,16 @@Definition at line 354 of file nmea_parser.cpp.
+Definition at line 351 of file nmea_parser.cpp.
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Read9DOF, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | Read9DOF | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
orientation_9dof | Read9DOF | |
output | ValueProducer< float > | protected |
Read9DOF(Orientation9DOF *p9DOF, OrientationValType val_type=compass_hdg, uint read_delay=100, String config_path="") | Read9DOF | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <orientation_9dof_input.h>
+Public Member Functions | |
Read9DOF (Orientation9DOF *p9DOF, OrientationValType val_type=compass_hdg, uint read_delay=100, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
Orientation9DOF * | orientation_9dof |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 49 of file orientation_9dof_input.h.
+Read9DOF::Read9DOF | +( | +Orientation9DOF * | +p9DOF, | +
+ | + | OrientationValType | +val_type = compass_hdg , |
+
+ | + | uint | +read_delay = 100 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 43 of file orientation_9dof_input.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 55 of file orientation_9dof_input.cpp.
+ +Orientation9DOF* Read9DOF::orientation_9dof | +
Definition at line 54 of file orientation_9dof_input.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SHT31, including all inherited members.
+adafruit_sht31 | SHT31 | |
attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
SHT31(uint8_t addr=0x44, String config_path="") | SHT31 |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <sht31.h>
+Public Member Functions | |
SHT31 (uint8_t addr=0x44, String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Public Attributes | |
Adafruit_SHT31 * | adafruit_sht31 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
SHT31::SHT31 | +( | +uint8_t | +addr = 0x44 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SHT31Value, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | SHT31Value | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
sht31 | SHT31Value | |
SHT31Value(SHT31 *sht31, SHT31ValType val_type, uint read_delay=500, String config_path="") | SHT31Value | |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <sht31.h>
+Public Member Functions | |
SHT31Value (SHT31 *sht31, SHT31ValType val_type, uint read_delay=500, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Public Attributes | |
SHT31 * | sht31 |
Public Attributes inherited from Configurable | |
const String | config_path |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
SHT31Value::SHT31Value | +( | +SHT31 * | +sht31, | +
+ | + | SHT31ValType | +val_type, | +
+ | + | uint | +read_delay = 500 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
+
|
+ +finaloverridevirtual | +
Definition at line 11 of file signalk_delta.cpp.
+Definition at line 10 of file signalk_delta.cpp.
Definition at line 18 of file signalk_delta.cpp.
-Definition at line 17 of file signalk_delta.cpp.
Definition at line 22 of file signalk_delta.cpp.
-Definition at line 19 of file signalk_delta.cpp.
@@ -263,10 +238,11 @@This is the complete list of members for SKEmitter, including all inherited members.
as_signalK() | SKEmitter | inlinevirtual |
as_signalk() | SKEmitter | inlinevirtual |
attach(std::function< void()> observer) | Observable | |
get_sk_path() | SKEmitter | inline |
get_sources() | SKEmitter | inlinestatic |
SKEmitter (String sk_path) | |
virtual String | as_signalK () |
virtual String | as_signalk () |
String & | get_sk_path () |
void | set_sk_path (const String &path) |
A SignalK emitter is one that produces SignalK output to be forwarded to the SignalK server (if the system is connected to one). SignalK is reported via the as_signalK() method.
+A Signal K emitter is one that produces Signal K output to be forwarded to the Signal K server (if the system is connected to one). Signal K is reported via the as_signalK() method.
Definition at line 19 of file signalk_emitter.h.
The constructor
sk_path | The SignalK path that identifies this particular output |
sk_path | The Signal K path that identifies this particular output |
virtual String SKEmitter::as_signalK | +virtual String SKEmitter::as_signalk | ( | ) | @@ -190,11 +186,11 @@ |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SKListener, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
get_listen_delay() | SKListener | inline |
get_listeners() | SKListener | inlinestatic |
get_sk_path() | SKListener | inline |
notify() | Observable | |
parse_value(JsonObject &json) | SKListener | inlinevirtual |
sk_path | SKListener | protected |
SKListener(String sk_path, int listen_delay) | SKListener |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <signalk_listener.h>
+Public Member Functions | |
SKListener (String sk_path, int listen_delay) | |
String & | get_sk_path () |
int | get_listen_delay () |
virtual void | parse_value (JsonObject &json) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
+Static Public Member Functions | |
static const std::vector< SKListener * > & | get_listeners () |
+Protected Attributes | |
String | sk_path |
A Signal K listener is one that listens for Signal K stream deltas and notifies of value changes
+ +Definition at line 18 of file signalk_listener.h.
+SKListener::SKListener | +( | +String | +sk_path, | +
+ | + | int | +listen_delay | +
+ | ) | ++ |
The constructor
sk_path | The Signal K path that identifies this particular subscription to value |
listen_delay | How often you want the SK Server to send the data you're subscribing to |
Definition at line 5 of file signalk_listener.cpp.
+ +
+
|
+ +inline | +
Definition at line 36 of file signalk_listener.h.
+ +
+
|
+ +inlinestatic | +
Definition at line 40 of file signalk_listener.h.
+
+
|
+ +inline | +
Returns the current Signal K path. An empty string is returned if this particular source is not configured or intended to return actual data.
+ +Definition at line 34 of file signalk_listener.h.
+
+
|
+ +inlinevirtual | +
Reimplemented in SKValueListener< T >.
+ +Definition at line 38 of file signalk_listener.h.
+
+
|
+ +protected | +
Definition at line 43 of file signalk_listener.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SKOutput< T >, including all inherited members.
+as_signalk() override | SKOutput< T > | inlinevirtual |
as_signalk() | SKOutput< T > | virtual |
as_signalk() | SKOutput< T > | virtual |
attach(std::function< void()> observer) | Observable | |
connectFrom(ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) | Transform< T, T > | inline |
get_config_schema() override | SKOutput< T > | inline |
get_configuration(JsonObject &root) override | SKOutput< T > | inlinevirtual |
get_sk_path() | SKEmitter | inline |
get_sources() | SKEmitter | inlinestatic |
notify() | Observable | |
set_configuration(const JsonObject &config) override | SKOutput< T > | inlinevirtual |
set_input(T new_value, uint8_t input_channel=0) override | SKOutput< T > | inlinevirtual |
set_sk_path(const String &path) | SKEmitter | inline |
sk_path | SKEmitter | protected |
SKEmitter(String sk_path) | SKEmitter | |
SKOutput() | SKOutput< T > | inline |
SKOutput(String sk_path, String config_path="") | SKOutput< T > | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <signalk_output.h>
+Public Member Functions | |
SKOutput () | |
SKOutput (String sk_path, String config_path="") | |
virtual void | set_input (T new_value, uint8_t input_channel=0) override |
virtual String | as_signalk () override |
virtual void | get_configuration (JsonObject &root) override |
String | get_config_schema () override |
virtual bool | set_configuration (const JsonObject &config) override |
String | as_signalk () |
String | as_signalk () |
Public Member Functions inherited from SKEmitter | |
SKEmitter (String sk_path) | |
String & | get_sk_path () |
void | set_sk_path (const String &path) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from SymmetricTransform< T > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) |
+Additional Inherited Members | |
Static Public Member Functions inherited from SKEmitter | |
static const std::vector< SKEmitter * > & | get_sources () |
Protected Attributes inherited from SKEmitter | |
String | sk_path |
Definition at line 17 of file signalk_output.h.
+Definition at line 19 of file signalk_output.h.
+ +
+
|
+ +inline | +
Definition at line 21 of file signalk_output.h.
+Returns the data to be reported to the server as a Signal K json string.
+ +Reimplemented from SKEmitter.
+ +Definition at line 5 of file signalk_position.cpp.
+ +Returns the data to be reported to the server as a Signal K json string.
+ +Reimplemented from SKEmitter.
+ +
+
|
+ +inlineoverridevirtual | +
Returns the data to be reported to the server as a Signal K json string.
+ +Reimplemented from SKEmitter.
+ +Definition at line 31 of file signalk_output.h.
+
+
|
+ +inlineoverride | +
Definition at line 44 of file signalk_output.h.
+ +
+
|
+ +inlineoverridevirtual | +
Definition at line 40 of file signalk_output.h.
+
+
|
+ +inlineoverridevirtual | +
Definition at line 46 of file signalk_output.h.
+
+
|
+ +inlineoverridevirtual | +
Definition at line 26 of file signalk_output.h.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SKOutputTime, including all inherited members.
+as_signalk() override | SKOutputTime | virtual |
attach(std::function< void()> observer) | Observable | |
connectFrom(ValueProducer< String > *producer0, ValueProducer< String > *producer1=NULL, ValueProducer< String > *producer2=NULL, ValueProducer< String > *producer3=NULL, ValueProducer< String > *producer4=NULL) | Transform< time_t, String > | inline |
get_config_schema() override | SKOutputTime | virtual |
get_configuration(JsonObject &doc) override | SKOutputTime | virtual |
get_sk_path() | SKEmitter | inline |
get_sources() | SKEmitter | inlinestatic |
notify() | Observable | |
set_configuration(const JsonObject &config) override | SKOutputTime | virtual |
set_input(time_t input, uint8_t input_channel=0) override | TimeString | virtual |
set_sk_path(const String &path) | SKEmitter | inline |
sk_path | SKEmitter | protected |
SKEmitter(String sk_path) | SKEmitter | |
SKOutputTime(String sk_path, String config_path="") | SKOutputTime | |
TimeString(String config_path="") | TimeString | |
Transform(String config_path="") | Transform< time_t, String > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <signalk_time.h>
+Public Member Functions | |
SKOutputTime (String sk_path, String config_path="") | |
virtual String | as_signalk () override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from TimeString | |
TimeString (String config_path="") | |
virtual void | set_input (time_t input, uint8_t input_channel=0) override |
Public Member Functions inherited from Transform< time_t, String > | |
Transform (String config_path="") | |
Transform< time_t, String > * | connectFrom (ValueProducer< String > *producer0, ValueProducer< String > *producer1=NULL, ValueProducer< String > *producer2=NULL, ValueProducer< String > *producer3=NULL, ValueProducer< String > *producer4=NULL) |
Public Member Functions inherited from SKEmitter | |
SKEmitter (String sk_path) | |
String & | get_sk_path () |
void | set_sk_path (const String &path) |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
+Additional Inherited Members | |
Static Public Member Functions inherited from SKEmitter | |
static const std::vector< SKEmitter * > & | get_sources () |
Protected Attributes inherited from SKEmitter | |
String | sk_path |
Definition at line 7 of file signalk_time.h.
+SKOutputTime::SKOutputTime | +( | +String | +sk_path, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 4 of file signalk_time.cpp.
+ +
+
|
+ +overridevirtual | +
Returns the data to be reported to the server as a Signal K json string.
+ +Reimplemented from SKEmitter.
+ +Definition at line 9 of file signalk_time.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 32 of file signalk_time.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 19 of file signalk_time.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 34 of file signalk_time.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SKValueListener< T >, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
connect_to(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connect_to(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connectTo(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline |
get() | ValueProducer< T > | inlinevirtual |
get_listen_delay() | SKListener | inline |
get_listeners() | SKListener | inlinestatic |
get_sk_path() | SKListener | inline |
notify() | Observable | |
output | ValueProducer< T > | protected |
parse_value(JsonObject &json) override | SKValueListener< T > | inlinevirtual |
sk_path | SKListener | protected |
SKListener(String sk_path, int listen_delay) | SKListener | |
SKValueListener(String sk_path, int listen_delay=1000) | SKValueListener< T > | inline |
ValueProducer() | ValueProducer< T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <signalk_value_listener.h>
+Public Member Functions | |
SKValueListener (String sk_path, int listen_delay=1000) | |
void | parse_value (JsonObject &json) override |
Public Member Functions inherited from SKListener | |
SKListener (String sk_path, int listen_delay) | |
String & | get_sk_path () |
int | get_listen_delay () |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from ValueProducer< T > | |
ValueProducer () | |
virtual const T & | get () |
void | connect_to (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connect_to (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from SKListener | |
static const std::vector< SKListener * > & | get_listeners () |
Protected Attributes inherited from SKListener | |
String | sk_path |
Protected Attributes inherited from ValueProducer< T > | |
T | output |
Definition at line 14 of file signalk_value_listener.h.
+
+
|
+ +inline | +
Definition at line 16 of file signalk_value_listener.h.
+ +
+
|
+ +inlineoverridevirtual | +
Reimplemented from SKListener.
+ +Definition at line 23 of file signalk_value_listener.h.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SensESPApp, including all inherited members.
+connect(ValueProducer< T > *producer, ValueConsumer< T > *consumer, uint8_t inputChannel=0) | SensESPApp | inline |
connect_1to1_h(T *sensor, U *transform, ObservableValue< String > *hostname) | SensESPApp | inline |
enable() | SensESPApp | |
get_hostname() | SensESPApp | |
HTTPServer class | SensESPApp | friend |
isSignalKConnected() | SensESPApp | inline |
isWifiConnected() | SensESPApp | inline |
reset() | SensESPApp | |
SensESPApp(String hostname="SensESP", String ssid="", String wifi_password="", String sk_server_address="", uint16_t sk_server_port=0, StandardSensors sensors=ALL, int led_pin=LED_PIN, bool enable_led=ENABLE_LED, int led_ws_connected=200, int led_wifi_connected=1000, int led_offline=2000) | SensESPApp | |
SensESPAppBuilder class | SensESPApp | friend |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <sensesp_app.h>
+Public Member Functions | |
SensESPApp (String hostname="SensESP", String ssid="", String wifi_password="", String sk_server_address="", uint16_t sk_server_port=0, StandardSensors sensors=ALL, int led_pin=LED_PIN, bool enable_led=ENABLE_LED, int led_ws_connected=200, int led_wifi_connected=1000, int led_offline=2000) | |
void | enable () |
void | reset () |
String | get_hostname () |
template<typename T > | |
void | connect (ValueProducer< T > *producer, ValueConsumer< T > *consumer, uint8_t inputChannel=0) |
template<typename T , typename U > | |
void | connect_1to1_h (T *sensor, U *transform, ObservableValue< String > *hostname) |
bool | isWifiConnected () |
bool | isSignalKConnected () |
+Friends | |
class | HTTPServer |
class | SensESPAppBuilder |
Definition at line 38 of file sensesp_app.h.
+SensESPApp::SensESPApp | +( | +String | +hostname = "SensESP" , |
+
+ | + | String | +ssid = "" , |
+
+ | + | String | +wifi_password = "" , |
+
+ | + | String | +sk_server_address = "" , |
+
+ | + | uint16_t | +sk_server_port = 0 , |
+
+ | + | StandardSensors | +sensors = ALL , |
+
+ | + | int | +led_pin = LED_PIN , |
+
+ | + | bool | +enable_led = ENABLE_LED , |
+
+ | + | int | +led_ws_connected = 200 , |
+
+ | + | int | +led_wifi_connected = 1000 , |
+
+ | + | int | +led_offline = 2000 |
+
+ | ) | ++ |
Definition at line 37 of file sensesp_app.cpp.
+ +
+
|
+ +inline | +
Definition at line 51 of file sensesp_app.h.
+
+
|
+ +inline | +
Definition at line 57 of file sensesp_app.h.
+void SensESPApp::enable | +( | +) | ++ |
Definition at line 122 of file sensesp_app.cpp.
+String SensESPApp::get_hostname | +( | +) | ++ |
Definition at line 183 of file sensesp_app.cpp.
+
+
|
+ +inline | +
Returns true if the host system is connected to a Signal K server
+ +Definition at line 79 of file sensesp_app.h.
+
+
|
+ +inline | +
Returns true if the host system is connected to Wifi
+ +Definition at line 74 of file sensesp_app.h.
+ +void SensESPApp::reset | +( | +) | ++ |
Definition at line 176 of file sensesp_app.cpp.
+
+
|
+ +friend | +
Definition at line 94 of file sensesp_app.h.
+ +
+
|
+ +friend | +
Definition at line 95 of file sensesp_app.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SensESPAppBuilder, including all inherited members.
+get_app() | SensESPAppBuilder | inline |
SensESPAppBuilder() | SensESPAppBuilder | inline |
set_hostname(String hostname) | SensESPAppBuilder | inline |
set_led_blinker(bool enabled, int websocket_connected, int wifi_connected, int offline) | SensESPAppBuilder | inline |
set_led_pin(int led_pin) | SensESPAppBuilder | inline |
set_sk_server(String address, uint16_t port) | SensESPAppBuilder | inline |
set_standard_sensors(StandardSensors sensors=ALL) | SensESPAppBuilder | inline |
set_wifi(String ssid, String password) | SensESPAppBuilder | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <sensesp_app_builder.h>
+Public Member Functions | |
SensESPAppBuilder () | |
SensESPAppBuilder * | set_wifi (String ssid, String password) |
SensESPAppBuilder * | set_sk_server (String address, uint16_t port) |
SensESPAppBuilder * | set_standard_sensors (StandardSensors sensors=ALL) |
SensESPAppBuilder * | set_led_pin (int led_pin) |
SensESPAppBuilder * | set_led_blinker (bool enabled, int websocket_connected, int wifi_connected, int offline) |
SensESPAppBuilder * | set_hostname (String hostname) |
SensESPApp * | get_app () |
Definition at line 6 of file sensesp_app_builder.h.
+
+
|
+ +inline | +
Definition at line 21 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 52 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 48 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 40 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 36 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 27 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 32 of file sensesp_app_builder.h.
+ +
+
|
+ +inline | +
Definition at line 22 of file sensesp_app_builder.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Sensor, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
enable() | Enable | inlinevirtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Static Public Member Functions | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Additional Inherited Members | |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SensorNXP_FXOS8700_FXAS21002, including all inherited members.
+connect(uint8_t pin_i2c_sda, uint8_t pin_i2c_scl) | SensorNXP_FXOS8700_FXAS21002 | |
gatherCalibrationDataOnce(bool is_print_results) | SensorNXP_FXOS8700_FXAS21002 | |
gatherOrientationDataOnce(bool is_print_results) | SensorNXP_FXOS8700_FXAS21002 | |
getAccelerationX(void) | SensorNXP_FXOS8700_FXAS21002 | |
getAccelerationY(void) | SensorNXP_FXOS8700_FXAS21002 | |
getAccelerationZ(void) | SensorNXP_FXOS8700_FXAS21002 | |
getHeadingRadians(void) | SensorNXP_FXOS8700_FXAS21002 | |
getPitchRadians(void) | SensorNXP_FXOS8700_FXAS21002 | |
getRateOfPitch(void) | SensorNXP_FXOS8700_FXAS21002 | |
getRateOfRoll(void) | SensorNXP_FXOS8700_FXAS21002 | |
getRateOfTurn(void) | SensorNXP_FXOS8700_FXAS21002 | |
getRollRadians(void) | SensorNXP_FXOS8700_FXAS21002 | |
initFilter(int sampling_interval_ms) | SensorNXP_FXOS8700_FXAS21002 | |
printSensorDetails(void) | SensorNXP_FXOS8700_FXAS21002 | |
SensorNXP_FXOS8700_FXAS21002(void) | SensorNXP_FXOS8700_FXAS21002 |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <sensor_nxp_fxos8700_fxas21002.h>
+Public Member Functions | |
SensorNXP_FXOS8700_FXAS21002 (void) | |
bool | connect (uint8_t pin_i2c_sda, uint8_t pin_i2c_scl) |
void | printSensorDetails (void) |
void | initFilter (int sampling_interval_ms) |
float | getHeadingRadians (void) |
float | getPitchRadians (void) |
float | getRollRadians (void) |
float | getAccelerationX (void) |
float | getAccelerationY (void) |
float | getAccelerationZ (void) |
float | getRateOfTurn (void) |
float | getRateOfPitch (void) |
float | getRateOfRoll (void) |
void | gatherCalibrationDataOnce (bool is_print_results) |
void | gatherOrientationDataOnce (bool is_print_results) |
Definition at line 40 of file sensor_nxp_fxos8700_fxas21002.h.
+SensorNXP_FXOS8700_FXAS21002::SensorNXP_FXOS8700_FXAS21002 | +( | +void | +) | ++ |
Definition at line 22 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +bool SensorNXP_FXOS8700_FXAS21002::connect | +( | +uint8_t | +pin_i2c_sda, | +
+ | + | uint8_t | +pin_i2c_scl | +
+ | ) | ++ |
Definition at line 29 of file sensor_nxp_fxos8700_fxas21002.cpp.
+void SensorNXP_FXOS8700_FXAS21002::gatherCalibrationDataOnce | +( | +bool | +is_print_results | ) | ++ |
Definition at line 198 of file sensor_nxp_fxos8700_fxas21002.cpp.
+void SensorNXP_FXOS8700_FXAS21002::gatherOrientationDataOnce | +( | +bool | +is_print_results | ) | ++ |
Definition at line 125 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getAccelerationX | +( | +void | +) | ++ |
Definition at line 99 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getAccelerationY | +( | +void | +) | ++ |
Definition at line 103 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getAccelerationZ | +( | +void | +) | ++ |
Definition at line 107 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getHeadingRadians | +( | +void | +) | ++ |
Definition at line 87 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getPitchRadians | +( | +void | +) | ++ |
Definition at line 91 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getRateOfPitch | +( | +void | +) | ++ |
Definition at line 115 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getRateOfRoll | +( | +void | +) | ++ |
Definition at line 119 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getRateOfTurn | +( | +void | +) | ++ |
Definition at line 111 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +float SensorNXP_FXOS8700_FXAS21002::getRollRadians | +( | +void | +) | ++ |
Definition at line 95 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +void SensorNXP_FXOS8700_FXAS21002::initFilter | +( | +int | +sampling_interval_ms | ) | ++ |
Definition at line 66 of file sensor_nxp_fxos8700_fxas21002.cpp.
+ +void SensorNXP_FXOS8700_FXAS21002::printSensorDetails | +( | +void | +) | ++ |
Definition at line 60 of file sensor_nxp_fxos8700_fxas21002.cpp.
+Definition at line 45 of file nmea_parser.h.
+Definition at line 44 of file nmea_parser.h.
Definition at line 542 of file nmea_parser.cpp.
+Definition at line 546 of file nmea_parser.cpp.
Definition at line 49 of file nmea_parser.h.
+Definition at line 48 of file nmea_parser.h.
Definition at line 57 of file nmea_parser.h.
+Definition at line 55 of file nmea_parser.h.
@@ -339,9 +335,7 @@
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for StringSensor, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< String > *consumer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connect_to(Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connectTo(ValueConsumer< String > *consumer, uint8_t input_channel=0) | ValueProducer< String > | inline |
connectTo(Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< String > | inline |
enable() | Enable | inlinevirtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< String > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
output | ValueProducer< String > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
StringSensor(String config_path="") | StringSensor | |
ValueProducer() | ValueProducer< String > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | enable () |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< String > | |
ValueProducer () | |
virtual const String & | get () |
void | connectTo (ValueConsumer< String > *pConsumer, uint8_t inputChannel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< String > *consumer, uint8_t input_channel=0) |
Transform< String, T2 > * | connect_to (Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< String > *consumer, uint8_t input_channel=0) |
Transform< String, T2 > * | connectTo (Transform< String, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |||||||
static const std::set< Sensor * > & | get_sensors () | ||||||
Static Public Member Functions inherited from Enable | |||||||
static void | enableAll () | ||||||
static void | enable_all () | ||||||
static void | enableAll () | ||||||
Public Attributes inherited from Configurable | |||||||
const String | config_path | ||||||
Protected Member Functions inherited from Configurable | |||||||
virtual void | load_configuration () | ||||||
Protected Attributes inherited from Enable | |||||||
const char * | className = "Enable" | ||||||
Protected Attributes inherited from ValueProducer< String > | |||||||
String | output | ||||||
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SymmetricTransform< T >, including all inherited members.
+connectFrom(ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) | Transform< T, T > | inline |
SymmetricTransform(String config_path="") | SymmetricTransform< T > | inline |
Transform(String config_path="") | Transform< T, T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <transform.h>
+Public Member Functions | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< T, T > | |
Transform (String config_path="") | |
Transform< T, T > * | connectFrom (ValueProducer< T > *producer0, ValueProducer< T > *producer1=NULL, ValueProducer< T > *producer2=NULL, ValueProducer< T > *producer3=NULL, ValueProducer< T > *producer4=NULL) |
A SymmetricTransform is a common type of transform that consumes, transforms, then outputs values of the same data type.
+ +Definition at line 89 of file transform.h.
+
+
|
+ +inline | +
Definition at line 91 of file transform.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for SystemHz, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | SystemHz | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
get_value_name() | SystemHz | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
SystemHz() | SystemHz | inline |
ValueProducer() | ValueProducer< float > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |||||||||||||||||||||||||
static const std::set< Sensor * > & | get_sensors () | ||||||||||||||||||||||||
Static Public Member Functions inherited from Enable | |||||||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||||||
static void | enable_all () | ||||||||||||||||||||||||
static void | enableAll () | ||||||||||||||||||||||||
Public Attributes inherited from Configurable | |||||||||||||||||||||||||
const String | config_path | ||||||||||||||||||||||||
Protected Member Functions inherited from Configurable | |||||||||||||||||||||||||
virtual void | load_configuration () | ||||||||||||||||||||||||
Protected Attributes inherited from Enable | |||||||||||||||||||||||||
const char * | className = "Enable" | ||||||||||||||||||||||||
Protected Attributes inherited from ValueProducer< float > | |||||||||||||||||||||||||
float | output | ||||||||||||||||||||||||
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ThresholdTransform< C, P >, including all inherited members.
+connectFrom(ValueProducer< P > *producer0, ValueProducer< P > *producer1=NULL, ValueProducer< P > *producer2=NULL, ValueProducer< P > *producer3=NULL, ValueProducer< P > *producer4=NULL) | Transform< C, P > | inline |
in_range | ThresholdTransform< C, P > | protected |
max_value | ThresholdTransform< C, P > | protected |
min_value | ThresholdTransform< C, P > | protected |
out_range | ThresholdTransform< C, P > | protected |
set_input(C new_value, uint8_t input_channel=0) override | ThresholdTransform< C, P > | virtual |
ThresholdTransform(C min_value, C max_value, P in_range, P out_range, String config_path="") | ThresholdTransform< C, P > | inline |
Transform(String config_path="") | Transform< C, P > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <threshold.h>
+Public Member Functions | |
ThresholdTransform (C min_value, C max_value, P in_range, P out_range, String config_path="") | |
virtual void | set_input (C new_value, uint8_t input_channel=0) override |
Public Member Functions inherited from Transform< C, P > | |
Transform (String config_path="") | |
Transform< C, P > * | connectFrom (ValueProducer< P > *producer0, ValueProducer< P > *producer1=NULL, ValueProducer< P > *producer2=NULL, ValueProducer< P > *producer3=NULL, ValueProducer< P > *producer4=NULL) |
+Protected Attributes | |
C | min_value |
C | max_value |
P | in_range |
P | out_range |
A Transform base class that translates the value of type C into value of type P. Base class for classes NumericThreshold and IntegerThreshold.
+Arguments are:
+min_value - minimum value of input for output to be the value of in_range. max_value - maximum value of input for output to be the value of in_range. in_range - output value if input value is in range out_range - output value if input value is out of the range
+ +Definition at line 17 of file threshold.h.
+
+
|
+ +inline | +
Definition at line 19 of file threshold.h.
+ +
+
|
+ +overridevirtual | +
Definition at line 4 of file threshold.cpp.
+ +
+
|
+ +protected | +
Definition at line 33 of file threshold.h.
+ +
+
|
+ +protected | +
Definition at line 32 of file threshold.h.
+ +
+
|
+ +protected | +
Definition at line 31 of file threshold.h.
+ +
+
|
+ +protected | +
Definition at line 34 of file threshold.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for TimeString, including all inherited members.
+connectFrom(ValueProducer< String > *producer0, ValueProducer< String > *producer1=NULL, ValueProducer< String > *producer2=NULL, ValueProducer< String > *producer3=NULL, ValueProducer< String > *producer4=NULL) | Transform< time_t, String > | inline |
set_input(time_t input, uint8_t input_channel=0) override | TimeString | virtual |
TimeString(String config_path="") | TimeString | |
Transform(String config_path="") | Transform< time_t, String > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <timestring.h>
+Public Member Functions | |
TimeString (String config_path="") | |
virtual void | set_input (time_t input, uint8_t input_channel=0) override |
Public Member Functions inherited from Transform< time_t, String > | |
Transform (String config_path="") | |
Transform< time_t, String > * | connectFrom (ValueProducer< String > *producer0, ValueProducer< String > *producer1=NULL, ValueProducer< String > *producer2=NULL, ValueProducer< String > *producer3=NULL, ValueProducer< String > *producer4=NULL) |
TimeString consumes a time_t time object and produces a human readable string of the time for UTC in ISO 8601 format.
+ +Definition at line 13 of file timestring.h.
+TimeString::TimeString | +( | +String | +config_path = "" | ) | ++ |
Definition at line 4 of file timestring.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 7 of file timestring.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Transform< C, P >, including all inherited members.
+connectFrom(ValueProducer< P > *producer0, ValueProducer< P > *producer1=NULL, ValueProducer< P > *producer2=NULL, ValueProducer< P > *producer3=NULL, ValueProducer< P > *producer4=NULL) | Transform< C, P > | inline |
Transform(String config_path="") | Transform< C, P > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <transform.h>
+Public Member Functions | |
Transform (String config_path="") | |
Transform< C, P > * | connectFrom (ValueProducer< P > *producer0, ValueProducer< P > *producer1=NULL, ValueProducer< P > *producer2=NULL, ValueProducer< P > *producer3=NULL, ValueProducer< P > *producer4=NULL) |
The main Transform class. A transform is identified primarily by the type of value that is produces (i.e. a Transform<float> is a ValueProducer<float> that generates float values)
+ +Definition at line 46 of file transform.h.
+
+
|
+ +inline | +
Definition at line 50 of file transform.h.
+ +
+
|
+ +inline | +
A convenience method that allows up to five producers to be quickly connected to the input of the ValueConsumer side of this transform. The first producer will be connected to input channel zero, the second one to input channel 1, etc. "this" is returned, which allows the ValueProducer side of this transform to then be wired to other transforms via a call to connect_to().
+ +Definition at line 62 of file transform.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for TransformBase, including all inherited members.
+config_path | Configurable | |
Configurable(String config_path) | Configurable | |
Enable(uint8_t priority=0) | Enable | |
enable() | Enable | inlinevirtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_transforms() | TransformBase | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
save_configuration() | Configurable | virtual |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
TransformBase(String config_path="") | TransformBase |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <transform.h>
+Public Member Functions | |
TransformBase (String config_path="") | |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
virtual void | enable () |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
+Static Public Member Functions | |
static const std::set< TransformBase * > & | get_transforms () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
+Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
The base class for all transforms. All transforms are can be subscribed to by calling attach() (inherited from Observable). They can have an optional persistence configuration by specifying an "id" to save the configuration data in.
+ +Definition at line 27 of file transform.h.
+TransformBase::TransformBase | +( | +String | +config_path = "" | ) | ++ |
Definition at line 10 of file transform.cpp.
+ +
+
|
+ +inlinestatic | +
Definition at line 34 of file transform.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for UltrasonicDistance, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
enable() override final | UltrasonicDistance | virtual |
Enable(uint8_t priority=0) | Enable | |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_priority(uint8_t priority) | Enable | inline |
UltrasonicDistance(int8_t trigger_pin, int8_t input_pin, uint read_delay=1000, String config_path="") | UltrasonicDistance | |
ValueProducer() | ValueProducer< float > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ultrasonic_distance.h>
+Public Member Functions | |
UltrasonicDistance (int8_t trigger_pin, int8_t input_pin, uint read_delay=1000, String config_path="") | |
void | enable () override final |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 6 of file ultrasonic_distance.h.
+UltrasonicDistance::UltrasonicDistance | +( | +int8_t | +trigger_pin, | +
+ | + | int8_t | +input_pin, | +
+ | + | uint | +read_delay = 1000 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 6 of file ultrasonic_distance.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 17 of file ultrasonic_distance.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for Uptime, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | Uptime | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
get_value_name() | Uptime | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
Uptime() | Uptime | inline |
ValueProducer() | ValueProducer< float > | inline |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual JsonObject & | get_configuration (JsonBuffer &buf) |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
void | setClassName (const char *newClassName) |
virtual const char * | getClassName () |
const uint8_t | getEnablePriority () |
void | setPriority (uint8_t priority) |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connectTo (ValueConsumer< float > *pConsumer, uint8_t inputChannel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *pConsumerProducer, uint8_t inputChannel=0) |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
Additional Inherited Members | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enableAll () |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from Enable | |
const char * | className = "Enable" |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 28 of file system_info.h.
+Definition at line 30 of file system_info.h.
Definition at line 30 of file system_info.h.
+Definition at line 32 of file system_info.h.
Definition at line 52 of file system_info.cpp.
+Definition at line 46 of file system_info.cpp.
@@ -268,7 +263,7 @@Definition at line 32 of file system_info.h.
+Definition at line 34 of file system_info.h.
@@ -282,9 +277,7 @@This is the complete list of members for ValueConsumer< T >, including all inherited members.
connectFrom(ValueProducer< T > *pProducer, uint8_t inputChannel=0) | ValueConsumer< T > | inline |
set_input(T newValue, uint8_t inputChannel=0) | ValueConsumer< T > | inlinevirtual |
connect_from(ValueProducer< T > *producer, uint8_t input_channel=0) | ValueConsumer< T > | inline |
connectFrom(ValueProducer< T > *producer, uint8_t input_channel=0) | ValueConsumer< T > | inline |
set_input(T new_value, uint8_t input_channel=0) | ValueConsumer< T > | inlinevirtual |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <valueconsumer.h>
+Public Member Functions | |
virtual void | set_input (T new_value, uint8_t input_channel=0) |
void | connect_from (ValueProducer< T > *producer, uint8_t input_channel=0) |
void | connectFrom (ValueProducer< T > *producer, uint8_t input_channel=0) |
A ValueConsumer is any piece of code (like a transformation) that accepts data for input. They can accept one or more input values via the set_input() method. They are connected to ValueProducers via the connect_to() method.
Definition at line 18 of file valueconsumer.h.
+
+
|
+ +inline | +
Registers this consumer with the specified producer, letting it know that this consumer would like to receive notifications whenever its value changes.
input_channel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 38 of file valueconsumer.h.
+
+
|
+ +inline | +
Definition at line 45 of file valueconsumer.h.
+
+
|
+ +inlinevirtual | +
Used to set an input of this consumer. It is usually called automatically by a ValueProducer.
new_value | the value of the input |
input_channel | Consumers can have one or more inputs feeding them. This parameter allows you to specify which input number the producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 28 of file valueconsumer.h.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for ValueProducer< T >, including all inherited members.
+connect_to(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connect_to(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connectTo(ValueConsumer< T > *consumer, uint8_t input_channel=0) | ValueProducer< T > | inline |
connectTo(Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< T > | inline |
get() | ValueProducer< T > | inlinevirtual |
output | ValueProducer< T > | protected |
ValueProducer() | ValueProducer< T > | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <valueproducer.h>
+Public Member Functions | |
ValueProducer () | |
virtual const T & | get () |
void | connect_to (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< T > *consumer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connect_to (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
template<typename T2 > | |
Transform< T, T2 > * | connectTo (Transform< T, T2 > *consumer_producer, uint8_t input_channel=0) |
+Protected Attributes | |
T | output |
A ValueProducer<> is any sensor or piece of code that outputs a value for consumption elsewhere. They are Observable, allowing code to be notified whenever a new value is available. They can be connected directly to ValueConsumers of the same type using the connect_to() method.
+ +Definition at line 20 of file valueproducer.h.
+
+
|
+ +inline | +
Definition at line 22 of file valueproducer.h.
+ +
+
|
+ +inline | +
If the consumer this producer is connecting to is ALSO a producer of values of the same type, connect_to() calls can be chained together, as this specialized version returns the producer/consumer being conencted to so connect_to() can be called on THAT object.
input_channel | Consumers can have one or more inputs feeding them This parameter allows you to specify which input number this producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 64 of file valueproducer.h.
+ +
+
|
+ +inline | +
Connects this producer to the specified consumer, registering that consumer for notifications to when this producer's value changes
input_channel | Consumers can have one or more inputs feeding them This parameter allows you to specify which input number this producer is connecting to. For single input consumers, leave the index at zero. |
Definition at line 38 of file valueproducer.h.
+
+
|
+ +inline | +
Definition at line 75 of file valueproducer.h.
+ +
+
|
+ +inline | +
Definition at line 46 of file valueproducer.h.
+ +
+
|
+ +inlinevirtual | +
Returns the current value of this producer
+ +Definition at line 27 of file valueproducer.h.
+
+
|
+ +protected | +
The current value of this producer is stored here in this output member (unless descendant classes override ValueProducer::get())
+ +Definition at line 86 of file valueproducer.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for VoltageDividerR1, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | VoltageDividerR1 | virtual |
get_configuration(JsonObject &doc) override | VoltageDividerR1 | virtual |
R2 | VoltageDividerR1 | protected |
set_configuration(const JsonObject &config) override | VoltageDividerR1 | virtual |
set_input(float Vout, uint8_t ignored=0) override | VoltageDividerR1 | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
Vin | VoltageDividerR1 | protected |
VoltageDividerR1(float R2, float Vin=3.3, String config_path="") | VoltageDividerR1 |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <voltagedivider.h>
+Public Member Functions | |
VoltageDividerR1 (float R2, float Vin=3.3, String config_path="") | |
virtual void | set_input (float Vout, uint8_t ignored=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
+Protected Attributes | |
float | R2 |
float | Vin |
A transform that uses the voltage divider formula to resolve the resistance of R1 in the circuit, given a fixed voltage sent into the divider (Vin), a known resistance an the junction of the two resistors (R2), and the output of the divider (Vout).
+Here, the output is the voltage across the fixed resistor (R2) between the junction and ground and the variable resistor is connected between Vin and the junction.
+R2 is selected on the basis of the range of values for R1 and the maximum input voltage for the MCU's analog input.
+ +Definition at line 19 of file voltagedivider.h.
+VoltageDividerR1::VoltageDividerR1 | +( | +float | +R2, | +
+ | + | float | +Vin = 3.3 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 3 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 26 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 13 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 28 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 8 of file voltagedivider.cpp.
+ +
+
|
+ +protected | +
Definition at line 31 of file voltagedivider.h.
+ +
+
|
+ +protected | +
Definition at line 32 of file voltagedivider.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for VoltageDividerR2, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
get_config_schema() override | VoltageDividerR2 | virtual |
get_configuration(JsonObject &doc) override | VoltageDividerR2 | virtual |
R1 | VoltageDividerR2 | protected |
set_configuration(const JsonObject &config) override | VoltageDividerR2 | virtual |
set_input(float Vout, uint8_t ignored=0) override | VoltageDividerR2 | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
Vin | VoltageDividerR2 | protected |
VoltageDividerR2(float R1, float Vin=3.3, String config_path="") | VoltageDividerR2 |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <voltagedivider.h>
+Public Member Functions | |
VoltageDividerR2 (float R1, float Vin=3.3, String config_path="") | |
virtual void | set_input (float Vout, uint8_t ignored=0) override |
virtual void | get_configuration (JsonObject &doc) override |
virtual bool | set_configuration (const JsonObject &config) override |
virtual String | get_config_schema () override |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
+Protected Attributes | |
float | R1 |
float | Vin |
A transform that uses the voltage divider formula to resolve the resistance of R2 in the circuit, given a fixed voltage sent into the divider (Vin), a known resistance an the junction of the two resistors (R1), and the output of the divider (Vout). This is the typical way a sensor such as a temperature sender or oil pressure sender is wired up: the sender's resistance varies based on temperature or pressure, so it is usually "R2" in a voltage divider. R1 and/or Vin is selected in such a way to ensure Vout (the value read by the MCU's analog input) does not exceed 3.3 volts.
+ +Definition at line 45 of file voltagedivider.h.
+VoltageDividerR2::VoltageDividerR2 | +( | +float | +R1, | +
+ | + | float | +Vin = 3.3 , |
+
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 45 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 68 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 55 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 70 of file voltagedivider.cpp.
+ +
+
|
+ +overridevirtual | +
Definition at line 50 of file voltagedivider.cpp.
+ +
+
|
+ +protected | +
Definition at line 57 of file voltagedivider.h.
+ +
+
|
+ +protected | +
Definition at line 58 of file voltagedivider.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for VoltageMultiplier, including all inherited members.
+connectFrom(ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) | Transform< float, float > | inline |
set_input(float input, uint8_t inputChannel=0) | VoltageMultiplier | virtual |
SymmetricTransform(String config_path="") | SymmetricTransform< float > | inline |
Transform(String config_path="") | Transform< float, float > | inline |
VoltageMultiplier(uint16_t R1, uint16_t R2, String config_path="") | VoltageMultiplier |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <voltage_multiplier.h>
+Public Member Functions | |
VoltageMultiplier (uint16_t R1, uint16_t R2, String config_path="") | |
virtual void | set_input (float input, uint8_t inputChannel=0) |
Public Member Functions inherited from SymmetricTransform< float > | |
SymmetricTransform (String config_path="") | |
Public Member Functions inherited from Transform< float, float > | |
Transform (String config_path="") | |
Transform< float, float > * | connectFrom (ValueProducer< float > *producer0, ValueProducer< float > *producer1=NULL, ValueProducer< float > *producer2=NULL, ValueProducer< float > *producer3=NULL, ValueProducer< float > *producer4=NULL) |
A transform that does the opposite of what a physical voltage divider circuit does. Used to convert the voltage that comes out of a voltage divider back into the original voltage that went into the voltage divider.
+Use case: measuring a ~12V DC source with an analog-to-digital converter (ADC) that can take only 5V. You use a physical voltage divider circuit to reduce from ~12V down to a range that's no higher than 5V. After you read the output from the ADC and convert it into voltage, you have to reverse the effect of the voltage divider circuit to know the original source voltage.
+Two parameters:
+For maximum accuracy, you should measure the actual ohms value of your resistors, rather than just assuming they are as labeled.
+ +Definition at line 25 of file voltage_multiplier.h.
+VoltageMultiplier::VoltageMultiplier | +( | +uint16_t | +R1, | +
+ | + | uint16_t | +R2, | +
+ | + | String | +config_path = "" |
+
+ | ) | ++ |
Definition at line 3 of file voltage_multiplier.cpp.
+ +
+
|
+ +virtual | +
Definition at line 7 of file voltage_multiplier.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ws_client.h>
+Public Member Functions | |
WSClient (String config_path, SKDelta *sk_delta, String server_address, uint16_t server_port, std::function< void(bool)> connected_cb, void_cb_func delta_cb) | |
void | enable () |
void | on_disconnected () |
void | on_error () |
void | on_connected (uint8_t *payload) |
void | on_receive_delta (uint8_t *payload) |
void | connect () |
void | loop () |
bool | is_connected () |
void | restart () |
void | send_delta () |
const String | get_server_address () |
const uint16_t | get_server_port () |
virtual void | get_configuration (JsonObject &doc) override final |
virtual bool | set_configuration (const JsonObject &config) override final |
virtual String | get_config_schema () override |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | save_configuration () |
+Additional Inherited Members | |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Definition at line 16 of file ws_client.h.
+WSClient::WSClient | +( | +String | +config_path, | +
+ | + | SKDelta * | +sk_delta, | +
+ | + | String | +server_address, | +
+ | + | uint16_t | +server_port, | +
+ | + | std::function< void(bool)> | +connected_cb, | +
+ | + | void_cb_func | +delta_cb | +
+ | ) | ++ |
Definition at line 42 of file ws_client.cpp.
+ +void WSClient::connect | +( | +) | ++ |
Definition at line 184 of file ws_client.cpp.
+void WSClient::enable | +( | +) | ++ |
Definition at line 61 of file ws_client.cpp.
+
+
|
+ +overridevirtual | +
Returns a configuration schema that specifies the key/value pairs that can be expected when calling get_configuration(), or are expected by set_configuration(). The schema will be in JSON Schema format
Reimplemented from Configurable.
+ +Definition at line 467 of file ws_client.cpp.
+ +
+
|
+ +finaloverridevirtual | +
Returns the current configuration data as a JsonObject. In general, the current state of local member variables are saved to a new object created with JsonDocument::as<JsonObject>() and returned.
+ +Reimplemented from Configurable.
+ +Definition at line 433 of file ws_client.cpp.
+ +
+
|
+ +inline | +
Definition at line 32 of file ws_client.h.
+
+
|
+ +inline | +
Definition at line 33 of file ws_client.h.
+bool WSClient::is_connected | +( | +) | ++ |
Definition at line 413 of file ws_client.cpp.
+void WSClient::loop | +( | +) | ++ |
Definition at line 406 of file ws_client.cpp.
+void WSClient::on_connected | +( | +uint8_t * | +payload | ) | ++ |
Definition at line 94 of file ws_client.cpp.
+void WSClient::on_disconnected | +( | +) | ++ |
Definition at line 74 of file ws_client.cpp.
+void WSClient::on_error | +( | +) | ++ |
Definition at line 88 of file ws_client.cpp.
+void WSClient::on_receive_delta | +( | +uint8_t * | +payload | ) | ++ |
Definition at line 132 of file ws_client.cpp.
+void WSClient::restart | +( | +) | ++ |
Definition at line 415 of file ws_client.cpp.
+ +void WSClient::send_delta | +( | +) | ++ |
Definition at line 422 of file ws_client.cpp.
+
+
|
+ +finaloverridevirtual | +
Sets the current state of local member variables using the data stored in config.
+ +Reimplemented from Configurable.
+ +Definition at line 475 of file ws_client.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This is the complete list of members for WifiSignal, including all inherited members.
+attach(std::function< void()> observer) | Observable | |
config_path | Configurable | |
Configurable(String config_path) | Configurable | |
connect_to(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connect_to(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(ValueConsumer< float > *consumer, uint8_t input_channel=0) | ValueProducer< float > | inline |
connectTo(Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) | ValueProducer< float > | inline |
Enable(uint8_t priority=0) | Enable | |
enable() override final | WifiSignal | virtual |
enable_all() | Enable | static |
enableAll() | Enable | inlinestatic |
get() | ValueProducer< float > | inlinevirtual |
get_config_schema() | Configurable | virtual |
get_configuration(JsonObject &configObject) | Configurable | virtual |
get_enable_priority() | Enable | inline |
get_sensors() | Sensor | inlinestatic |
get_value_name() | WifiSignal | inline |
load_configuration() | Configurable | protectedvirtual |
notify() | Observable | |
NumericSensor(String config_path="") | NumericSensor | |
output | ValueProducer< float > | protected |
save_configuration() | Configurable | virtual |
Sensor(String config_path="") | Sensor | |
set_configuration(const JsonObject &config) | Configurable | virtual |
set_priority(uint8_t priority) | Enable | inline |
ValueProducer() | ValueProducer< float > | inline |
WifiSignal() | WifiSignal | inline |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <system_info.h>
+Public Member Functions | |
WifiSignal () | |
void | enable () override final |
String | get_value_name () |
Public Member Functions inherited from NumericSensor | |
NumericSensor (String config_path="") | |
Public Member Functions inherited from Sensor | |
Sensor (String config_path="") | |
Public Member Functions inherited from Observable | |
void | notify () |
void | attach (std::function< void()> observer) |
Public Member Functions inherited from Configurable | |
Configurable (String config_path) | |
virtual void | get_configuration (JsonObject &configObject) |
virtual bool | set_configuration (const JsonObject &config) |
virtual String | get_config_schema () |
virtual void | save_configuration () |
Public Member Functions inherited from Enable | |
Enable (uint8_t priority=0) | |
const uint8_t | get_enable_priority () |
void | set_priority (uint8_t priority) |
Public Member Functions inherited from ValueProducer< float > | |
ValueProducer () | |
virtual const float & | get () |
void | connect_to (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connect_to (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
void | connectTo (ValueConsumer< float > *consumer, uint8_t input_channel=0) |
Transform< float, T2 > * | connectTo (Transform< float, T2 > *consumer_producer, uint8_t input_channel=0) |
+Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
static const std::set< Sensor * > & | get_sensors () |
Static Public Member Functions inherited from Enable | |
static void | enable_all () |
static void | enableAll () |
Public Attributes inherited from Configurable | |
const String | config_path |
Protected Member Functions inherited from Configurable | |
virtual void | load_configuration () |
Protected Attributes inherited from ValueProducer< float > | |
float | output |
Definition at line 50 of file system_info.h.
+
+
|
+ +inline | +
Definition at line 52 of file system_info.h.
+ +
+
|
+ +finaloverridevirtual | +
Called during the initialization process. Override this method to add runtime initialization code to your class
+ +Reimplemented from Enable.
+ +Definition at line 59 of file system_info.cpp.
+ +
+
|
+ +inline | +
Definition at line 54 of file system_info.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
|
+DigitalInputCounter | +IntegerThreshold | +
|
+StringSensor | +|||
DigitalInputValue | +Integrator | +SymmetricTransform | +|||||
ADS1x15 | +DigitalOutput | +IPAddrDev | +ParamInfo | +SystemHz | +|||
ADS1x15Value | +
|
+
|
+Position | +
|
+|||
ADS1x15Voltage | +PSTI030SentenceParser | +||||||
AnalogInput | +Enable | +LambdaTransform | +PSTI032SentenceParser | +ThresholdTransform | +|||
AnalogVoltage | +ENUVector | +LedBlinker | +PSTISentenceParser | +TimeString | +|||
AngleCorrection | +
|
+Linear | +
|
+Transform | +|||
|
+
|
+TransformBase | +|||||
FreeMem | +Read9DOF | +
|
+|||||
BaseAnalogReader | +Frequency | +MAX31856Thermocouple | +
|
+||||
BME280 | +
|
+Median | +UltrasonicDistance | +||||
BME280Value | +MovingAverage | +CurveInterpolator::Sample | +Uptime | +||||
BMP280 | +GPGGASentenceParser | +
|
+SensESPApp | +
|
+|||
BMP280Value | +GPGLLSentenceParser | +SensESPAppBuilder | +|||||
|
+GPRMCSentenceParser | +Networking | +Sensor | +ValueConsumer | +|||
GPSInput | +NMEAData | +SensorNXP_FXOS8700_FXAS21002 | +ValueProducer | +||||
ChangeFilter | +
|
+NMEAParser | +SentenceParser | +VoltageDividerR1 | +|||
Configurable | +NumericSensor | +SHT31 | +VoltageDividerR2 | +||||
CurveInterpolator | +HTTPServer | +NumericThreshold | +SHT31Value | +VoltageMultiplier | +|||
|
+Hysteresis | +
|
+SKDelta | +
|
+|||
|
+SKEmitter | +||||||
DallasTemperatureSensors | +Observable | +SKListener | +WifiSignal | +||||
Debounce | +INA219 | +ObservableValue | +SKOutput | +WSClient | +|||
Difference | +INA219Value | +OneWireTemperature | +SKOutputTime | +||||
DigitalInput | +IntegerSensor | +Orientation9DOF | +SKValueListener | +||||
#include "sensesp.h"
#include "configurable.h"
#include "FS.h"
Definition at line 10 of file configurable.cpp.
+Definition at line 14 of file configurable.cpp.
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ArduinoJson.h>
#include <map>
#include "Arduino.h"
Go to the source code of this file.
++Classes | |
class | Configurable |
+Variables | |
std::map< String, Configurable * > | configurables |
+
|
+ +extern | +
Definition at line 14 of file configurable.cpp.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transforms/transform.h"
Go to the source code of this file.
++Classes | |
class | CurveInterpolator |
class | CurveInterpolator::Sample |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "debounce.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transforms/transform.h"
Go to the source code of this file.
++Classes | |
class | Debounce |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "difference.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transform.h"
Go to the source code of this file.
++Classes | |
class | Difference |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "sensor.h"
Go to the source code of this file.
++Classes | |
class | DigitalInput |
class | DigitalInputValue |
class | DigitalInputCounter |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | DigitalOutput |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
File in src/net | Includes file in src/net/web |
---|---|
http.cpp | index.h |
http.cpp | js_jsoneditor.h |
http.cpp | setup.h |
File in src/net | Includes file in src/net/web |
---|---|
http.cpp | index.h |
http.cpp | js_jsoneditor.h |
http.cpp | js_sensesp.h |
http.cpp | setup.h |
File in src/net | Includes file in src/signalk |
---|---|
ws_client.h | signalk_delta.h |
File in src/net | Includes file in src/signalk |
---|---|
ws_client.cpp | signalk_listener.h |
ws_client.h | signalk_delta.h |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/dir_000004_000003.html b/docs/generated/docs/dir_000004_000003.html
similarity index 89%
rename from docs/dir_000004_000003.html
rename to docs/generated/docs/dir_000004_000003.html
index eaa067740..4ce7c7dd6 100644
--- a/docs/dir_000004_000003.html
+++ b/docs/generated/docs/dir_000004_000003.html
@@ -3,7 +3,7 @@
-
+
+
+
+
+
+
+
+
+
+
+sensors → system Relation
|
---|
File in src/signalk | Includes file in src/system |
---|---|
signalk_emitter.h | configurable.h |
signalk_emitter.h | observable.h |
signalk_emitter.h | valueproducer.h |
File in src/signalk | Includes file in src/system |
---|---|
signalk_emitter.h | configurable.h |
signalk_emitter.h | observable.h |
signalk_emitter.h | valueproducer.h |
signalk_listener.h | configurable.h |
signalk_listener.h | observable.h |
signalk_listener.h | valueproducer.h |
signalk_value_listener.h | observable.h |
signalk_value_listener.h | valueproducer.h |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+Directories | |
directory | net |
directory | sensors |
directory | signalk |
directory | system |
directory | transforms |
+Files | |
file | main.cpp [code] |
file | sensesp.h [code] |
file | sensesp_app.cpp [code] |
file | sensesp_app.h [code] |
file | sensesp_app_builder.h [code] |
file | wiring_helpers.cpp [code] |
file | wiring_helpers.h [code] |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+Files | |
file | ads1x15.cpp [code] |
file | ads1x15.h [code] |
file | analog_input.cpp [code] |
file | analog_input.h [code] |
file | analog_reader.h [code] |
file | bme280.cpp [code] |
file | bme280.h [code] |
file | bmp280.cpp [code] |
file | bmp280.h [code] |
file | digital_input.cpp [code] |
file | digital_input.h [code] |
file | digital_output.cpp [code] |
file | digital_output.h [code] |
file | gps.cpp [code] |
file | gps.h [code] |
file | ina219.cpp [code] |
file | ina219.h [code] |
file | max31856_thermocouple.cpp [code] |
file | max31856_thermocouple.h [code] |
file | onewire_temperature.cpp [code] |
file | onewire_temperature.h [code] |
file | orientation_9dof_input.cpp [code] |
file | orientation_9dof_input.h [code] |
file | sensor.cpp [code] |
file | sensor.h [code] |
file | sensor_nxp_fxos8700_fxas21002.cpp [code] |
file | sensor_nxp_fxos8700_fxas21002.h [code] |
file | sht31.cpp [code] |
file | sht31.h [code] |
file | system_info.cpp [code] |
file | system_info.h [code] |
file | ultrasonic_distance.cpp [code] |
file | ultrasonic_distance.h [code] |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+Files | |
file | signalk_delta.cpp [code] |
file | signalk_delta.h [code] |
file | signalk_emitter.cpp [code] |
file | signalk_emitter.h [code] |
file | signalk_listener.cpp [code] |
file | signalk_listener.h [code] |
file | signalk_output.h [code] |
file | signalk_position.cpp [code] |
file | signalk_position.h [code] |
file | signalk_time.cpp [code] |
file | signalk_time.h [code] |
file | signalk_value_listener.h [code] |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+Files | |
file | ads1x15_voltage.cpp [code] |
file | ads1x15_voltage.h [code] |
file | analogvoltage.cpp [code] |
file | analogvoltage.h [code] |
file | angle_correction.cpp [code] |
file | angle_correction.h [code] |
file | change_filter.cpp [code] |
file | change_filter.h [code] |
file | curveinterpolator.cpp [code] |
file | curveinterpolator.h [code] |
file | debounce.cpp [code] |
file | debounce.h [code] |
file | difference.cpp [code] |
file | difference.h [code] |
file | frequency.cpp [code] |
file | frequency.h [code] |
file | hysteresis.h [code] |
file | integrator.cpp [code] |
file | integrator.h [code] |
file | lambda_transform.cpp [code] |
file | lambda_transform.h [code] |
file | linear.cpp [code] |
file | linear.h [code] |
file | median.cpp [code] |
file | median.h [code] |
file | moving_average.cpp [code] |
file | moving_average.h [code] |
file | threshold.cpp [code] |
file | threshold.h [code] |
file | timestring.cpp [code] |
file | timestring.h [code] |
file | transform.cpp [code] |
file | transform.h [code] |
file | voltage_multiplier.cpp [code] |
file | voltage_multiplier.h [code] |
file | voltagedivider.cpp [code] |
file | voltagedivider.h [code] |
Functions | |
void | setup_discovery (const char *hostname) |
void | setup_discovery (const char *hostname) |
Definition at line 10 of file discovery.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Functions | |
void | setup_discovery (const char *hostname) |
void | setup_discovery (const char *hostname) |
Definition at line 10 of file discovery.cpp.
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | Enable |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
▼ src | |
► net | |
► sensors | |
► signalk | |
► system | |
► transforms | |
main.cpp | |
sensesp.h | |
sensesp_app.cpp | |
sensesp_app.h | |
sensesp_app_builder.h | |
wiring_helpers.cpp | |
wiring_helpers.h |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "frequency.h"
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transform.h"
Go to the source code of this file.
++Classes | |
class | Frequency |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | GPSInput |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
This page explains how to interpret the graphs that are generated by doxygen.
+Consider the following example:
This will result in the following graph:
+The boxes in the above graph have the following meaning:
+The arrows have the following meaning:
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
CBaseAnalogReader | |
▼CConfigurable | |
CNetworking | |
►CSensor | |
CTransformBase | |
CWSClient | |
▼CEnable | |
CSensor | |
CTransformBase | |
CENUVector | |
CHTTPServer | |
CLedBlinker | |
CNMEAData | |
CNMEAParser | |
▼CObservable | |
CSensor | |
►CSKEmitter | |
►CSKListener | |
CParamInfo | |
CPosition | |
CCurveInterpolator::Sample | |
CSensESPApp | |
CSensESPAppBuilder | |
CSensorNXP_FXOS8700_FXAS21002 | |
▼CSentenceParser | |
CGPGGASentenceParser | |
CGPGLLSentenceParser | |
CGPRMCSentenceParser | |
CPSTI030SentenceParser | |
CPSTI032SentenceParser | |
CPSTISentenceParser | |
CSKDelta | |
▼CTransform< C, P > | |
CThresholdTransform< C, P > | |
▼CTransform< float, bool > | |
►CThresholdTransform< float, bool > | |
▼CTransform< float, float > | |
►CLambdaTransform< float, float, float, float > | |
►CSymmetricTransform< float > | |
▼CTransform< IN, OUT > | |
CLambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > | Construct a new transform based on a single function |
►CLambdaTransform< IN, OUT, IN, IN, OUT, OUT > | |
▼CTransform< int, bool > | |
►CThresholdTransform< int, bool > | |
▼CTransform< int, float > | |
CFrequency | |
▼CTransform< T, T > | |
►CSymmetricTransform< T > | |
▼CTransform< time_t, String > | |
►CTimeString | |
▼CValueConsumer< T > | |
CDigitalOutput | |
▼CValueProducer< T > | |
CObservableValue< T > | |
CSKValueListener< T > | |
▼CValueProducer< ENUVector > | |
CObservableValue< ENUVector > | |
▼CValueProducer< float > | |
CNumericSensor | |
CObservableValue< float > | |
▼CValueProducer< int > | |
CDigitalInputCounter | |
CDigitalInputValue | |
CIntegerSensor | |
CObservableValue< int > | |
▼CValueProducer< Position > | |
CObservableValue< Position > | |
▼CValueProducer< String > | |
CObservableValue< String > | |
CStringSensor | |
▼CValueProducer< time_t > | |
CObservableValue< time_t > | |
▼CValueProducer< uint32_t > | |
CFreeMem |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "http.h"
#include <FS.h>
#include <functional>
#include <ESPAsyncWebServer.h>
#include "Arduino.h"
#include "ArduinoJson.h"
#include "AsyncJson.h"
#include "sensesp_app.h"
#include "system/configurable.h"
#include "web/index.h"
#include "web/js_jsoneditor.h"
#include "web/js_sensesp.h"
#include "web/setup.h"
Go to the source code of this file.
++Macros | |
#define | HTTP_SERVER_PORT 80 |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <ESPAsyncWebServer.h>
#include <functional>
Go to the source code of this file.
++Classes | |
class | HTTPServer |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "lambda_transform.h"
Go to the source code of this file.
++Classes | |
class | Hysteresis< IN, OUT > |
Hysteresis function. More... | |
+Variables | |
const ParamInfo | hysteresis_param_info [4] |
const ParamInfo hysteresis_param_info[4] | +
Definition at line 7 of file hysteresis.h.
+ +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
Go to the source code of this file.
++Classes | |
class | INA219 |
class | INA219Value |
+Typedefs | |
typedef INA219Value | INA219value |
+Enumerations | |
enum | INA219CAL_t { cal32_2, +cal32_1, +cal16_400 + } |
enum | INA219ValType { + bus_voltage, +shunt_voltage, +current, +power, + + load_voltage + + } |
typedef INA219Value INA219value | +
enum INA219CAL_t | +
enum INA219ValType | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <pgmspace.h>
Go to the source code of this file.
++Variables | |
const char PAGE_index[] | PROGMEM |
const char PAGE_index [] PROGMEM | +
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include "transform.h"
Go to the source code of this file.
++Classes | |
class | Integrator |
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
+ SensESP
+ 0.4.3
+
+ Universal Signal K sensor framework for ESP8266 and ESP32
+ |
+
#include <pgmspace.h>
Go to the source code of this file.
++Variables | |
const char PAGE_js_jsoneditor[] | PROGMEM |
const char PAGE_js_jsoneditor [] PROGMEM | +
Definition at line 2 of file js_jsoneditor.h.
+ +