Skip to content

Bluetooth Low Energy BLE cli mockup on macOS (Swift) with Polar H7 / H10 Heart Rate Monitor

License

Notifications You must be signed in to change notification settings

FleXoft/Polar-H7-H10-HRMcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Polar-H7-H10-HRMcli

Bluetooth Low Energy BLE cli mockup on macOS (Swift) with Polar H7 / H10 Heart Rate Monitor

I've been planning this ever since I successfully managed to put together the sceleton of the graphical version, to see how BLE / CoreBluetooth could be done through a pure simple cli interface in Swift.

Now I finally have some spare time to try and here is the result. Almost all the code from the original version could be reused.

To compile:

swiftc Polar-H7-H10-HRMcli.swift

or

swiftc -sdk `xcrun --show-sdk-path` Polar-H7-H10-HRMcli.swift

To run:

./Polar-H7-H10-HRMcli start

About

Bluetooth Low Energy BLE cli mockup on macOS (Swift) with Polar H7 / H10 Heart Rate Monitor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages