Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Introduction to IrDA Serial

The IrDA Serial API uses the generic service functionality provided by the Comms Server.

In order to access IrDA services through this API, it is first necessary to create and connect to an instance of an RCommServ object. This instance is used to load the required Comms Server module (or “CSY”). Currently, IrDA services are accessible through one comms server module entitled “ircomm.csy”. This module contains the EPOC IrCOMM implementation which currently comprises the following flavours: 3Wire raw, IrLPT, 3Wire ‘cooked’ and 9Wire ‘cooked’. The API presented by a Comms Server module is a characteristic TTY-like interface which enables the user to employ it to transparently pipe comms I/O through different protocol stacks. In the case of the IrCOMM CSY, the I/O is piped over an IPC boundary from the client application code to the Comms Server module and again over another IPC boundary to the IrDA stack DLL which is attached to an instance of the socket server before finally traversing one last thread boundary over to the SIR driver Comms Server module, ECUART.CSY.