MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / getTopic

Method getTopic

lib/SensorPlugin/src/SensorPlugin.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool SensorPlugin::getTopic(const String& topic, JsonObject& value) const
76{
77 bool isSuccessful = false;
78
79 if (true == topic.equals(TOPIC_CONFIG))
80 {
81 getConfiguration(value);
82 isSuccessful = true;
83 }
84
85 return isSuccessful;
86}
87
88bool SensorPlugin::setTopic(const String& topic, const JsonObjectConst& value)
89{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected