×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    1

    Question [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:

    import javax.microedition.io.Connector;
    .
    .
    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?



    Thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Nokia E52: problems with the port USB1

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×