How to open COMM::0 ???

Login to reply to this topic.
Fri, 2006-03-03 08:00
Joined: 2005-08-01
Forum posts: 44
Hi All!!

I am testing glassterm application (from examples of symbian), it runs well in the emulator, but in the mobile (nokia 6670), it can not open comm::0, it always says that KErrNotSupported (error -5).

Does anyone know what is wrong with the mobile? Should I set it to something first? Because it is said that I must switch the phone to direct phone link (What does that mean?)

Okay, if anyone know something bout this, please share it with me. Thank you

Best Regards

Irma

Thu, 2006-03-30 08:21
Joined: 2004-06-29
Forum posts: 109
Re: How to open COMM::0 ???
Hi Irma,

I use port 0 on wins and port 1 on device. Dunno why this is not the same, but this way it works for me. So try using COMM::1 on the device.

Br, Marcel
Thu, 2006-04-06 19:00
Joined: 2005-11-21
Forum posts: 8
Re: How to open COMM::0 ???
Marcel,

Which phone were you developing on? I tried COMM::1 and I still get a -5 for opening the comm port. Glassterm returns hi and lo of 0.

Any advice?
Sun, 2006-04-09 17:00
Joined: 2004-11-23
Forum posts: 4
Re: How to open COMM::0 ???
COMM::0 and COMM::1 are serial ports on device (emulator/phone) For emulator it uses the com1 and com2 present on PC (windows - starts from com1)

For phone ensure that drivers are loaded correctly and ECUART csy is also loaded.

Can u use any application to test if serial ports are present on the phone ? If so see what serial comm ports are present
Mon, 2006-06-19 08:44
Joined: 2004-06-29
Forum posts: 109
Re: How to open COMM::0 ???
shameus_burp,

first, to say, i am not referencing to the glassterm app. I have written a comport writer app for my own.

I use the port 1 sucessfully on N6630 and N6680 phones. I can open it and write to it, plus reading the received data.

br, Marcel
Thu, 2006-06-22 22:32
Joined: 2006-06-22
Forum posts: 1
Re: How to open COMM::0 ???
Hi irmatan82,

i have to connect with a electronic circuit that has serial port with 6630.
I kill FaxModem processes etc. Finally i successed to open port. But i cannot read or write.
program crashs and 6630 restarts.
Could you send your code and sis? please
Thanks

SABIR, SAVAS, ZAFER

  • Login to reply to this topic.