Hi,
I have a prototype running in C++ with AntLib for cycling data but I'm still struggling with some topics :
-After finding devices with a background search, I want to show its values of power, cadence or heart rate but I'm not receiving consistent data on the background search channel. I mean if I try to show the live power effort, I won't receive enough power frames to build the power value. It seems it is normal in background search but how could I do otherwise ?
-With my problems of background scanning, I also tried to create 4 channels with a wildcard as deviceNumber. This time I can retrieve the correct values of one device but I wonder if it is better to create another channel dedicated to the device selected ?
My question here is, is it better to have a continuous channel with a wild card to catch potential new devices at any time or is it better to only focus on the device that has been selected ?
If I have 10 power devices around, will it overload the wildcard channel ? Can I have one channel for my chosen device and one channel for continuous search (or will it conflict) ?
-I also struggle to detect disconnections. If I remove the USB Dongle or if I power off the device, i'm not sure to detect the disconnection properly. My only way is to setup timeouts on every device ?