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
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
Re: Why can I not open the SerialPort?
[QUOTE=Nokia_Archive]Posted by Forum Nokia Developer Support, [email]communicator.developer@nokia.com[/email]
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[/QUOTE]
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?