SensESP 3.3.0
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
signalk_metadata.h
Go to the documentation of this file.
1#ifndef SENSESP_SIGNALK_SIGNALK_METADATA_H_
2#define SENSESP_SIGNALK_SIGNALK_METADATA_H_
3
4#include <ArduinoJson.h>
5
6namespace sensesp {
7
25 public:
27 String units_;
30 float timeout_;
32
51 SKMetadata(const String& units, const String& display_name = "",
52 const String& description = "", const String& short_name = "",
53 float timeout = -1.0, bool supports_put = false);
54
57
65 virtual void add_entry(const String& sk_path, JsonArray& meta);
66};
67
68} // namespace sensesp
69
70#endif
virtual void add_entry(const String &sk_path, JsonArray &meta)
SKMetadata(const String &units, const String &display_name="", const String &description="", const String &short_name="", float timeout=-1.0, bool supports_put=false)
SKMetadata()
Default constructor creates a blank Metadata structure.