Serial port over Bluetooth buffered on Windows XP?
I have a serial connection over Bluetooth between a PC (running Windows XP Professional) and a piece of hardware that makes a display on a led-matrix.
The content is transferred with a refresh rate of 12 frames per second (simple animations).
To reduce the amount of data I do a simple compression (runlength encoding), but I have the feeling that, when frames get more complex and compression is less effective, I have no direct control over timing anymore.
This is probably caused by the fact that Windows does some buffering.
Is the assumption correct that Windows does some buffering?
And, if so, can anyone tell me how I can switch it off, so I have direct control over the timing again?
A few details:
I'm using:
- C++ in Visual Studio 6.
- win32 API
- CreateFile, WriteFile, etc to send data
|