9. Serial Communications

< BACK  NEXT >
[oR]

Chapter 9. Serial Communications

Serial communications can be used to communicate to many different types ofdevices, from servers and minicomputers through to desktop PCs and GPS devices. Most of the time serial communications uses an RS232 serial port, and nearly all Windows CE devices have such a port. Other devices, such as some PCMCIA cards, use serial communications to transfer data using a virtual communications port rather than an RS232 port. Serial communications can also be used to transfer data between infrared ports.

Serial communications is being used less and less for communicating between Windows CE devices and other compfuters, since Point to Point Protocol (PPP) is used across an RS232 connection, and PPP allows TCP/IP communications techniques (see Chapter 8) to be employed. This is advantageous, since multiple applications using TCP/IP can communicate using a single connection, whereas with ordinary serial communications only a single application can use the port at any one time.

You can use RS232 communications techniques to initiate and manage a call through a modem using standard AT-type modem commands. It is, however, much easier to use TAPI (Telephone API) and RAS (Remote Access Services) to manage such connections, and this is described in Chapter 10.


< BACK  NEXT >


Windows CE 3. 0 Application Programming
Windows CE 3.0: Application Programming (Prentice Hall Series on Microsoft Technologies)
ISBN: 0130255920
EAN: 2147483647
Year: 2002
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net