|
ESP32 MQTT IoT Communication
|
Abstract Class Implementing Functions for Parsing Readings into JSON Objects. More...
#include <device.hh>

Public Member Functions | |
| virtual JsonDocument | parse ()=0 |
| Encodes data readings/id object into a JSON object. | |
| virtual String | get_address ()=0 |
| Returns the IP address of the Board. | |
Abstract Class Implementing Functions for Parsing Readings into JSON Objects.
|
pure virtual |
Returns the IP address of the Board.
Implemented in device::Sensor, device::Device, and device::SensorReading.
|
pure virtual |
Encodes data readings/id object into a JSON object.
Implemented in device::Sensor, device::Device, and device::SensorReading.