Skip to content

Commit

Permalink
Add support for Blood Pressure Cuff (#14)
Browse files Browse the repository at this point in the history
# Add support for Blood Pressure Cuff

## ♻️ Current situation & Problem
In its current state, the application solely supports Omron Weight
Scales. This PR adds basic integration with Bluetooth-enabled Blood
Pressure cuffs. This required restructuring some of the models within
the app. Overall the structure was slightly simplified.
Lastly, we added support for the Current Time Service for both devices,
adding support for time stamp reporting within measurements.

## ⚙️ Release Notes 
* Added blood pressure cuff support
* Simplified modeling
* Added support for the Current Time service.


## 📚 Documentation
--


## ✅ Testing
Additional tests were added for the new device.


### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
Supereg authored Jun 7, 2024
1 parent 7b3f48c commit 3ecb60d
Show file tree
Hide file tree
Showing 28 changed files with 976 additions and 411 deletions.
129 changes: 101 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"
"revision" : "734f90c19422a4196762b0e1dd055471066e89ee",
"version" : "1.3.0"
}
},
{
Expand All @@ -204,8 +204,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/SpeziBluetooth.git",
"state" : {
"revision" : "4e1bdee198904a319915cec4804dd0327f06b9ba",
"version" : "1.4.1"
"revision" : "f3b8cc8461f12268b15db17aa45cc66b889cd1d0",
"version" : "1.6.0"
}
},
{
Expand All @@ -217,22 +217,13 @@
"version" : "1.0.0"
}
},
{
"identity" : "spezifileformats",
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/SpeziFileFormats",
"state" : {
"revision" : "017ea997f4f6128b15e8b8d4aac979cb7a822e74",
"version" : "1.2.0"
}
},
{
"identity" : "spezifirebase",
"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 @@ -262,6 +253,15 @@
"version" : "0.1.0"
}
},
{
"identity" : "spezinetworking",
"kind" : "remoteSourceControl",
"location" : "https://github.com/StanfordSpezi/SpeziNetworking",
"state" : {
"revision" : "71236efc911d5580fbf4d53748f38ad22ef00a2d",
"version" : "1.0.0"
}
},
{
"identity" : "spezionboarding",
"kind" : "remoteSourceControl",
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.

Loading

0 comments on commit 3ecb60d

Please sign in to comment.