The EcmtAgent is a mobile application that listens for incoming connections on a device. It is used for establishing a connection between the device and a computer for application testing purposes. The EcmtAgent can be used over Bluetooth, USB, or WLAN. For the computer to receive data from the EcmtAgent, the computer must be running the Device Connectivity Tool.
The EcmtAgent is included in Symbian SDKs for Nokia devices.
Note: On S60 3rd Edition FP2 and S60 5th Edition devices, when the EcmtAgent is launched, it modifies the device's Java Runtime settings. Launching MIDlets normally on the device does not work with the modified settings. To reset the Java Runtime settings, in the EcmtAgent, select Options > WLAN Java ODD > Disable Debug, and close the EcmtAgent.
To install and use the EcmtAgent:
Install the EcmtAgent.sis
file onto the device. The file can be found
in the following folder on your computer:
<SDK installation folder>\<tools folder>\Ecmt\
Note: In S60 3rd Edition FP1 and earlier SDKs, the file is called EcmtAgent_MIDP.sis
.
Note: If you have problems establishing
a WLAN connection, switch to a non-secure WLAN network if possible.
If you receive the error message Engine error -18
when trying to establish a WLAN connection, there are problems with
the connection that you must resolve before continuing.
Figure: Bluetooth connection in the EcmtAgent
If you are using
a WLAN connection, specify the IP address and port of your computer
if required. To determine the IP address of your computer, open the
command console and run the ipconfig
command.
You can freely choose the port number, but it is limited to four digits.
To see which ports are currently in use in your computer, open the
command console and run the netstat -a
command.
Do not use the listed ports.
Verify the installation by launching the Device Connectivity Tool and using it to establish a connection to the device. The EcmtAgent displays a timestamp followed by the text "Connected" when a successful connection has been established.
Tip: If you are using a WLAN connection, you can first
try pinging the IP address of the device by opening the command console
and running the ping <device IP address>
command.
To determine the IP address of the device, find the corresponding
item in the Options menu of the EcmtAgent.