Hi,
I want to use the FE-C profile to write resistance to my bike trainer.
Till now I was able to read the bike speed and power using bike speed and cadence profile and bike power profile. Because I am noob in this level of programming I used the “ANT PC SDK - API Libraries and sample source code “ to read the bike speed and power output.
What I did is just to change the channel period and device type inside the “DEMO_HR_RECEIVER” based on the speed and power device profile and then interpret the received which was quite simple.
Now I am struggling to be able to write resistance to my Bike trainer. I read the document FE-C but still don’t understand in what part of the code I can write a number as resistance.
Based the FE-C device profile document, I configure the channel (slave channel in table 7-1).
But where should I write the resistance, could you provide me a sample code (in C++) like the DEMO_HR_RECEIVER please.
If you could provide me a simple demo code like DEMO_HR_RECEIVER that would be nice.
I appreciate any help,
Thanks.