by igor » Mon 14. Mar 2011, 07:18
Hi, I write app using c# and IRTrans.NET dll (4.0.18.26026)
There is button In my application. When button is pressed app sends commands (using the method IRTransServer.IRSend) with some delay. When button is released, app stop sending commands.
sample
irtServer = new IRTransServer(host);
...
result = irtServer.IRSend(remote, command);
But after the button is released, the device still gets a commands.
As I understand the problem is that there is a buffer in which the accumulated command (or the device or IRTrans server), because the execution time longer than the time between sending commands.
Can I use the API to reset the buffer to stop sending commands?