More sensor information in struct; added handle_url; new node_id column in sendmysql
This commit is contained in:
@@ -9,6 +9,8 @@ extern "C" {
|
||||
|
||||
typedef struct {
|
||||
int pin;
|
||||
int node_id;
|
||||
char ip[16]; //15 digits + '\0'
|
||||
float humidity;
|
||||
float temperature;
|
||||
} sensor;
|
||||
|
Reference in New Issue
Block a user