Reputation: 527
I am new to Bluetooth programming, and I am trying to create a Linux application which interacts with a Heart Rate Monitor (HRM) over Bluetooth. This would ideally be accomplished through either BlueZ tools (sdptool, hcitool, hciconfig, etc.) or the C Programming Language.
I assume the program would resemble the following:
Of course, being new, my assumptions about program flow could be incorrect themselves.
However, I am unable to find any capabilities regarding the Health Device Profile in the BlueZ tools. In attempting to make a C application, I can find preprocessor macros for numbers relating to an HDP implementation in the BlueZ header files, but no functionality beyond that.
Some useful links I've found:
System Information:
To be more specific about my questions, is it possible to create an HDP sink using BlueZ tools? If not, is it possible to do so in C. If not, what is the best way? And where can I go to find documentation for HDP connections and possible examples. Search engines have proved unhelpful so far, so I am hoping SO can provide some direction.
Thanks!
Upvotes: 1
Views: 3030
Reputation: 1096
Try Antidote, it compiles for Linux and has a built-in sink example (healthd).
http://oss.signove.com/index.php/Antidote:_IEEE_11073-20601_stack
Upvotes: 0