More sensor information in struct; added handle_url; new node_id column in sendmysql

This commit is contained in:
2017-08-26 15:02:15 +02:00
parent 2efcbce437
commit 740589b158
6 changed files with 76 additions and 9 deletions

View File

@@ -9,6 +9,8 @@ extern "C" {
typedef struct {
int pin;
int node_id;
char ip[16]; //15 digits + '\0'
float humidity;
float temperature;
} sensor;