Click on the following link to download the example: ServerClientSide.zipDownload some additional files required by the example: CommonFiles
Click: browse to view the example code.View the additional files: browse .
IRPrinting illustrates the use of the Serial Communications Server for infra-red communications, such as to an IrDA-capable printer. See the IrDA Serial Overview for more information.
Creates a connection to the Comms server
Loads the Comms server module that supports infra-red (“IrCOMM”)
Opens a port
Writes a short message to the port
Closes the port
Closes the Comms server
The write operation times out with an error after four seconds if it is not successful, as will occur if no receiver is present.
The source code includes the two project files needed for building: bld.inf and the .mmp file.
The Symbian platform build process describes how to build this application, which results in an executable called \epoc32\release\<target>\<urel or udeb>\IRPRINTING.EXE .
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.