I have attached a screen shot of a small part of my program. (I don't have XNET installed on the machine I used for the screen shot, sorry) The important part of that message is the rolling counter that keeps the connection alive. I also have to be able to change the battery state request value and the rest are static numbers at this point.
My main question is how can I have the rolling counter (0-13) sent every 100ms without relying on software timing? And while still being able to change the battery state value when needed, but still sent at 100ms?
I have someone worried that windows xp might decide to do something that could interupt the counter timing or cause it to repeat or miss sending part of the count. They are also testing new software on the unit under test and I don't want them to be able to say my rolling counter was off or had a hiccup.