Greetings

I am attempting to read or write data to the Infra Red Port on my 6600 (MIDP2.0) (Not using an emulator). I am using the:

con = (CommConnection) Connector.open("comm:IR0")

statement to try and connect to the ir port but getting the following message:

javax.microedition.io.ConnectionNotFoundException:java.lang.ClassNotFoundException


I also tried the

con = (CommConnection) Connector.open("nokiacomm:IR0")

as suggested in another thread in desperation but got the same message.

Is the string I am using incorrect, is there supposed to be more to it than that (like there is for btspp or http URLs)?

Any hints/code examples etc would be very gratefully received.


Also, when I use the "System.getProperty("microedition.commports")" statement I get NULL back. Is this normal on the 6600?

Many thanks

Mike