Try verifying your code first using the ANT+ simulator... you can download the ANT+ simulators from the ANT+ Adopter Zone.
Configure the ANT+ sensor simulator as an ANT+ stride based speed and distance sensor and verify that the data being sent is decoded correctly by your code.
Using the simulators is a very useful first step in testing your designs before trying to get them functioning with actual products.