|
AWS IoT Firmware
Firmware code for AWS IoT Devices
|
Source files for master handler class. More...
#include "master_handler.hpp"#include "device_config.hpp"#include "event_handler_util.hpp"#include "frozen.h"#include "mgos.h"#include "mgos_mqtt.h"#include "mqtt.hpp"#include <stdint.h>#include <cstring>
Macros | |
| #define | HANDLER_TRY_FUNC(funcToExecute) |
| helper function used to create error message and exit upon errors More... | |
Functions | |
| void | handleAllReq (struct mg_connection *mgCon, int eventType, void *rawMessage, void *user_data) |
| The entry point of all events, when an mcu receives an event, whether it's a request from aws or just a confirmation from the mqtt server, it is triaged here. More... | |
| void | handleAwsRequest (struct mg_connection *mgCon, struct mg_str *payload, char *jsonBuf, ParentHandler *_handlerList[]) |
| function used for finding the appropriate handler and hands the request to them or create error message to report to the server More... | |
Source files for master handler class.
1.8.11