Changing the COM port to access the Internet

Keywords:

In some case, COM1 port is not available on a PC (I had the issue with a DELL laptop that were lent to me by one my customer). The method described in Connecting the Symbian emulator to the Internet could not be used as is to debug my Symbian code.

The solution consist in configuring the Emulator so that it will use another COM port (COM2 in my case). This can be done by editing the CommDB configuration file. This can be done using the T_EDITDB.EXE application (in C:\Symbian\6.1\Series60\Epoc32\Release\wins\UDEB ). It is easier to use setupcomms.bat (located in C:\Symbian\6.1\Shared\EPOC32\Tools but accessible from anywhere since this directory shall be in your path):
-  open a dos box
-  run setupcomms.bat: this will launch the emulator and start a console application that will allow to change the communication settings of your SDK: screenshot007.png

-  select Modems: a new screen with the default modem details appears
-  move down to the second line whose value shall be COMM::0 by default: screenshot008.png

-  replace COMM::0 by an appropriate value for your system (COMM::1 for COM2, COM::2 for COM3,...)
-  save and exit
-  configure Virtual Port to redirect COM2 to COM3 (or any other port you want to use!)
-  configure mRouterLite to use COM3

Here it is.... your app should be able to access the Internet.


Crash on XP

T_EDITDB.EXE application crash when calling setupcomms.bat on XP. Aynone solved that issue?

> Crash on XP

Did not crash on my PC (running XP)

> Crash on XP

wonderful help

> Crash on XP

You must have Perl installed and with a path entry.

> Crash on XP

You need to have perl installed ( perl.com ); with a path value.

> Changing the COM port to access the Internet

How does one configure the same in SDK 2.1b ? The above files are missing.

Ash

Re: Changing the COM port to access the Internet

Hi,
I am using s60 3rd edition 1.1m_r sdk,do i need to make th changes as bove to make my emulator connected.As I dont find T_EDITDB.EXE nor the other file in my sdk