O'Reilly logo

Programming Windows® Embedded CE 6.0 Developer Reference, 4th Edition by Douglas Boling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Serial Communications

If there’s one area of the Win32 API where Windows CE doesn’t skimp, it’s in communication. It makes sense. Either systems running Windows CE are mobile, requiring extensive communication functionality, or they’re devices generally employed to communicate with remote servers or as remote servers. In this chapter, I introduce the low-level serial communication APIs.

Talking to a serial port involves opening and conversing with a serial device driver. Talking to a device driver isn’t a complicated process. In fact, in the tradition of most modern operating systems, applications in Windows CE access device drivers through the file system API, using functions such as CreateFile, ReadFile, WriteFile, and CloseHandle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required