星期二, 3月 28, 2006

[note] Gsmtest application for Microsoft Smartphone 2003

Gsmtest application for Microsoft Smartphone 2003

Features

Having a dedicated GSM control and test application running over Smartphone 2003 is needed to have a better control of the GSM software debug for Windows CE based smart phones.

This control application is usable for both prototype testing and field test campaigns of Microsoft Smartphone based wireless devices.

For these reasons, the GSM control application supports most of the available features of a standard WinCE application (Graphical Man Machine Interface, File System handling).

Moreover, it has access to the standard control paths of the GSM/GPRS protocol stack (Trace interface, AT commands interface) along with access to a debug control path.

Protocol Stack Trace interface

GSM/GPRS protocol stack includes support for dynamic tracing. Dynamic tracing is available for both Layer 1 and Layer 2-3. Tracing is required during the software development process to allow flexible debugging of the protocol stack.

GSM/GPRS Layer 1 traces along with Layer 2-3 traces are multiplexed in the GSM-S (GSM Subsystem) of the OMAP processor and can be redirected to a physical channel like a serial UART or an internal shared memory between GSM-S and MPU-S (MPU subsystem).

On OMAP based phones, internal shared memory is the preferred method to get multiplexed trace between GSM-S and MPU-S. Traces are then redirected to the USB link or saved onto the file system. When redirected through USB, a remote PC client application (TraceMultiplexer) forwards these traces to the standard set of tracing tools (xPanel, Riviera tracer). And when saved to the file system, Layer 1 traces are saved to a user specified file as well as the Layer 2/3 traces. File system means either the Smartphone internal flash or an external memory card such as an external SD or MMC flash card

GSM control interface

The general purpose MMI allows various control of the protocol stack. ‘RIL activation deactivation’ and ‘serial setting’ options are supported.

‧RIL settings: allows user to deactivate the RIL. RIL stands for Radio Interface Layer and is a Microsoft component handling AT commands request and answers. Deactivating the RIL is useful if a host PC application wants to take control of the AT commands through USB.

‧Serial settings: allows user to switch between serial based and shared memory (CSMI) based traces for the GSM-S.

Data transfers

The main aspect of packet transfer debugging is related to stability issues, especially for long data transfer (over 1 Mbytes).

The GSM control application includes support for data transfer testing. It includes support for FTP testing as FTP offers an easy way to quantify data transfer operation (time spent for download, bytes downloaded, throughput, upload and download operations). The user interface supports FTP transfers for both downlink and uplink.

Moreover, MMI supports graphical display of the data throughput along with File system storage of throughput results for further spreadsheet analysis.

======== user guide ========

GSM configuration task


From the main dialog box select GSM configuration task and choose the Go option in the menu bar.

Then 2 options are available:

‧RIL settings: allows user to deactivate the RIL. RIL stands for Radio Interface Layer and is a Microsoft component handling AT commands request and answers. Deactivating the RIL is useful if a host PC application wants to take control of the AT commands through USB.

‧Serial settings: allows user to switch between serial based and shared memory (CSMI) based trace for the GSM-S.

After selecting the desired option, user must power cycle the phone before changes are taken into account. These settings are stored in the persistent storage of the phone. Consequently if the file system is formatted these settings are lost.

FTP task

From the main dialog box select FTP task and choose the Go option in the menu bar.

The dialog box allows user to:

‧Choose between upload and download
‧Choose the FTP server address
‧Choose the file to download
‧Enter a login/password combination. An anonymous login is set as default.

Progress status and errors reporting are displayed in the main list box.

Profiler task

From the main dialog box select Profiler task and choose the Go option in the menu bar.

The throughput curve is displayed and continuously updated. Curve data are also stored in the persistent storage and can be re trieved through ActiveSync. Path is: \IPSM\My Documents\GsmTestProfiler.txt

User can switch between FTP task and profiler task when both tasks are started.