Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Dial-up networking


Overview

Internet applications can be tested on the Emulator by accessing peripheral devices attached to the PC. Increasingly, developers will want to ensure that their applications are Internet and comms aware.

[Top]


Using Internet applications

On a real device, the Internet applications use dial-up networking to an Internet Service Provider (ISP). General ISP settings are stored in the control panel; Email and WAP accounts are also configured using the control panel.

To use the Internet programs on the Emulator, you need

The Emulator’s networking facilities are not designed to work with PC-based LAN networking. Your PC must have a modem and use dial-up networking.

You can use the same ISP as you use for your PC-based Internet access. However, you must enter all your ISP settings again in the Emulator's control panel: the Emulator cannot share settings from your PC’s control panel. Additionally, your incoming and outgoing mailbox details must also be set in the Email application in order to receive and send Internet mail.

The Symbian platform’s serial devices are referred to as COMM::0 and COMM::1. COMM::0 maps to the PC’s COM1 port, while COMM::1 maps to COM2.

[Top]


Dial-up with a mobile phone

Internet access is possible using a data-enabled mobile phone with an infra-red port and IrDA COM-port serial adapter. The recommended adapter is the Extended Systems, Inc. Jeteye ESI-9680.

Modem and comms set-up specifics is accessed by running Setupcomms.bat, found in \epoc32\tools\. The modem type should be set to IR mobile phone— this is the default.

In order for comms related features to be successful the IR adapter needs to be connected to the PC's com-port 2. By default the IR driver supplied with the Symbian platform maps the IRCOM::0 setting to the physical com-port 2 on the PC and thus the IR adapter. If com-port 1 is to be used instead, the mapping to the physical port can be altered in the following files:

\epoc32\data\z\system\data\irda_port1.esk

\epoc32\wins\c\system\data\irda_wins.esk

The default setting in these files is irPhysicalComPort=1. To map to the PC's com-port 1 this value should be changed to 0.

See also

How to configure comms settings.