15 #ifndef _TEMP_SENSOR_HANDLER_HPP 16 #define _TEMP_SENSOR_HANDLER_HPP 24 #include "mgos_mqtt.h" 35 struct mg_str* message,
TempSensorHandler class, responsible for handling temperature sensor endpoint functionalities of aws...
Definition: temp_sensor_handler.hpp:31
header file for event handler utils
HandlerError handleRequest(struct mg_connection *mgCon, struct mg_str *message, char *commandName, char *response)
handle aws request pertainting to temperature sensor endpoint for the pc controller ...
Definition: temp_sensor_handler.cpp:47
HandlerError handleReport(char *stateReport)
handle state report pertainting to temperature sensor endpoint for the pc controller The function wil...
Definition: temp_sensor_handler.cpp:65
contain class declaration for the ParentHandler class
HandlerError
enum defining errors that the system(including master handler and other child handler) may have ...
Definition: event_handler_util.hpp:37
the parent handler class that is the blueprint for other child handlers to implement, it also defines a couple functions that child handler can use
Definition: parent_handler.hpp:31