Hello
I noticed a problem that puzzles me.
I have a software in .net, connecting to several ANT devices.
Some of those devices are ANT FE-C trainers.
I usually control those trainers sending commands with sendAcknowledgedData., it worked well for several years
But I just noticed that, when an other channel is searching for an other device, sendAcknowledgedData fails (I can see in SimulANT that the message is never received by the trainer:
- If all the channels are receving data from the devices, I can successfully send commands to the Trainer
- If one of the channels is looking for a device, then sendAcknowledgedData commands never arrives, even if they are sent in a separate channel,
My setChannelSearchTimeout setting for the channels is currently 0xFF (infinite scan, which is really helpful because if a device disappear/reappers, then It will "reconnect" automatically
If i set ANTchannel.setChannelSearchTimeout(0x00); , then my sendAcknowledgedData are always received by the trainer, even if my other devices are offline, but I lose this "automatic reconnect" functionality
All those facts make me think there is a direct link between the searchTimeout, and the Acknowleged messages.
So I have several questions :
- Is that the desired and "normal" behavior of the channels ?
- is there a way to fix this issue while keeping my "automatic reconnect" functionality ?
Thanks in advance for your help