2#define ESP8266_CLOUD_H 1
4#include <main-header.h>
9void esp_cloud_deactivate();
10int esp_cloud_is_connected();
11int esp_cloud_is_connecting();
12int esp_cloud_failed_to_connect();
15void esp_cloud_chip_notify_reset();
void esp8266_cloud_loop()
called from esp8266 event loop if we are connected
void esp_cloud_init()
this resets the cloud state
void esp_cloud_activate()
activate the cloud.
void esp_cloud_state_update(int code, int data)
whenever the esp chip sends us an update about the cloud state this gets called by the event handler ...
const char * esp_cloud_get_desired_server()
returns server we want to connect to
void esp_cloud_answered(struct command *com, struct command *reply)
called on command timeout or reply