summaryrefslogtreecommitdiff
path: root/minion
diff options
context:
space:
mode:
Diffstat (limited to 'minion')
-rw-r--r--minion/src/gymnasiearbete.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/minion/src/gymnasiearbete.cpp b/minion/src/gymnasiearbete.cpp
index 401722c..d4cdaee 100644
--- a/minion/src/gymnasiearbete.cpp
+++ b/minion/src/gymnasiearbete.cpp
@@ -143,7 +143,9 @@ void loop()
snprintf(
response_data,
RESPONSE_DATA_MAX_LENGTH,
- "%u",
+ "{ %s: { %s: %u } }",
+ R"("data")",
+ R"("temperature")",
temperature_sensor.temperature()
);