valid json for READ_SENSORS
This commit is contained in:
parent
a6d5d045f1
commit
97992f9682
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue