Click on the following link to download the example: ServerClientSide.zip
Download some additional files required by the example: CommonFilesClick: 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.
The example:
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.
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.