Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android / iOS API access to Bluetooth heart-rate monitors

I'm looking to write some Android or iOS applications to access a Bluetooth heart-rate monitor. There are currently some apps available like Android's "Heart Rate Monitor" that connect to heart-rate monitors like the Zephyr HxM, so I know it can be done.

What is the programming API like? If I write an app, would it be able to connect to any heart-rate device? Or would I have to follow some application-layer protocol from the device manufacturer and read and process Bluetooth packets?

like image 537
stackoverflowuser2010 Avatar asked Oct 21 '25 04:10

stackoverflowuser2010


1 Answers

Many of the bluetooth enabled Heart-rate monitors supports the SPP profile and you can use the Android Bluetooth SPP socket APIs to access the device. The Android chat example is a good application to modify to start with.

like image 167
Dennis Mathews Avatar answered Oct 23 '25 17:10

Dennis Mathews



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!