I've got an app that reads data from the COM port on a PocketPC 2003 device.
When the device goes to sleep (either by inactivity timeout or by pressing
the on/off button) and is then woken up by pressing the on/off button, the
COM port stays asleep and doesn't receive any more data.
The file handle remains open but all calls to Win32's ReadFile return zero
If I close the file handle and open another one to the COM port, everything
Is there some way to "kick" the COM port back into life after the device
goes into sleep mode?