×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    Why can I not open the SerialPort?

    I build the example project SERIAL COMMS and download the GlassTerm.exe to the Nokia 9210. The program can run, but it can not open the port. The last two strings shown on the screen are:
    opened COMM::0
    failed leave code=-14
    What's the reason?

    Posted by Wenyi Jiang, jiangwy@263.net
    on April 03, 2002 at 16:14

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: Why can I not open the SerialPort?

    Posted by Forum Nokia Developer Support, communicator.developer@nokia.com
    on April 05, 2002 at 10:16



    Hi,

    That is the system error code to state that the port is in used. The Remote link PLP is using the serial port so that your application cannot use it. Please search for "Remote Link" or "PLP" topics to get the source code for closing down the Remote link program. You can test quickly by activate the infra red port on the device then run the application.

    Regards,
    FN Developer Support

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Posts
    580

    Re: Why can I not open the SerialPort?

    Quote Originally Posted by Nokia_Archive
    Posted by Forum Nokia Developer Support, communicator.developer@nokia.com
    on April 05, 2002 at 10:16



    Hi,

    That is the system error code to state that the port is in used. The Remote link PLP is using the serial port so that your application cannot use it. Please search for "Remote Link" or "PLP" topics to get the source code for closing down the Remote link program. You can test quickly by activate the infra red port on the device then run the application.

    Regards,
    FN Developer Support
    I ran the program on my UIQ phone, and I get a -21 leave error: what does it mean? Where do I find a list of leaves error codes in my SDK?

Posting Permissions

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