Serial Terminal For Windows Ce

Hi all,
The Windows CE USB Serial Host Driver (Wceusbsh.sys) provides a simulated Serial interface that is used by Microsoft ActiveSync to communicate with Windows CE or Windows Mobile devices over a USB connection from a computer running Microsoft Windows XP.
I´m having troubles programming with C# for windows CE. I need to listen a serial port, I have the program for windows and it works fine but when I program it to windows CE I dont know why it does not recognize any event function.
I normally use the event for the onRx but under the CE platform I think it does not work, does anyone know how to do that?
Regards,
- 2 Contributors
- forum 7 Replies
- 1,104 Views
- 1 Week Discussion Span
- commentLatest Postby KetsuekiameLatest Post
Ketsuekiame860
First, you need to set what events you want to be notified of by called SetCommMask
. If you're only interested in whether data is available, you can call this with SetCommMask(mySerialPort, EV_RXCHAR);
.
Once you have set up the events you're interested in, you need to use the method WaitCommEvent
. It will fill an LPDWORD
which you can do a bit-comparison against for EV_RXCHAR
Diesel DZ7023 Pdf User Manuals. View online or download Diesel DZ7023 User Manual. Diesel automatic watches. This DIESEL WATCH DZ7023 MANUAL Pdf document begin with Intro, Brief Session until the Index/Glossary page, read the table of content for more information, if provided. It is going to talk over. Product Product codes; dz1179: dz7231, dz4190, dz1445, dz1430, dz1399, dz1273: User Guide (English) dz1067: dz9014, dz9010, dz7234, dz7214, dz7213, dz7208, dz7207.
The above is for C++ whoops! I will leave it here in case you want to write a native library
With relation to C#, did you make sure to install the .NET 3.5 Compact Framework? There are bugs in 2.0 with respect to Serial/Comm ports.