Splitting library into own file. Adding onewire.
The mqtt.c file was getting pretty big, so the example code is now in main.c. Also, we need a onewire library, so I've started to write on in onewire.c. We will need to make some changes to the Makefile as well, but I will need to consult a couple of resources for that. Signed-off-by: A.M. Rowsell <amrowsell@frozenelectronics.ca>
This commit is contained in:
parent
c8bff5cace
commit
70cf55efdf
6 changed files with 185 additions and 111 deletions
1
mqtt.h
1
mqtt.h
|
@ -82,6 +82,7 @@ typedef struct {
|
|||
uint32_t password_len; /**< The length of the password string */
|
||||
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
|
||||
} mqtt_session_t;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue