Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Weird behavior in FE-C send page function

Rank

Total Posts: 1

Joined 2014-12-18

PM

I have a weird behavior when sending page to SimuAnt (newest Version)
All working fine, but only 1 thing is weird

When i send page:


pageToSend = new byte[8] { 0x30, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, (byte)(resistance * 2) };//unit is 0.50%
deviceChannel.sendAcknowledgedData(pageToSend);

(I send with a button)

i have checked that with a Debug.Log that the function is really called.

Now the weird stuff is: when i clicked the button, the debug log confirm that the page is send to device.
but i have no effect in the device.
When i click rapidly the button, it works sometime.

When i call the function 20 times in code, it works. But i dont think thats the right way to solve the problem.

I suspect a synchronization error!?

Anybody have an idea for this weird stuff?