Example blescanner using SwiftUI with a Whoop heart rate monitor
Uses:
Core Bluetooth
for BLE connectionCombine
for state management
Aim was to reverse engineer a whoop band https://www.whoop.com/, then build a SwiftUI that updated on each new reading of the heart rate from the band.
Very simple UI that updates based off heart rate from the Whoop device
whoop.mov
Can be found in /blescanner/Views/Device/DeviceViewModel.swift