Introduction

This section describes the usage of Simulation PSY. Simulation PSY is available in S60 platform 2.6 and onwards

A developer of a location based application needs to retrieve positions when developing the application. With Simulation PSY it is possible to get positions when running applications in the Windows emulator environment and on target device.

When testing, Simulation PSY enables simulation of different positions without actually needing to go to these different locations. With this software, the retrieval of positioning data is independent of any hardware.

Simulation PSY makes it easy to reproduce different locations, for example, to simulate positions on the North Pole, or to test how an application behaves when moving over the Zero Meridian. Without Simulation PSY it is hard to test applications in this kind of situations. It is useful to test how a location application behaves when changing the accuracy of the location estimates. This is possible with Simulation PSY. It is also possible to test error situations.

Simulation PSY reads location data from a file and returns location estimates to the location based application. It is possible to get the same position all the time or simulate movement in a specified direction.

Simulation PSY can be used in three different modes:

The mode in which Simulation PSY runs depends on the file extension that the simulation file setting ends with.

The file extension NME means that NMEA mode is used. For the behavior of this mode, see NMEA File Format in File formats.

The file extension SPS means that Simulated Movement mode is used. For the behavior of this mode, see Simulated Movement Format in File formats.

If the simulation file setting is not configured then Simulation PSY returns location information from a predefined default NMEA file. If the default NMEA file is also missing then it runs in fixed data mode where it returns fixed basic location information consisting of the following items:

Position data

Value

Latitude

0

Longitude

0

Altitude (WGS 84)

0

Horizontal Accuracy

0

Vertical Accuracy

0

Datum

WGS-84

Time

Current System Time