|
SensESP 3.2.2
Universal Signal K sensor toolkit ESP32
|
Classes | |
| class | SmartSwitchController |
| A high level transform designed to control a digital output (such as a relay) via manual button presses or programatic commands. More... | |
| class | SystemStatusController |
| Base class for a controller that can react to system status events. More... | |
| class | MDNSDiscovery |
| class | HTTPAuthenticator |
| HTTP Authenticator base class. More... | |
| struct | NonceData |
| class | HTTPDigestAuthenticator |
| HTTP Digest Authenticator class. More... | |
| class | HTTPRequestHandler |
| HTTP request handler storage class. More... | |
| class | HTTPServer |
| HTTP server class wrapping the esp-idf http server. More... | |
| class | WiFiStateProducer |
| Provide information about the current WiFi state. More... | |
| class | AccessPointSettings |
| Storage object for WiFi access point settings. More... | |
| class | ClientSSIDConfig |
| Storage object for WiFi client settings. More... | |
| class | WiFiNetworkInfo |
| WiFi Network Information storage class. More... | |
| class | Networking |
| Manages the ESP's connection to the Wifi network. More... | |
| class | OTA |
| class | RouteDefinition |
| struct | StaticFileData |
| class | AnalogInput |
| Sensor for reading the MCU analog input pins. More... | |
| class | BaseAnalogReader |
| Used by AnalogInput as a hardware abstraction layer. More... | |
| class | ESP32AnalogReader |
| class | ConstantSensor |
| ConstantSensor is the base class for virtual sensors that periodically emit a constant value. More... | |
| class | DigitalInput |
| DigitalInput is the base class for reading a digital GPIO pin. More... | |
| class | DigitalInputState |
| DigitalInputState polls the state of an input pin every read_delay ms. More... | |
| class | DigitalInputCounter |
| DigitalInputCounter counts interrupts and reports the count every read_delay ms. More... | |
| class | DigitalInputDebounceCounter |
| DigitalInputDebounceCounter counts interrupts and reports the count every read_delay ms, but ignores events that happen within ignore_interval_ms. More... | |
| class | DigitalInputChange |
| DigitalInputChange provides output whenever a digital pin changes its state. More... | |
| class | DigitalOutput |
| Sets a GPIO pin to whatever the input is (true = HIGH, false = LOW), and passes the value on to the next ValueConsumer. More... | |
| class | SensorConfig |
| The base class for all sensors. Used only as a base class - never instantiated directly in a project. More... | |
| class | Sensor |
| Sensor template class for any sensor producing actual values. More... | |
| class | RepeatSensor |
| class | SystemHz |
| Reports the current clock speed of the ESP. More... | |
| class | FreeMem |
| Reports the current amount of unused memory of the ESP. More... | |
| class | Uptime |
| Reports the number of seconds since the last restart of the ESP. More... | |
| class | IPAddrDev |
| Reports the IP address of the ESP once it's connected to wifi. More... | |
| class | WiFiSignal |
| Reports the current strength of the wifi signal that the ESP is connected to. More... | |
| class | SKDeltaQueue |
| Signal K delta queue. More... | |
| class | SKEmitter |
| A class 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. More... | |
| class | SKListener |
| An Obervable class that listens for Signal K stream deltas and notifies any observers of value changes. This serves as a base class for code that needs to listen to the stream, with the most common descendant being SKValueListener. More... | |
| class | SKMetadata |
| Holds Signal K meta data that is associated with the sk_path an SKEmitter class may optionally send to the server. According to the official Signal K specification: "All keys in the Signal K
specification must have a <tt>description</tt>, and where the key is a numeric value
it must have <tt>units</tt>". Thus, any paths that you output that are not already part of the official Signal K specification should have these two fields defined as metadata. More... | |
| class | SKOutput |
| A specialized transform whose primary purpose is to output Signal K data on the Signal K network. More... | |
| class | SKOutputRawJson |
| Class for sending raw Json strings on a specific Signal K path. More... | |
| class | SKOutputNumeric |
| A special class for sending numeric values to the Signal K server on a specific Signal K path. More... | |
| class | SKRequest |
| A base class for all objects that are capable of sending "requests" to the SignalK server (and optionally receiving the responses) according to the specification located at https://signalk.org/specification/1.5.0/doc/request_response.html. More... | |
| class | SKPutRequestBase |
| A base class for all template variations of the PUT request class SKPutRequest. This base class keeps the compiler from generating reduntant object code for common functionality of each template version. More... | |
| class | SKPutRequest |
| Used to send requests to the server to change the value of the specified path to a specific value according to the specification at https://signalk.org/specification/1.5.0/doc/put.html. More... | |
| class | SKPutListener |
| An Obervable class that listens for Signal K PUT requests coming over the websocket connection and notifies observers of the change. More... | |
| class | SKPutRequestListener |
| An object that listens for PUT requests to come in for the specified SignalK path. The value is then emitted for further processing. More... | |
| class | SKOutputTime |
| class | SKValueListener |
| An ValueProducer that listens to specific Signal K paths and emits its value whenever it changes. More... | |
| class | SKWSClient |
| The websocket connection to the Signal K server. More... | |
| class | AsyncResponseHandler |
| Handle async command responses from remote systems. More... | |
| class | BaseButtonHandler |
| Base class for button handlers. More... | |
| class | ButtonHandler |
| Default Button Handler for SensESPApp applications. More... | |
| struct | CRGB |
| Minimal RGB color struct. More... | |
| class | ExpiringValue |
| Value container that keeps track of its expiration time. More... | |
| class | Filesystem |
| class | LambdaConsumer |
| Provides an easy way of calling a function based on the output of any ValueProducer. More... | |
| class | BaseBlinker |
| A base class for LED blinker classes. More... | |
| class | LEDPatternFragment |
| class | LEDPattern |
| class | LEDBlinker |
| Blink the LED with a pattern specified by a vector of callback functions. More... | |
| class | LocalDebug |
| class | MinimalButtonHandler |
| Minimal Button Handler. More... | |
| class | Observable |
| A base class which allow observers to attach callbacks to themselves. The callbacks will be called when the observable needs to notify the observers about some state change. More... | |
| class | ObservableValue |
| A value container that notifies its observers if it gets changed. More... | |
| class | PersistingObservableValue |
| An ObservableValue that saves its value to the configuration. More... | |
| class | PWMOutput |
| DEPRECATED. Use Android native ledcAttach and ledcWrite instead. More... | |
| class | Resettable |
| Automatic calling of the reset() method when the device needs to be reset. More... | |
| class | ResettableCompare |
| class | RgbLed |
| A special device object that can be used to control a multi-channel color rgb LED light using up to 3 digital output channels. A "color" is defined using the standard 24 bit color depth numbers composed of three 8 bit channels for Red, Green, and Blue (see https://techterms.com/definition/rgb). More... | |
| class | Saveable |
| Interface for saveable objects. More... | |
| class | FileSystemSaveable |
| class | SemaphoreValue |
| A value container wrapped in a semaphore. More... | |
| class | Serializable |
| Interface for serializable objects. More... | |
| class | Startable |
| Dummy Startable class for backward compatibility. More... | |
| class | StreamCharProducer |
| ValueProducer that reads from a Stream and produces each character. More... | |
| class | StreamLineProducer |
| ValueProducer that reads from a Stream and produces a full line. More... | |
| class | BaseSystemStatusLed |
| Consumes the networking and websocket states and delta counts and updates the device LED accordingly. More... | |
| class | SystemStatusLed |
| Monochromatic system status LED. More... | |
| class | RGBSystemStatusLed |
| class | SafeQueue |
| Thread-safe queue for inter-task communication. Works like std::queue. More... | |
| class | TaskQueueProducer |
| Producer class that works across task boundaries. More... | |
| class | ValueProducer |
| A base class for any sensor or piece of code that outputs a value for consumption elsewhere. More... | |
| class | ValueConsumer |
| A base class for piece of code (like a transform) that accepts data for input. ValueConsumers can accept one or more input values via the set() method. They are connected to ValueProducers via the connect_to() method. More... | |
| class | Transform |
| 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). More... | |
| class | AirDensity |
| Transforms temperature, relative humidity and pressure in air density. More... | |
| class | AnalogVoltage |
| A transform that takes the output of an analog-to-digital converter and outputs the voltage that went into it. (This can be the built-in ADC on the ESP, or it can be an external ADC like the ADS1015/1115.). More... | |
| class | AngleCorrection |
| Add a value to an angle input (in radians). The output value is wrapped to a range between [0, 2*pi]. This transform is useful for correcting e.g. a heading or a wind direction reading. More... | |
| class | ChangeFilter |
| A float passthrough transform that will only pass that value through if it is "sufficiently different" from the last value passed through. More... | |
| class | ClickType |
| ClickType is a transform that consumes button clicks and translates them as events of type ClickTypes. Use AceButton instead. More... | |
| class | CurveInterpolator |
| Implement a piecewise linear interpolation transform. More... | |
| class | Debounce |
| Implements debounce code for a button or switch. More... | |
| class | DewPoint |
| Transforms temperature and relative humidity in dew point temperature. More... | |
| class | Enable |
| On/off switch for signals: input is emitted as-is if the enable flag is set in the web UI. More... | |
| class | Filter |
| Transform that only emits the output if the filter condition returns true. More... | |
| class | Frequency |
| Transforms its input into frequency (Hz: cycles per second). More... | |
| class | HeatIndexTemperature |
| Transforms temperature and relative humidity in heat index temperature. More... | |
| class | HeatIndexEffect |
| Transforms heat index temperature to heat index effect. More... | |
| class | Hysteresis |
| Hysteresis function. More... | |
| class | Integrator |
| Integrator integrates (accumulates) the incoming values. More... | |
| class | JoinBase |
| class | Join |
| Join two producer values into a tuple. More... | |
| class | Join3 |
| Merge three producer values into a tuple. More... | |
| class | Join4 |
| Merge four producer values into a tuple. More... | |
| class | Join5 |
| Merge five producer values into a tuple. More... | |
| struct | ParamInfo |
| class | LambdaTransform |
| Construct a new transform based on a single function. More... | |
| class | Linear |
| Performs a linear transform on the input value: output_ = (input * multiplier) + offset. More... | |
| class | Median |
| Outputs the median value of sample_size inputs. More... | |
| class | MovingAverage |
| Outputs the moving average of the last sample_size inputs. More... | |
| class | PressRepeater |
| A transform that takes boolean inputs and adds button behaviors familiar to many device end users. DEPRECATED: use AceButton for button inputs. More... | |
| class | Repeat |
| Repeat the input at specific intervals. More... | |
| class | RepeatReport |
| class | RepeatStopping |
| Repeat transform that stops emitting if the value age exceeds max_age. More... | |
| class | RepeatExpiring |
| Repeat transform that emits an expired value if the value age exceeds max_age. More... | |
| class | RepeatConstantRate |
| Repeat transform that emits the last value at a constant interval. More... | |
| class | ThresholdTransform |
| A Transform base class that translates the value of type C into boolean. Base class for classes FloatThreshold and IntThreshold. More... | |
| class | Throttle |
| Throttle the input rate. More... | |
| class | TimeCounter |
| A transform that outputs the duration of the input value being true or non-null. More... | |
| class | TimeString |
| Consumes a time_t time object and produces a human readable string of the time for UTC in ISO 8601 format. More... | |
| class | TransformBase |
| The base class for all transforms. A transforms takes a value in, transforms it in some way, and outputs the transformed value. More... | |
| class | SymmetricTransform |
| A common type of transform that consumes, transforms, then outputs values of the same data type. More... | |
| class | TextToTruth |
| Consumes a string and outputs boolean "true" if the text represents a human readable version of "true". More... | |
| class | TruthToText |
| Consumes a boolean value and outputs one the appropriate truth string specified in the constructor. This is the inverse of TextToTruth. More... | |
| class | Typecast |
| Converts input from one data type to another, then outputs the new type. More... | |
| class | RoundToInt |
| Takes as its input a float, rounds it to the nearest whole number, then outputs it as an int. More... | |
| class | VoltageMultiplier |
| OBSOLETE: Since you can now apply an "output_scale" to the AnalogInput sensor, you don't need this transform anymore. See the description of "output_scale" in analog_input.h. More... | |
| class | VoltageDividerR1 |
| Uses the voltage divider formula to calculate (and output) the resistance of R1 in the circuit. More... | |
| class | VoltageDividerR2 |
| Uses the voltage divider formula to calculate (and output) the resistance of R2 in the circuit. More... | |
| class | ZipBase |
| class | Zip |
| Zip two producer values into a tuple. More... | |
| class | Zip3 |
| Zip three producer values into a tuple. More... | |
| class | Zip4 |
| Zip four producer values into a tuple. More... | |
| class | Zip5 |
| Zip five producer values into a tuple. More... | |
| class | Nullable |
| Template class that supports a special invalid magic value for a type. More... | |
| struct | Position |
| Position data container. More... | |
| struct | ENUVector |
| Container for local tangent plane coordinates. More... | |
| struct | AttitudeVector |
| Container for attitude data. More... | |
| class | ConfigItemT |
| Class providing sufficient data for rendering a config card in the frontend. More... | |
| class | ConfigItemBase |
| class | StatusPageItemBase |
| class | StatusPageItem |
| Item that renders its own value on the web UI status page. More... | |
| class | UIButton |
| UIButton implements a button interface on the web UI. More... | |
| class | StringConfig |
| class | NumberConfig |
| class | CheckboxConfig |
| class | SelectConfig |
| class | SensESPApp |
| class | SensESPAppBuilder |
| A class for quickly configuring a SensESP application object before wiring up your sensors. More... | |
| class | SensESPBaseApp |
| The base class for SensESP applications. More... | |
| class | SensESPBaseAppBuilder |
| Abstract base class for other SensESP*AppBuilder classes. More... | |
| class | SensESPMinimalApp |
| class | SensESPMinimalAppBuilder |
Enumerations | |
| enum class | SystemStatus { kWifiNoAP = 100 , kWifiDisconnected , kWifiManagerActivated , kSKWSDisconnected , kSKWSAuthorizing , kSKWSConnecting , kSKWSConnected } |
| enum class | WiFiState { kWifiNoAP = 0 , kWifiDisconnected , kWifiConnectedToAP , kWifiManagerActivated , kWifiAPModeActivated } |
| enum class | SKWSConnectionState { kSKWSDisconnected , kSKWSAuthorizing , kSKWSConnecting , kSKWSConnected } |
| enum class | AsyncResponseStatus { kReady , kPending , kSuccess , kFailure , kTimeout } |
| enum class | ClickTypes { ButtonPress , ButtonRelease , SingleClick , LongSingleClick , UltraLongSingleClick , DoubleClick } |
| enum class | SelectType { kUndefined , kCheckbox , kSelect } |
Functions | |
| std::shared_ptr< reactesp::EventLoop > | event_loop () |
| const String | ConfigSchema (const SmartSwitchController &obj) |
| String | get_random_hex_string () |
| void | urldecode2 (char *dst, const char *src) |
| esp_err_t | call_request_dispatcher (httpd_req_t *req) |
| String | get_content_type (httpd_req_t *req) |
| const String | ConfigSchema (const HTTPServer &obj) |
| bool | ConfigRequiresRestart (const HTTPServer &obj) |
| const String | ConfigSchema (const Networking &obj) |
| bool | ConfigRequiresRestart (const Networking &obj) |
| void | add_tofu_reset_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_scan_wifi_networks_handlers (std::shared_ptr< HTTPServer > &server, std::shared_ptr< Networking > &networking) |
| void | add_app_http_command_handlers (std::shared_ptr< HTTPServer > &server, std::shared_ptr< Networking > &networking) |
| void | add_http_reset_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_http_restart_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_http_info_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_routes_handlers (std::shared_ptr< HTTPServer > &server) |
| void | add_base_app_http_command_handlers (std::shared_ptr< HTTPServer > &server) |
| bool | get_item_data (JsonDocument &doc, const std::shared_ptr< ConfigItemBase > &item) |
| esp_err_t | handle_config_item_list (httpd_req_t *req) |
| void | add_config_list_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_config_get_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_config_put_handler (std::shared_ptr< HTTPServer > &server) |
| void | add_config_handlers (std::shared_ptr< HTTPServer > &server) |
| Handle HTTP requests to /config. | |
| void | add_static_file_handlers (std::shared_ptr< HTTPServer > server) |
| Provide handlers for static web content. | |
| const String | ConfigSchema (AnalogInput &obj) |
| bool | ConfigRequiresRestart (const AnalogInput &obj) |
| template<typename T> | |
| const String | ConfigSchemaSensorType (const T &obj) |
| template<> | |
| const String | ConfigSchemaSensorType< int > (const int &obj) |
| template<> | |
| const String | ConfigSchemaSensorType< float > (const float &obj) |
| template<> | |
| const String | ConfigSchemaSensorType< String > (const String &obj) |
| template<> | |
| const String | ConfigSchemaSensorType< bool > (const bool &obj) |
| template<typename T> | |
| const String | ConfigSchema (const ConstantSensor< T > &obj) |
| const String | ConfigSchema (DigitalInputState &obj) |
| bool | ConfigRequiresRestart (const DigitalInputState &obj) |
| const String | ConfigSchema (const DigitalInputCounter &obj) |
| bool | ConfigRequiresRestart (const DigitalInputCounter &obj) |
| const String | ConfigSchema (const DigitalInputDebounceCounter &obj) |
| bool | ConfigRequiresRestart (const DigitalInputDebounceCounter &obj) |
| const String | ConfigSchema (const DigitalInputState &obj) |
| template<typename T> | |
| void | connect_system_info_sensor (std::shared_ptr< ValueProducer< T > > &sensor, const String &prefix, const String &name) |
| Connect a system information sensor to SKOutput. | |
| const String | ConfigSchema (const SKListener &obj) |
| template<typename T> | |
| const String | ConfigSchema (const SKOutput< T > &obj) |
| template<typename T> | |
| bool | ConfigRequiresRestart (const SKOutput< T > &obj) |
| template<typename T> | |
| const String | ConfigSchema (const SKPutRequest< T > &obj) |
| const String | ConfigSchema (const SKOutputTime &obj) |
| void | ExecuteWebSocketTask (void *) |
| const String | ConfigSchema (const SKWSClient &obj) |
| bool | ConfigRequiresRestart (const SKWSClient &obj) |
| uint8_t | gamma_correct (uint8_t value) |
| Apply gamma correction to an 8-bit value. | |
| uint8_t | apply_brightness (uint8_t value, uint8_t brightness) |
| Apply gamma correction and brightness scaling to a color value. | |
| uint8_t | rgb_to_luminance (uint8_t r, uint8_t g, uint8_t b) |
| Convert RGB color to perceptual luminance. | |
| CRGB | blend (const CRGB &p1, const CRGB &p2, uint8_t amountOfP2) |
| Linear interpolation (blend) between two colors. | |
| void | Sha1 (const String &payload_str, uint8_t *hash_output) |
| SHA-1 hash function. | |
| String | MD5 (const String &payload_str) |
| MD5 hash function. | |
| String | Base64Sha1 (const String &payload_str) |
| A base64-encoded SHA-1 hash function. | |
| LEDPatternFragment | frag_solid_color (uint32_t duration_ms, const CRGB &color) |
| LEDPatternFragment | frag_linear_fade (uint32_t duration_ms, uint32_t fade_duration_ms, const CRGB &target_color) |
| LEDPatternFragment | frag_linear_invert (uint32_t duration_ms, bool reverse) |
| LEDPatternFragment | frag_blend (uint32_t duration_ms, const CRGB &target_color, bool reverse) |
| LEDPatternFragment | frag_nop (uint32_t duration_ms) |
| template<class T> | |
| bool | operator== (ObservableValue< T > const &lhs, T const &rhs) |
| template<class T> | |
| bool | operator!= (ObservableValue< T > const &lhs, T const &rhs) |
| template<class T> | |
| const String | ConfigSchema (const PersistingObservableValue< T > &obj) |
| const String | ConfigSchema (const RgbLed &obj) |
| String | generate_uuid4 () |
| Generate a random UUIDv4 string. | |
| const String | ConfigSchema (const AnalogVoltage &obj) |
| const String | ConfigSchema (const AngleCorrection &obj) |
| const String | ConfigSchema (ChangeFilter &obj) |
| const String | ConfigSchema (const ClickType &obj) |
| const char * | ConfigSchema (const CurveInterpolator &obj) |
| template<typename T> | |
| const String | ConfigSchema (const Debounce< T > &obj) |
| template<typename U> | |
| const String | ConfigSchema (const Enable< U > &obj) |
| const String | ConfigSchema (const Frequency &obj) |
| template<typename T> | |
| const String | ConfigSchema (const Integrator< T, T > &obj) |
| template<class IN, class OUT> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT > &obj) |
| template<class IN, class OUT, class P1> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1 > &obj) |
| template<class IN, class OUT, class P1, class P2> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1, P2 > &obj) |
| template<class IN, class OUT, class P1, class P2, class P3> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1, P2, P3 > &obj) |
| template<class IN, class OUT, class P1, class P2, class P3, class P4> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1, P2, P3, P4 > &obj) |
| template<class IN, class OUT, class P1, class P2, class P3, class P4, class P5> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1, P2, P3, P4, P5 > *obj) |
| template<class IN, class OUT, class P1, class P2, class P3, class P4, class P5, class P6> | |
| const String | ConfigSchema (const LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > *obj) |
| const String | ConfigSchema (const Median &obj) |
| bool | ConfigRequiresRestart (const Median &obj) |
| const String | ConfigSchema (const MovingAverage &obj) |
| bool | ConfigRequiresRestart (const MovingAverage &obj) |
| const String | ConfigSchema (const PressRepeater &obj) |
| const String | ConfigSchema (const ThresholdTransform< float > &obj) |
| const String | ConfigSchema (const ThresholdTransform< int > &obj) |
| uint64_t ARDUINO_ISR_ATTR | millis64 () |
| template<typename U> | |
| const String | ConfigSchema (TimeCounter< U > &obj) |
| const String | ConfigSchema (const VoltageMultiplier &obj) |
| const String | ConfigSchema (const VoltageDividerR1 &obj) |
| const String | ConfigSchema (const VoltageDividerR2 &obj) |
| template<typename T> | |
| void | convertFromJson (JsonVariantConst src, Nullable< T > &dst) |
| template<typename T> | |
| void | convertToJson (const Nullable< T > &src, JsonVariant dst) |
| void | convertFromJson (JsonVariantConst src, Position &dst) |
| Adds support in ArduinoJson to deserialize Position type data. | |
| void | convertFromJson (JsonVariantConst src, ENUVector &dst) |
| void | convertFromJson (JsonVariantConst src, AttitudeVector &dst) |
| bool | canConvertFromJson (JsonVariantConst src, const Position &) |
| Tells ArduinoJson whether the given JSON is a Position or not. | |
| bool | canConvertFromJson (JsonVariantConst src, const ENUVector &) |
| bool | canConvertFromJson (JsonVariantConst src, const AttitudeVector &) |
| void | convertToJson (const Position &src, JsonVariant dst) |
| void | convertToJson (const ENUVector &src, JsonVariant dst) |
| void | convertToJson (const AttitudeVector &src, JsonVariant dst) |
| template<> | |
| const char * | get_schema_type_string (const int) |
| template<> | |
| const char * | get_schema_type_string (const float) |
| template<> | |
| const char * | get_schema_type_string (const String &) |
| template<> | |
| const char * | get_schema_type_string (const bool) |
| template<class T> | |
| const char * | get_schema_type_string (const T dummy) |
| template<> | |
| const char * | get_schema_type_string (const int dummy) |
| template<> | |
| const char * | get_schema_type_string (const float dummy) |
| template<> | |
| const char * | get_schema_type_string (const String &dummy) |
| template<> | |
| const char * | get_schema_type_string (const bool dummy) |
| const String | ConfigSchema (const std::nullptr_t &obj) |
| Provide a configuration schema for a ConfigItemT<nullptr>. | |
| template<typename T> | |
| bool | ConfigRequiresRestart (const T &obj) |
| template<typename T> | |
| bool | ConfigRequiresRestart (const std::shared_ptr< T > &obj) |
| template<typename T> | |
| std::shared_ptr< ConfigItemT< T > > | ConfigItem (std::shared_ptr< T > config_object) |
| Register a ConfigItemT with the ConfigItemBase. | |
| template<typename T> | |
| std::shared_ptr< ConfigItemT< T > > | ConfigItem (T *config_object) |
| const String | ConfigSchema (const StringConfig &obj) |
| const String | ConfigSchema (const NumberConfig &obj) |
| const String | ConfigSchema (const CheckboxConfig &obj) |
| const String | ConfigSchema (const SelectConfig &obj) |
| void | SetupLogging (esp_log_level_t default_level=ESP_LOG_DEBUG) |
| void | SetupSerialDebug (uint32_t baudrate) |
Variables | |
| constexpr int | kMaxNumClientConfigs = 3 |
| const StaticFileData | kFrontendFiles [] |
| const char | kContentType [] = "Content-Type" |
| const char | kContentEncoding [] = "Content-Encoding" |
| const char *const | kSensESPVersion = "3.2.2" |
| constexpr int | kWsClientTaskStackSize = 8192 |
| SKWSClient * | ws_client |
| constexpr uint8_t | kGammaTable [256] |
| Gamma correction lookup table (γ=2.2, inverted). | |
| constexpr int | kPWMResolution = 13 |
| LEDPattern | no_ap_pattern |
| LEDPattern | wifi_disconnected_pattern |
| LEDPattern | wifi_connected_pattern |
| LEDPattern | ws_connecting_pattern |
| LEDPattern | ws_connected_pattern |
| LEDPattern | ws_disconnected_pattern |
| LEDPattern | ws_authorizing_pattern |
| LEDPattern | blip_pattern |
| constexpr double | kPi = 3.14159265358979323846 |
| const ParamInfo | hysteresis_param_info [4] |
| template<typename T> | |
| T | Nullable< T >::invalid_value_ = T{} |
| template<> | |
| float | Nullable< float >::invalid_value_ = -1e9 |
| template<> | |
| double | Nullable< double >::invalid_value_ = -1e9 |
| template<> | |
| char | Nullable< char >::invalid_value_ = 0xff |
| template<> | |
| uint8_t | Nullable< uint8_t >::invalid_value_ = 0xff |
| template<> | |
| int8_t | Nullable< int8_t >::invalid_value_ = 0x7f |
| template<> | |
| uint16_t | Nullable< uint16_t >::invalid_value_ = 0xffff |
| template<> | |
| int16_t | Nullable< int16_t >::invalid_value_ = 0x7fff |
| template<> | |
| uint32_t | Nullable< uint32_t >::invalid_value_ = 0xffffffff |
| template<> | |
| int32_t | Nullable< int32_t >::invalid_value_ = 0x7fffffff |
| template<> | |
| uint64_t | Nullable< uint64_t >::invalid_value_ = 0xffffffffffffffffLL |
| template<> | |
| int64_t | Nullable< int64_t >::invalid_value_ = 0x7fffffffffffffffLL |
| template<> | |
| bool | Nullable< bool >::invalid_value_ = false |
| constexpr double | kInvalidDouble = std::numeric_limits<double>::lowest() |
| Value used to indicate an invalid or missing altitude. | |
| constexpr float | kPositionInvalidAltitude = std::numeric_limits<float>::lowest() |
| constexpr char | kUIOutputDefaultGroup [] = "Default" |
| constexpr int | kUIOutputDefaultOrder = 1000 |
| std::shared_ptr< SensESPApp > | sensesp_app |
| constexpr auto | kDefaultHostname = "SensESP" |
| typedef Integrator<int, int> sensesp::Accumulator |
Definition at line 64 of file integrator.h.
Definition at line 30 of file analog_reader.h.
| typedef ConstantSensor<bool> sensesp::BoolConstantSensor |
Definition at line 118 of file constant_sensor.h.
| typedef ValueConsumer<bool> sensesp::BoolConsumer |
Definition at line 49 of file valueconsumer.h.
| typedef SymmetricTransform<bool> sensesp::BooleanTransform |
Definition at line 101 of file transform.h.
| typedef ValueProducer<bool> sensesp::BoolProducer |
Definition at line 106 of file valueproducer.h.
| typedef Sensor<bool> sensesp::BoolSensor |
| typedef SKValueListener<bool> sensesp::BoolSKListener |
Definition at line 39 of file signalk_value_listener.h.
| typedef SKPutRequest<bool> sensesp::BoolSKPutRequest |
Definition at line 180 of file signalk_put_request.h.
| typedef SKPutRequestListener<bool> sensesp::BoolSKPutRequestListener |
Definition at line 68 of file signalk_put_request_listener.h.
| typedef Typecast<bool, int> sensesp::BoolToInt |
Definition at line 43 of file typecast.h.
| typedef Debounce<bool> sensesp::DebounceBool |
Definition at line 87 of file debounce.h.
| typedef Debounce<float> sensesp::DebounceFloat |
Definition at line 89 of file debounce.h.
| typedef Debounce<int> sensesp::DebounceInt |
Definition at line 88 of file debounce.h.
| typedef ConstantSensor<float> sensesp::FloatConstantSensor |
Definition at line 116 of file constant_sensor.h.
| typedef ValueConsumer<float> sensesp::FloatConsumer |
Definition at line 47 of file valueconsumer.h.
| typedef Integrator<float, float> sensesp::FloatIntegrator |
Definition at line 63 of file integrator.h.
| typedef ValueProducer<float> sensesp::FloatProducer |
Definition at line 104 of file valueproducer.h.
| typedef Sensor<float> sensesp::FloatSensor |
| typedef SKValueListener<float> sensesp::FloatSKListener |
Definition at line 37 of file signalk_value_listener.h.
| typedef SKPutRequest<float> sensesp::FloatSKPutRequest |
Definition at line 178 of file signalk_put_request.h.
| typedef SKPutRequestListener<float> sensesp::FloatSKPutRequestListener |
Definition at line 66 of file signalk_put_request_listener.h.
| typedef ThresholdTransform<float> sensesp::FloatThreshold |
Definition at line 74 of file threshold.h.
| typedef Typecast<float, int> sensesp::FloatToInt |
Definition at line 46 of file typecast.h.
| typedef SymmetricTransform<float> sensesp::FloatTransform |
Definition at line 99 of file transform.h.
| using sensesp::FragmentCallback = std::function<void(uint32_t, CRGB&)> |
Definition at line 103 of file led_blinker.h.
| typedef ConstantSensor<int> sensesp::IntConstantSensor |
Definition at line 117 of file constant_sensor.h.
| typedef ValueConsumer<int> sensesp::IntConsumer |
Definition at line 48 of file valueconsumer.h.
| typedef SymmetricTransform<int> sensesp::IntegerTransform |
Definition at line 100 of file transform.h.
| typedef ValueProducer<int> sensesp::IntProducer |
Definition at line 105 of file valueproducer.h.
| typedef Sensor<int> sensesp::IntSensor |
| typedef SKValueListener<int> sensesp::IntSKListener |
Definition at line 38 of file signalk_value_listener.h.
| typedef SKPutRequest<int> sensesp::IntSKPutRequest |
Definition at line 179 of file signalk_put_request.h.
| typedef SKPutRequestListener<int> sensesp::IntSKPutRequestListener |
Definition at line 67 of file signalk_put_request_listener.h.
| typedef ThresholdTransform<int> sensesp::IntThreshold |
Definition at line 75 of file threshold.h.
| typedef Typecast<int, bool> sensesp::IntToBool |
Definition at line 42 of file typecast.h.
| typedef Typecast<int, float> sensesp::IntToFloat |
Definition at line 45 of file typecast.h.
| typedef Nullable<bool> sensesp::NullableBool |
Definition at line 55 of file nullable.h.
| typedef Nullable<double> sensesp::NullableDouble |
Definition at line 54 of file nullable.h.
| typedef Nullable<float> sensesp::NullableFloat |
Definition at line 53 of file nullable.h.
| typedef Nullable<int> sensesp::NullableInt |
Definition at line 52 of file nullable.h.
Definition at line 22 of file signalk_types.h.
| typedef SKOutput<bool> sensesp::SKOutputBool |
Definition at line 135 of file signalk_output.h.
| typedef SKOutput<ENUVector> sensesp::SKOutputENUVector |
Definition at line 21 of file signalk_types.h.
| typedef SKOutputNumeric<float> sensesp::SKOutputFloat |
Definition at line 133 of file signalk_output.h.
| typedef SKOutputNumeric<int> sensesp::SKOutputInt |
Definition at line 134 of file signalk_output.h.
| typedef SKOutput<Position> sensesp::SKOutputPosition |
Definition at line 20 of file signalk_types.h.
| typedef SKOutput<String> sensesp::SKOutputString |
Definition at line 136 of file signalk_output.h.
| typedef ConstantSensor<String> sensesp::StringConstantSensor |
Definition at line 119 of file constant_sensor.h.
| typedef ValueConsumer<String> sensesp::StringConsumer |
Definition at line 50 of file valueconsumer.h.
| typedef ValueProducer<String> sensesp::StringProducer |
Definition at line 107 of file valueproducer.h.
| typedef Sensor<String> sensesp::StringSensor |
| typedef SKValueListener<String> sensesp::StringSKListener |
Definition at line 40 of file signalk_value_listener.h.
| typedef SKPutRequest<String> sensesp::StringSKPutRequest |
Definition at line 181 of file signalk_put_request.h.
| typedef SKPutRequestListener<String> sensesp::StringSKPutRequestListener |
Definition at line 69 of file signalk_put_request_listener.h.
| typedef SymmetricTransform<String> sensesp::StringTransform |
Definition at line 102 of file transform.h.
| typedef std::function<void()> sensesp::void_cb_func |
| using sensesp::WifiState = WiFiState |
Definition at line 15 of file wifi_state.h.
|
strong |
| Enumerator | |
|---|---|
| kReady | |
| kPending | |
| kSuccess | |
| kFailure | |
| kTimeout | |
Definition at line 14 of file async_response_handler.h.
|
strong |
ClickTypes defines the types of clicks and button presses a ClickType transform can detect
| Enumerator | |
|---|---|
| ButtonPress | |
| ButtonRelease | |
| SingleClick | |
| LongSingleClick | |
| UltraLongSingleClick | |
| DoubleClick | |
Definition at line 15 of file click_type.h.
|
strong |
| Enumerator | |
|---|---|
| kUndefined | |
| kCheckbox | |
| kSelect | |
Definition at line 80 of file ui_controls.h.
|
strong |
| Enumerator | |
|---|---|
| kSKWSDisconnected | |
| kSKWSAuthorizing | |
| kSKWSConnecting | |
| kSKWSConnected | |
Definition at line 23 of file signalk_ws_client.h.
|
strong |
| Enumerator | |
|---|---|
| kWifiNoAP | |
| kWifiDisconnected | |
| kWifiManagerActivated | |
| kSKWSDisconnected | |
| kSKWSAuthorizing | |
| kSKWSConnecting | |
| kSKWSConnected | |
Definition at line 11 of file system_status_controller.h.
|
strong |
| Enumerator | |
|---|---|
| kWifiNoAP | |
| kWifiDisconnected | |
| kWifiConnectedToAP | |
| kWifiManagerActivated | |
| kWifiAPModeActivated | |
Definition at line 6 of file wifi_state.h.
| void sensesp::add_app_http_command_handlers | ( | std::shared_ptr< HTTPServer > & | server, |
| std::shared_ptr< Networking > & | networking ) |
Definition at line 73 of file app_command_handler.cpp.
| void sensesp::add_base_app_http_command_handlers | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 117 of file base_command_handler.cpp.
| void sensesp::add_config_get_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 88 of file config_handler.cpp.
| void sensesp::add_config_handlers | ( | std::shared_ptr< HTTPServer > & | server | ) |
Handle HTTP requests to /config.
This class handles HTTP requests to /config. It is used by the HTTPServer to provide a RESTful API for configuring Configurable objects.
Definition at line 207 of file config_handler.cpp.
| void sensesp::add_config_list_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 82 of file config_handler.cpp.
| void sensesp::add_config_put_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 131 of file config_handler.cpp.
| void sensesp::add_http_info_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 31 of file base_command_handler.cpp.
| void sensesp::add_http_reset_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 8 of file base_command_handler.cpp.
| void sensesp::add_http_restart_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 21 of file base_command_handler.cpp.
| void sensesp::add_routes_handlers | ( | std::shared_ptr< HTTPServer > & | server | ) |
| void sensesp::add_scan_wifi_networks_handlers | ( | std::shared_ptr< HTTPServer > & | server, |
| std::shared_ptr< Networking > & | networking ) |
| void sensesp::add_static_file_handlers | ( | std::shared_ptr< HTTPServer > | server | ) |
Provide handlers for static web content.
Definition at line 7 of file static_file_handler.cpp.
| void sensesp::add_tofu_reset_handler | ( | std::shared_ptr< HTTPServer > & | server | ) |
Definition at line 10 of file app_command_handler.cpp.
|
inline |
Apply gamma correction and brightness scaling to a color value.
Gamma correction is applied first to ensure perceptually correct colors, then brightness scaling is applied as a linear dimming factor.
| value | Color value (0-255) |
| brightness | Brightness scale (0-255), where 255 = full brightness |
Definition at line 110 of file crgb.h.
| String sensesp::Base64Sha1 | ( | const String & | payload_str | ) |
Linear interpolation (blend) between two colors.
| p1 | First color (returned when amountOfP2 == 0) |
| p2 | Second color (returned when amountOfP2 == 255) |
| amountOfP2 | Blend amount: 0 = 100% p1, 255 = 100% p2 |
Definition at line 137 of file crgb.h.
| esp_err_t sensesp::call_request_dispatcher | ( | httpd_req_t * | req | ) |
Definition at line 178 of file http_server.cpp.
| bool sensesp::canConvertFromJson | ( | JsonVariantConst | src, |
| const AttitudeVector & | ) |
Definition at line 39 of file position.cpp.
| bool sensesp::canConvertFromJson | ( | JsonVariantConst | src, |
| const ENUVector & | ) |
Definition at line 35 of file position.cpp.
| bool sensesp::canConvertFromJson | ( | JsonVariantConst | src, |
| const Position & | ) |
Tells ArduinoJson whether the given JSON is a Position or not.
This function is automatically called by ArduinoJson whenever it has to convert a JSON to a Position struct.
| src | A JSON document |
Definition at line 31 of file position.cpp.
| std::shared_ptr< ConfigItemT< T > > sensesp::ConfigItem | ( | std::shared_ptr< T > | config_object | ) |
Register a ConfigItemT with the ConfigItemBase.
Note, this function only exists to avoid having to provide the template argument when creating a ConfigItemT. It should be possible to remove it once C++17 is supported.
| T |
| config_object | |
| title | |
| description | |
| sort_order |
Definition at line 289 of file config_item.h.
| std::shared_ptr< ConfigItemT< T > > sensesp::ConfigItem | ( | T * | config_object | ) |
|
inline |
Definition at line 61 of file analog_input.h.
| bool sensesp::ConfigRequiresRestart | ( | const DigitalInputCounter & | obj | ) |
Definition at line 85 of file digital_input.cpp.
| bool sensesp::ConfigRequiresRestart | ( | const DigitalInputDebounceCounter & | obj | ) |
Definition at line 93 of file digital_input.cpp.
| bool sensesp::ConfigRequiresRestart | ( | const DigitalInputState & | obj | ) |
Definition at line 77 of file digital_input.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 52 of file moving_average.h.
|
inline |
Definition at line 290 of file networking.h.
| bool sensesp::ConfigRequiresRestart | ( | const SKOutput< T > & | obj | ) |
Definition at line 88 of file signalk_output.h.
|
inline |
Definition at line 240 of file signalk_ws_client.h.
| bool sensesp::ConfigRequiresRestart | ( | const std::shared_ptr< T > & | obj | ) |
| bool sensesp::ConfigRequiresRestart | ( | const T & | obj | ) |
Definition at line 52 of file config_item.h.
| const String sensesp::ConfigSchema | ( | AnalogInput & | obj | ) |
Definition at line 40 of file analog_input.cpp.
| const String sensesp::ConfigSchema | ( | ChangeFilter & | obj | ) |
Definition at line 53 of file change_filter.cpp.
| const String sensesp::ConfigSchema | ( | const AnalogVoltage & | obj | ) |
Definition at line 39 of file analogvoltage.cpp.
| const String sensesp::ConfigSchema | ( | const AngleCorrection & | obj | ) |
Definition at line 43 of file angle_correction.cpp.
|
inline |
Definition at line 74 of file ui_controls.h.
| const String sensesp::ConfigSchema | ( | const ClickType & | obj | ) |
Definition at line 174 of file click_type.cpp.
| const String sensesp::ConfigSchema | ( | const ConstantSensor< T > & | obj | ) |
|
inline |
Definition at line 91 of file curveinterpolator.h.
| const String sensesp::ConfigSchema | ( | const Debounce< T > & | obj | ) |
Definition at line 83 of file debounce.h.
| const String sensesp::ConfigSchema | ( | const DigitalInputCounter & | obj | ) |
Definition at line 81 of file digital_input.cpp.
| const String sensesp::ConfigSchema | ( | const DigitalInputDebounceCounter & | obj | ) |
Definition at line 89 of file digital_input.cpp.
| const String sensesp::ConfigSchema | ( | const DigitalInputState & | obj | ) |
| const String sensesp::ConfigSchema | ( | const Enable< U > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const Frequency & | obj | ) |
Definition at line 37 of file frequency.cpp.
|
inline |
Definition at line 181 of file http_server.h.
| const String sensesp::ConfigSchema | ( | const Integrator< T, T > & | obj | ) |
Definition at line 59 of file integrator.h.
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT > & | obj | ) |
Definition at line 279 of file lambda_transform.h.
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1 > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1, P2 > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1, P2, P3 > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1, P2, P3, P4 > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1, P2, P3, P4, P5 > * | obj | ) |
| const String sensesp::ConfigSchema | ( | const LambdaTransform< IN, OUT, P1, P2, P3, P4, P5, P6 > * | obj | ) |
| const String sensesp::ConfigSchema | ( | const Median & | obj | ) |
Definition at line 45 of file median.cpp.
| const String sensesp::ConfigSchema | ( | const MovingAverage & | obj | ) |
Definition at line 62 of file moving_average.cpp.
|
inline |
Definition at line 286 of file networking.h.
|
inline |
Definition at line 49 of file ui_controls.h.
| const String sensesp::ConfigSchema | ( | const PersistingObservableValue< T > & | obj | ) |
| const String sensesp::ConfigSchema | ( | const PressRepeater & | obj | ) |
Definition at line 66 of file press_repeater.cpp.
| const String sensesp::ConfigSchema | ( | const RgbLed & | obj | ) |
Definition at line 74 of file rgb_led.cpp.
|
inline |
Definition at line 112 of file ui_controls.h.
| const String sensesp::ConfigSchema | ( | const SKListener & | obj | ) |
Definition at line 45 of file signalk_listener.cpp.
| const String sensesp::ConfigSchema | ( | const SKOutput< T > & | obj | ) |
Definition at line 83 of file signalk_output.h.
| const String sensesp::ConfigSchema | ( | const SKOutputTime & | obj | ) |
Definition at line 32 of file signalk_time.cpp.
| const String sensesp::ConfigSchema | ( | const SKPutRequest< T > & | obj | ) |
Definition at line 173 of file signalk_put_request.h.
|
inline |
Definition at line 232 of file signalk_ws_client.h.
|
inline |
Definition at line 133 of file smart_switch_controller.h.
|
inline |
Provide a configuration schema for a ConfigItemT<nullptr>.
For this to work, an overload or a specialization of this function must be provided for each type T that is used in a ConfigItemT<T>.
| T |
| obj |
Definition at line 47 of file config_item.h.
|
inline |
Definition at line 27 of file ui_controls.h.
| const String sensesp::ConfigSchema | ( | const ThresholdTransform< float > & | obj | ) |
Definition at line 8 of file threshold.cpp.
| const String sensesp::ConfigSchema | ( | const ThresholdTransform< int > & | obj | ) |
Definition at line 14 of file threshold.cpp.
| const String sensesp::ConfigSchema | ( | const VoltageDividerR1 & | obj | ) |
Definition at line 39 of file voltagedivider.cpp.
| const String sensesp::ConfigSchema | ( | const VoltageDividerR2 & | obj | ) |
Definition at line 77 of file voltagedivider.cpp.
| const String sensesp::ConfigSchema | ( | const VoltageMultiplier & | obj | ) |
Definition at line 32 of file voltage_multiplier.cpp.
| const String sensesp::ConfigSchema | ( | DigitalInputState & | obj | ) |
Definition at line 73 of file digital_input.cpp.
| const String sensesp::ConfigSchema | ( | TimeCounter< U > & | obj | ) |
Definition at line 95 of file time_counter.h.
| const String sensesp::ConfigSchemaSensorType | ( | const T & | obj | ) |
| const String sensesp::ConfigSchemaSensorType< bool > | ( | const bool & | obj | ) |
Definition at line 100 of file constant_sensor.h.
| const String sensesp::ConfigSchemaSensorType< float > | ( | const float & | obj | ) |
Definition at line 92 of file constant_sensor.h.
| const String sensesp::ConfigSchemaSensorType< int > | ( | const int & | obj | ) |
Definition at line 88 of file constant_sensor.h.
| const String sensesp::ConfigSchemaSensorType< String > | ( | const String & | obj | ) |
Definition at line 96 of file constant_sensor.h.
| void sensesp::connect_system_info_sensor | ( | std::shared_ptr< ValueProducer< T > > & | sensor, |
| const String & | prefix, | ||
| const String & | name ) |
Connect a system information sensor to SKOutput.
Definition at line 18 of file system_info.h.
| void sensesp::convertFromJson | ( | JsonVariantConst | src, |
| AttitudeVector & | dst ) |
Definition at line 25 of file position.cpp.
| void sensesp::convertFromJson | ( | JsonVariantConst | src, |
| ENUVector & | dst ) |
Definition at line 16 of file position.cpp.
| void sensesp::convertFromJson | ( | JsonVariantConst | src, |
| Nullable< T > & | dst ) |
| void sensesp::convertFromJson | ( | JsonVariantConst | src, |
| Position & | dst ) |
Adds support in ArduinoJson to deserialize Position type data.
This is an ArduinoJson custom converter to convert position type data from JSON into a Position struct. The JSON data must at least contain "latitude" and "longitude", "altitude" is optional. ArduinoJson will automatically call this function whenever it has to convert a JSON to a Position struct. More info here: https://arduinojson.org/news/2021/05/04/version-6-18-0/
| src | The JSON document containing the position data |
| dst | The address to a Position struct to write the data to |
Definition at line 7 of file position.cpp.
| void sensesp::convertToJson | ( | const AttitudeVector & | src, |
| JsonVariant | dst ) |
Definition at line 65 of file position.cpp.
| void sensesp::convertToJson | ( | const ENUVector & | src, |
| JsonVariant | dst ) |
Definition at line 55 of file position.cpp.
| void sensesp::convertToJson | ( | const Nullable< T > & | src, |
| JsonVariant | dst ) |
| void sensesp::convertToJson | ( | const Position & | src, |
| JsonVariant | dst ) |
Definition at line 45 of file position.cpp.
| std::shared_ptr< reactesp::EventLoop > sensesp::event_loop | ( | ) |
Definition at line 9 of file sensesp.cpp.
| void sensesp::ExecuteWebSocketTask | ( | void * | ) |
| LEDPatternFragment sensesp::frag_blend | ( | uint32_t | duration_ms, |
| const CRGB & | target_color, | ||
| bool | reverse ) |
| LEDPatternFragment sensesp::frag_linear_fade | ( | uint32_t | duration_ms, |
| uint32_t | fade_duration_ms, | ||
| const CRGB & | target_color ) |
Definition at line 13 of file led_blinker.cpp.
| LEDPatternFragment sensesp::frag_linear_invert | ( | uint32_t | duration_ms, |
| bool | reverse ) |
| LEDPatternFragment sensesp::frag_nop | ( | uint32_t | duration_ms | ) |
Definition at line 75 of file led_blinker.cpp.
| LEDPatternFragment sensesp::frag_solid_color | ( | uint32_t | duration_ms, |
| const CRGB & | color ) |
Definition at line 8 of file led_blinker.cpp.
|
inline |
Apply gamma correction to an 8-bit value.
LED brightness perception is non-linear - human eyes perceive brightness logarithmically. This function applies inverse gamma correction to boost low brightness values, making dim LEDs more visible.
Uses a lookup table for efficiency (called at 200Hz).
| value | Linear input value (0-255) |
Definition at line 48 of file crgb.h.
| String sensesp::generate_uuid4 | ( | ) |
| String sensesp::get_content_type | ( | httpd_req_t * | req | ) |
| bool sensesp::get_item_data | ( | JsonDocument & | doc, |
| const std::shared_ptr< ConfigItemBase > & | item ) |
| String sensesp::get_random_hex_string | ( | ) |
| const char * sensesp::get_schema_type_string | ( | const bool | dummy | ) |
Definition at line 23 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const bool | dummy | ) |
Definition at line 23 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const float | dummy | ) |
Definition at line 13 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const float | dummy | ) |
Definition at line 13 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const int | dummy | ) |
| const char * sensesp::get_schema_type_string | ( | const int | dummy | ) |
| const char * sensesp::get_schema_type_string | ( | const String & | dummy | ) |
Definition at line 18 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const String & | dummy | ) |
Definition at line 18 of file config_item.cpp.
| const char * sensesp::get_schema_type_string | ( | const T | dummy | ) |
Convert the variable type to a string representation of the type using template specializations.
Definition at line 21 of file config_item.h.
| esp_err_t sensesp::handle_config_item_list | ( | httpd_req_t * | req | ) |
Definition at line 39 of file config_handler.cpp.
| String sensesp::MD5 | ( | const String & | payload_str | ) |
|
inline |
| bool sensesp::operator!= | ( | ObservableValue< T > const & | lhs, |
| T const & | rhs ) |
Definition at line 21 of file observablevalue.h.
| bool sensesp::operator== | ( | ObservableValue< T > const & | lhs, |
| T const & | rhs ) |
Definition at line 16 of file observablevalue.h.
|
inline |
Convert RGB color to perceptual luminance.
Uses the standard luminance formula (ITU-R BT.709) that weights green most heavily, followed by red, then blue.
| r | Red component (0-255) |
| g | Green component (0-255) |
| b | Blue component (0-255) |
Definition at line 125 of file crgb.h.
|
inline |
|
inline |
| void sensesp::Sha1 | ( | const String & | payload_str, |
| uint8_t * | hash_output ) |
| void sensesp::urldecode2 | ( | char * | dst, |
| const char * | src ) |
| LEDPattern sensesp::blip_pattern |
Definition at line 57 of file system_status_led.cpp.
| const ParamInfo sensesp::hysteresis_param_info[4] |
Definition at line 9 of file hysteresis.h.
| const char sensesp::kContentEncoding[] = "Content-Encoding" |
Definition at line 7 of file static_file_data.h.
| const char sensesp::kContentType[] = "Content-Type" |
Definition at line 6 of file static_file_data.h.
|
constexpr |
Definition at line 20 of file sensesp_base_app.h.
| const StaticFileData sensesp::kFrontendFiles[] |
Definition at line 8 of file frontend_files.h.
|
constexpr |
Gamma correction lookup table (γ=2.2, inverted).
Pre-computed values for inverse gamma correction to avoid expensive floating-point math in the hot path. Generated with: table[i] = round(pow(i/255.0, 1/2.2) * 255)
|
constexpr |
Value used to indicate an invalid or missing altitude.
Definition at line 10 of file position.h.
|
constexpr |
Definition at line 18 of file networking.h.
|
constexpr |
Definition at line 5 of file angle_correction.cpp.
|
constexpr |
Definition at line 11 of file position.h.
| const char* const sensesp::kSensESPVersion = "3.2.2" |
Definition at line 6 of file sensesp_version.h.
|
constexpr |
Definition at line 15 of file status_page_item.h.
|
constexpr |
Definition at line 16 of file status_page_item.h.
|
constexpr |
Definition at line 26 of file signalk_ws_client.cpp.
| LEDPattern sensesp::no_ap_pattern |
Definition at line 6 of file system_status_led.cpp.
| bool sensesp::Nullable< bool >::invalid_value_ = false |
Definition at line 40 of file nullable.cpp.
| char sensesp::Nullable< char >::invalid_value_ = 0xff |
Definition at line 17 of file nullable.cpp.
| double sensesp::Nullable< double >::invalid_value_ = -1e9 |
Definition at line 15 of file nullable.cpp.
| float sensesp::Nullable< float >::invalid_value_ = -1e9 |
Definition at line 13 of file nullable.cpp.
| int16_t sensesp::Nullable< int16_t >::invalid_value_ = 0x7fff |
Definition at line 25 of file nullable.cpp.
| int32_t sensesp::Nullable< int32_t >::invalid_value_ = 0x7fffffff |
Definition at line 29 of file nullable.cpp.
| int64_t sensesp::Nullable< int64_t >::invalid_value_ = 0x7fffffffffffffffLL |
Definition at line 37 of file nullable.cpp.
| int8_t sensesp::Nullable< int8_t >::invalid_value_ = 0x7f |
Definition at line 21 of file nullable.cpp.
| T sensesp::Nullable< T >::invalid_value_ = T{} |
Definition at line 11 of file nullable.cpp.
| uint16_t sensesp::Nullable< uint16_t >::invalid_value_ = 0xffff |
Definition at line 23 of file nullable.cpp.
| uint32_t sensesp::Nullable< uint32_t >::invalid_value_ = 0xffffffff |
Definition at line 27 of file nullable.cpp.
| uint64_t sensesp::Nullable< uint64_t >::invalid_value_ = 0xffffffffffffffffLL |
Definition at line 35 of file nullable.cpp.
| uint8_t sensesp::Nullable< uint8_t >::invalid_value_ = 0xff |
Definition at line 19 of file nullable.cpp.
| std::shared_ptr< SensESPApp > sensesp::sensesp_app |
Definition at line 7 of file sensesp_app.cpp.
| LEDPattern sensesp::wifi_connected_pattern |
Definition at line 16 of file system_status_led.cpp.
| LEDPattern sensesp::wifi_disconnected_pattern |
Definition at line 10 of file system_status_led.cpp.
| LEDPattern sensesp::ws_authorizing_pattern |
Definition at line 52 of file system_status_led.cpp.
| SKWSClient* sensesp::ws_client |
Definition at line 28 of file signalk_ws_client.cpp.
| LEDPattern sensesp::ws_connected_pattern |
Definition at line 34 of file system_status_led.cpp.
| LEDPattern sensesp::ws_connecting_pattern |
Definition at line 22 of file system_status_led.cpp.
| LEDPattern sensesp::ws_disconnected_pattern |
Definition at line 40 of file system_status_led.cpp.