Поделиться через


About IrDA

Infrared Data Association (IrDA) can be described as:

  • A protocol suite designed to provide wireless, line-of-sight connectivity between devices.
  • The semi-transparent red window found on many laptops and some desktop computers.
  • An organization that creates, promotes, and standardizes IrDA technology. For more information about the IrDA organization, see www.irda.org.

Microsoft supports IrDA on many of its Windows versions: Windows XP, Windows 2000, Windows Me, Windows 98, and Windows CE. IrDA is comprised of numerous core protocols and services; Windows provides more thorough support for certain core protocols and services, based on factors including inherent performance characteristics of certain protocols, serialization of data, and programmability. Such support, and recommended programming practices to make the best use of IrDA in Windows, are explained in the following sections:

IrDA on Windows provides core services similar to those exposed by Transmission Control Protocol (the TCP part of TCP/IP). Like TCP, applications on different devices can open multiple, reliable IrDA connections to send and receive data. Client IrDA applications connect to a server application by specifying a device address (similar to a TCP host IP address), and further specify their connection using an application address (similar to a TCP port).

Like many networking protocols and services, IrDA connectivity and data transfer are programmed through Windows Sockets function calls. The IrDA reference section explains how to use Windows Sockets functions and structures with IrDA protocols, services, and devices.

For more information about IrDA, see the topics listed in the following table.

Section Content
The Benefits of IrDA Describes IrDA and illustrates the convenience of an IrDA-enabled application.
Windows IrDA Architecture Describes the architecture of IrDA.
IrDA Core Protocols and Services Explains IrDA core protocols and services, including transmission rates and usage recommendations for the Windows platform. Includes information about the limited support for IrCOMM on Windows.
IrDA Programming with Windows Sockets Explains how to program IrDA applications using Windows Sockets. Includes many examples to speed up IrDA performance and development time.