diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-397239F9-7EE8-52CF-9B37-328AE307BAA0.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-397239F9-7EE8-52CF-9B37-328AE307BAA0.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,40 @@ + + + + + +How +to Open a Port with the IrDA Protocol Module: TutorialThis tutorial shows how to load the Infrared Serial Protocol Module +and open a serial port. + +Call RCommServ::Connect() to +create a session with the Serial communications Server. + + +Call RCommServ::LoadCommModule() with the aFileName parameter +set to ircomm. + ircomm.csy is the name of the DLL file for the +Serial Protocol Module. The extension .csy is optional +for the LoadCommModule() API. + + +Call RComm::Open() with the aName parameter +set to IrComm::0.

It is not recommended to change the +default settings for the Infrared serial ports.

+
+
+Example RCommServ server; +server.Connect (); +server.LoadCommModule (_L ("IRCOMM")); +RComm commPort; +commPort.Open (server, _L ("IrCOMM::0"), ECommExclusive); +
+IrDA Serial + +
\ No newline at end of file