Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Blood Pressure Cuff #14

Merged
merged 5 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
124 changes: 96 additions & 28 deletions ENGAGEHF.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/Spezi",
"state" : {
"revision" : "c43e4fa3d3938a847de2b677091a34ddaea5bc76",
"version" : "1.2.3"
"branch" : "feature/dynamic-module-loading",
"revision" : "24eee5c25308331c81f7fbb05d11dae637e01601"
}
},
{
Expand All @@ -204,8 +204,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/SpeziBluetooth.git",
"state" : {
"revision" : "4e1bdee198904a319915cec4804dd0327f06b9ba",
"version" : "1.4.1"
"revision" : "efd58ff41d682a2b5b39a55be6de30b311b099dd",
"version" : "1.5.0"
}
},
{
Expand All @@ -231,8 +231,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/SpeziFirebase.git",
"state" : {
"revision" : "16c1c751c14b08ae593eacf9bc2752c2e070fe2f",
"version" : "1.1.0"
"revision" : "f05c859f75d317dca9b378b7f8a7cfa8e135df04",
"version" : "1.1.1"
}
},
{
Expand Down Expand Up @@ -330,8 +330,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "359c461e5561d22c6334828806cc25d759ca7aa6",
"version" : "2.65.0"
"revision" : "9428f62793696d9a0cc1f26a63f63bb31da0516d",
"version" : "2.66.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions ENGAGEHF.xcodeproj/xcshareddata/xcschemes/ENGAGEHF.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</CommandLineArgument>
<CommandLineArgument
argument = "--setupTestEnvironment"
isEnabled = "YES">
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "--testMockDevices"
Expand All @@ -103,7 +103,7 @@
</CommandLineArgument>
<CommandLineArgument
argument = "--useFirebaseEmulator"
isEnabled = "YES">
isEnabled = "NO">
</CommandLineArgument>
</CommandLineArguments>
</LaunchAction>
Expand Down
190 changes: 0 additions & 190 deletions ENGAGEHF/Bluetooth/MeasurementManager.swift

This file was deleted.

51 changes: 0 additions & 51 deletions ENGAGEHF/Bluetooth/Views/MeasurementLayer.swift

This file was deleted.

63 changes: 0 additions & 63 deletions ENGAGEHF/Bluetooth/Views/MeasurementRecordedView.swift

This file was deleted.

7 changes: 5 additions & 2 deletions ENGAGEHF/Dashboard/Dashboard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ struct Dashboard: View {
}
.toolbar {
if FeatureFlags.testMockDevices {
ToolbarItem(placement: .secondaryAction) {
ToolbarItemGroup(placement: .secondaryAction) {
Button("Trigger Weight Measurement", systemImage: "scalemass.fill") {
measurementManager.loadMockMeasurement()
measurementManager.loadMockWeightMeasurement()
}
Button("Trigger Blood Pressure Measurement", systemImage: "drop.fill") {
measurementManager.loadMockBloodPressureMeasurement()
}
}
}
Expand Down
Loading
Loading