New branch for my new AIO key.

Will have to remember to sanitize before committing to master.

Signed-off-by: A.M. Rowsell <amrowsell@frozenelectronics.ca>
This commit is contained in:
A.M. Rowsell 2019-01-19 15:25:44 -05:00
commit 1cd8191682
Signed by: amr
GPG key ID: 0B6E2D8375CF79A9
4 changed files with 24 additions and 21 deletions

2
mqtt.h
View file

@ -83,6 +83,8 @@ typedef struct {
char validConnection; /**< Boolean value which indicates whether or not the TCP connection is established, set in tcpConnect() */
struct espconn *activeConnection; /**< A pointer to the espconn structure containing details of the TCP connection */
// Add pointers to user callback functions
void (*publish_cb)(void *arg); /**< Pointer to user callback function for publish */
void (*connack_cb)(void *arg); /**< Pointer to user callback function for connack */
} mqtt_session_t;
/**