IBM
Contents Index Previous Next



Running the System


What You Will Learn

An Overview of the System

Figure 216 shows the run-time architecture of a MobileStation executable.

Figure 216 : Run-time architecture of a MobileStation Executable

The SDL system interacts with the outside world through its environment. The GUI message loop is run in a thread of execution of its own. The TCP/IP server thread executes the same way. The environment threads interact with the SDL system by inserting signals. This is done by calling the SDL kernel function SDL_Output.

When a signal is sent from the SDL system to the environment, it is interpreted either as GUI feedback or is sent to an external receiver via TCP/IP.

Using the System

Start the mobile system in the following order:

  1. Start the Marie, John, ParisPizza and LyonPizza executables. A GUI will pop up for each of them.
  2. Start the Switch executable. Switch will initialize the MobileStation executables by sending signals. You will see that the On buttons on the mobile phone windows become enabled.

To make a call, do the following:

  1. Click the On button on the MobileStations. You will be prompted to enter a PIN code. The correct PIN codes are shown in Table 3.
Table 3 MobileStation PIN Codes
Executable PIN Code

Marie

1

John

2

ParisPizza

3

LyonPizza

4

  1. Click OK. "PIN OK" will be displayed. You are now ready to make a call.
  2. Click OK. The menu system of the GUI is activated. Select "Phone Book" by pressing the "<" and ">" buttons and click OK.
  3. Select a name from the list and click OK. If the receiving MobileStation is on, its display will show "Incoming Call".
  4. Click OK on the receiving MobileStation. A call is established.
  5. Click OK on the calling party and the receiving party when you wish to finish the conversation.

The system has more features not described in this manual. Experiment to discover its secrets!

The tutorial is finished. To get more detailed information about the Threaded integration and the TCP/IP module, please read Integration with Operating Systems.


http://www.ibm.com/rational
Contents Index Previous Next