A simple heart rate monitor
Go to file
2020-01-06 17:07:38 -05:00
depjars Restructure to add depjars directory so that I can cause go to 2019-12-13 14:24:31 -05:00
fastlane/metadata/android/en-US Add fastlane/ metadata for F-Droid. 2020-01-06 17:07:38 -05:00
hrm Version bump for git.wow.st/gmp/ble. 2019-12-31 08:46:53 -05:00
.gitignore Restructure to add depjars directory so that I can cause go to 2019-12-13 14:24:31 -05:00
LICENSE Add appicon.png and license information. 2019-12-11 09:59:19 -05:00
README.md Doc updates. 2019-12-16 08:56:32 -05:00

HRM

An example heart rate monitor app for Android and MacOS using git.wow.st/gmp/ble and Gio.

The MacOS implementation uses a Core Bluetooth binding created by NSWrap. On Android, Martijn van Welie's Blessed library is used to simplify access to the Bluetooth Low-Energy hardware.

MacOS:

git clone https://git.wow.st/gmp/hrm
cd hrm/hrm
go build
./hrm

Android:

The gogio command from gioui.org/cmd/gogio must be installed to build an Android APK.

git clone https://git.wow.st/gmp/hrm
cd hrm/hrm
gogio -target android .
adb install -r hrm.apk

The compiled Java code for the Android implementation is pre-packaged in jar files. If you want to, you can re-compile these dependencies by running go generate from the depjars directory. You will need to have gradle, an Android SDK, and who knows what else installed on your machine.