A simple heart rate monitor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Greg Pomerantz 23312478be Bump git.wow.st/gmp/ble to 20211115204235 to fix cgo bug. 2 weeks ago
depjars Restructure to add depjars directory so that I can cause go to 2 years ago
fastlane/metadata/android/en-US Add fastlane/ metadata for F-Droid. 2 years ago
hrm Bump git.wow.st/gmp/ble to 20211115204235 to fix cgo bug. 2 weeks ago
.gitignore Restructure to add depjars directory so that I can cause go to 2 years ago
LICENSE Add appicon.png and license information. 2 years ago
README.md Doc updates. 2 years ago

README.md

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.