| 73 | } |
| 74 | |
| 75 | bool 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 | |
| 88 | bool SensorPlugin::setTopic(const String& topic, const JsonObjectConst& value) |
| 89 | { |
nothing calls this directly
no outgoing calls
no test coverage detected