Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update transform.js
  • Loading branch information
szymjaw authored Jan 7, 2019
commit bd26377be8dba7d43dc67fa1789190162fcab643
3 changes: 2 additions & 1 deletion transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function deviceStatusEntry(data, offset) {
'uploader': {
'battery': data['medicalDeviceBatteryLevelPercent'],
},
'connect': {
'guardian': {
// For the values these can take, see:
// https://gist.github.com/mddub/5e4a585508c93249eb51
'sensorState': data['sensorState'],
Expand All @@ -92,6 +92,7 @@ function deviceStatusEntry(data, offset) {
'conduitInRange': data['conduitInRange'],
'conduitMedicalDeviceInRange': data['conduitMedicalDeviceInRange'],
'conduitSensorInRange': data['conduitSensorInRange'],
'medicalDeviceBatteryLevelPercent': data['medicalDeviceBatteryLevelPercent'],
}
};
} else {
Expand Down