Infrared
Article Metadata
Infrared provides a means for short-range communications between devices, with standards defined by the Infrared Data Association (IrDA).
Applications typically use device discovery to find other IR devices in range, service queries to discover whether the found device supports the required service, and then use either a reliable or an unreliable data protocol to transfer data. Symbian supports both slow infrared (SIR), at speeds of 9.6 kbps to 115.2 kbps, and fast infrared (FIR), at speeds of 0.576 Mbps to 4Mbps.
Like many other comms protocols, infrared can be thought of as a stack of layers providing different levels of functionality. The layers of interest are as follows:
- Link Management Multiplexer (LM-MUX): provides infrared communications equivalent to an unreliable datagram service.
- IrDA Tiny TP: provides infrared communications equivalent to a reliable packet service.
- Link Management Information Access Service (LM-IAS): gets information about a remote device’s capabilities.
- Link Access Protocol (IrLAP): provides low-level control of the infrared link, such as baud rate.
The IrDA stack is implemented by Symbian OS in a plugin to the sockets server. The layers of the stack are accessed through the various abstractions that the sockets API provides:
- IrDA, IrTinyTP and IrMUX can be accessed through the generic socket interface RSocket.
- IrLAP options can be set through options on such sockets.
- LM-IAS is accessed through the sockets RNetDatabase class.
Above these basic sockets layers, further higher-level infrared services are available:
- IrOBEX v1.2 (IrDA object exchange): OBEX, a protocol to exchange objects such as business cards, has already been mentioned in connection with Bluetooth. The same APIs, CObexClient and CObexServer, can be used with infrared as the transport.
- IrTRANP v1.0: this is a protocol for transferring pictures from a digital camera over infrared. The CTranpSession class encapsulates the behavior for receiving a picture from a peer device.
- IrCOMM v1.0: provides an emulation of a serial port over infrared. It is implemented as a plugin to the serial communications server, and is accessed through the generic serial interfaces, such as RComm.


30 Sep
2009
Article does not contain any code or any thing, but its contain a basic thing about the Infrared. At now a days, most of the mobile contain Infrared. And many applications are developed on Infrared. So to know about Infrared is very important as a developer. And as developer to know just a Infrared is a communication part not enough. It is a communication part like Bluetooth. To develop application on Infrared we must know every thing about Infrared. At here this and linked article explain about Infrared, its protocols etc. so it’s a very good for every developer.
Infrared is mostly used for short-range communication. Article shows the protocol name and quick introduction about that. Article also describes about the API, which are available for development. And services of the Infrared. Article shows where we can use this port so that developer can make application according to those places.