Add chamberID
This commit is contained in:
1 parent
9302a32ef4
commit
2ba0f6cc5d
2 files changed
+1
No files matched your search
Binary file not shown.
@@ -250,6 +250,7 @@ size_t CultivarEnv::toJSON(const CultivarEnvPayload &p, char *buf, size_t len) {
|
|||||||
size_t n = 0;
|
size_t n = 0;
|
||||||
|
|
||||||
n += snprintf(buf + n, len - n, "{");
|
n += snprintf(buf + n, len - n, "{");
|
||||||
|
n += snprintf(buf + n, len - n, "\"chamber_id\":\"%s\",", CHAMBER_ID);
|
||||||
n += snprintf(buf + n, len - n, "\"ts\":%lu,", p.timestamp_ms);
|
n += snprintf(buf + n, len - n, "\"ts\":%lu,", p.timestamp_ms);
|
||||||
|
|
||||||
// Ambient
|
// Ambient
|
||||||
|
|||||||
Reference in new issue
Block a user