Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



IrDA Sockets Overview


Purpose

Allows applications to use infrared communications, as defined by the IrDA protocol stack, through EPOC's generic sockets interface.

[Top]


Architectural relationships

The Sockets Server defines a generic interface for all socket type communication services, and defines a plug-in architecture for implementing particular providers. IrDA Sockets is such a plug-in. Clients access its services through the generic Sockets Client API, specifying protocol-specific behaviour through infrared-specific utility types and constants.

[Top]


Description

The API has five key concepts: IrTinyTP socket protocol, IrMUX socket protocol, IrDA discovery, IAS database queries, and IAS database registration.


IrTinyTP socket protocol

The IrTinyTP socket protocol provides access to IrDA IrTinyTP, a reliable transport layer which corresponds to a sequenced packet service. Client applications access this through the generic socket interface RSocket.


IrMUX socket protocol

The IrMUX socket protocol provides access to the raw IrDA LM-MUX layer, which corresponds to an unreliable datagram service. Client applications access this through the generic socket interface RSocket.


IrDA discovery

IrDA discovery is done through the generic host name resolution interface RHostResolver. Discovery information is returned in a TIrdaSockAddr.


IAS database queries

IrDA IAS database queries are performed through RNetDatabase. The query itself is constructed in a TIASQuery object. A response to a query is held in a TIASResponse object.


IAS database registration

IrDA IAS database registration is performed through RNetDatabase. Information for a database entry is encapsulated by TIASDatabaseEntry.

[Top]


See also

Sockets Client Overview