SensESP 3.0.1
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_;
31
47 SKMetadata(const String& units, const String& display_name = "",
48 const String& description = "", const String& short_name = "",
49 float timeout = -1.0);
50
53
61 virtual void add_entry(const String& sk_path, JsonArray& meta);
62};
63
64} // namespace sensesp
65
66#endif
Holds Signal K meta data that is associated with the sk_path an SKEmitter class may optionally send t...
virtual void add_entry(const String &sk_path, JsonArray &meta)
SKMetadata()
Default constructor creates a blank Metadata structure.