G
Guest
Hello
I'm trying to read data from the Serial Port on my Pocket PC. I open the Port using CreateFile() and the use ReadFile() to read the incoming data. So far so good. To make this work I need to set the Port Speed to 4800 Baud. So I use a DCB structure and SetCommState() to do so. But the settings do not stick. Everytime I use GetCommState() and check the Baudrate in the returned DCB it is back to 9600.
Any ideas
thank
Mike
I'm trying to read data from the Serial Port on my Pocket PC. I open the Port using CreateFile() and the use ReadFile() to read the incoming data. So far so good. To make this work I need to set the Port Speed to 4800 Baud. So I use a DCB structure and SetCommState() to do so. But the settings do not stick. Everytime I use GetCommState() and check the Baudrate in the returned DCB it is back to 9600.
Any ideas
thank
Mike