valid json for READ_SENSORS
This commit is contained in:
@@ -12,7 +12,7 @@ BME280 bme280;
|
||||
/******************************************************************************/
|
||||
/* Firmware Version */
|
||||
/******************************************************************************/
|
||||
static const int32_t fwVersion = 20210427;
|
||||
static const int32_t fwVersion = 20210428;
|
||||
|
||||
/******************************************************************************/
|
||||
/* LoraWAN Settings */
|
||||
@@ -680,7 +680,7 @@ bool checkUserAt(char *cmd, char *content)
|
||||
Serial.printf(" \"temperature\": \"%d\",\n", sensor_data.temperature);
|
||||
Serial.printf(" \"humidity\": \"%d\",\n", sensor_data.humidity);
|
||||
Serial.printf(" \"pressure\": \"%d\",\n", sensor_data.pressure);
|
||||
Serial.printf(" \"vbat\": \"%d\",\n", sensor_data.vbat);
|
||||
Serial.printf(" \"vbat\": \"%d\"\n", sensor_data.vbat);
|
||||
Serial.printf("}\n");
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user