A very simple example of how to use the BTStack java code along with a state machine created by the State Machine Compiler (http://smc.sourceforge.net/) to connect to a Polar H7 heart rate monitor.