mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
introduce sgvdata, use it in api and storage
Clean up and comment a bunch of code.
This commit is contained in:
+3
-3
@@ -12,11 +12,11 @@ UNIX=$(date +%s $OPTS)
|
||||
|
||||
(
|
||||
cat <<EOF
|
||||
{ "sgv": $SGV,
|
||||
"device": "test",
|
||||
{ "sgv": "$SGV",
|
||||
"device": "xxx-test-device",
|
||||
"direction": "$DIRECTION",
|
||||
"dateString": "$ISO",
|
||||
"date": "$UNIX"
|
||||
"date": $UNIX
|
||||
}
|
||||
EOF
|
||||
) | tr -d '\n'
|
||||
|
||||
Reference in New Issue
Block a user