I am interacting with an Elite Drivo cycling turbo trainer using C# and ANT_NET.dll. I understand from "ANT AN02 Device Pairing" that the following steps make me paired with the turbo trainer.
Create a Device
Get a Channel
requestChannelID - which I get OK
device0.ResetSystem
device0.setNetworkKey
channel0.setChannelID - with wildcard for the moment
Create a display and turn it on (I assume the Channel Type and Channel Period are implicitly set here)
However the green ANT+ light on my Turbo stubbornly keeps flashing in pairing mode and only very occasionally (and for no obvious / repeatable reason) changes to steady - yet Zwift or the Elite software make the green light steady every time. So this suggests I am not properly paired and I don't know why.
I check for, and never get, a CHANNEL_NOT_OPENED_0x16 event
I also successfully request and get the ChannelID
I do however get EVENT_RX_FAIL_0x02 regularly, which I suspect is a mismatch of data send periods (should I worry?)
I can't find any example code for FitnessEquipment to help me.
I receive the turbo's broadcast cadence and speed. I can also poll for the power, however I cannot successfully set the turbo resistance (with SendBasicResistance) or power (with SendTargetPower), but I suspect this is because I am not properly paired.
So it seems I am missing a key step and I would be grateful for any suggestions about what I have not done to fully complete the pairing process - or point me at any example code.
Thank you
Stephen