Error code(-5 or -21) for GlassTerm sample application
| Tue, 2008-02-12 14:00 | |||||
|
Hi, We hav commPort.Read (readStat, localInputBuffer, 0); User::WaitForRequest(readStat); r = readStat.Int (); User::LeaveIfError (r); 2. Sometimes we are finding error in Opening the port only. It is giving the leave code error -21 for COMM::0 and -5 for COMM::1 we are getting error from the following lines console->Printf (KMessage9, &portName); r = commPort.Open (server, portName, +ECommExclusive+); User::LeaveIfError (r); Note: the screenshots for both the scenarios are attached as Zip file Please help us running this program successfully, as we are interested to do the Serial communication module for Symbian mobile. Thanks,
|
|||||






e executed the GlassTerm application (which is available in UIQ examples -> SymbianCompatible->SerialComms ) in Emulator.
Forum posts: 51
Hi
generally, a error code returned by the serial communication API is defined in E32err.h.
You can find out them.
And you can not run application on emulator successfully. this kind of application must run on phone.
hope it's helpful