[moved] Nokia E52: problems with the port USB1
Hello to all,
I’m developing an application on Java ME for Nokia E52, platform S60. I have a problem when I try to open a connection by the next way:
comm = (StreamConnection)Connector.open(“comm:USB1;baudrate=115200");
It causes the next error:
Symbian OS error: -21
But when I invoke the method as follow (port USB2):
comm = (StreamConnection)Connector.open(“comm:USB2;baudrate=115200");
It works perfectly.
It is possible that the USB1 port is occupied by another application?
Re: Nokia E52: problems with the port USB1
Nokia Developer Expert
if you check the error description for -21: http://wiki.forum.nokia.com/index.php/Error_codes
you could maybe conclude that the port is in use and thus you can not use it.