7.APPLICATION EXAMPLES

The Nokia M2M Application Development Kit includes application examples that show how the Nokia M2M Platform application can be implemented. All application examples are available in source codes that make application development easier, as the codes can be copied, modified and used in the customer’s own applications.

7.1 EVALUATION MODULE CONTROL APPLICATION

The evaluation module control application is an end-to-end application, i.e. the evaluation module is controlled from the server end through the Nokia M2M Gateway Trial Version, GSM network and Nokia GSM Connectivity Terminal.

The server application can query the current state of any individual input or any combination of up to 8 inputs from the database at any time. In addition, the server application can register its ORB to get an indication immediately, if any state transition is detected in the input lines.

LEDs in the circuit board show the status of the digital outputs. When a digital pin is set up, an LED is lit correspondingly. To verify analog outputs, an external device is needed (e.g.,a potentiometer).

This application includes a very simple user interface in the server application with radio buttons and scroll bars.

The evaluation module control application is implemented in Java (server application) and C (embedded application).

7.2 TERMINAL END APPLICATIONS

These applications control the Nokia 30 and use CORBA messaging via an RS- 232 interface. To run the applications a terminal must be connected to the evaluation module with the system connector (flat cable). The evaluation module must be connected from the RS 232 port to a PC’s communication port with a serial cable. The Nokia M2M Gateway Trial version is not needed with these applications. The purpose of these applications is to show developers how terminal IDLs can be used to control the terminal.

There are two applications: SetLed and SendSMS.

SetLed is used to control the terminal LEDs that are provided for application usage.

SendSMS is used to send and receive SMS messages in the Nokia GSM Connectivity Terminal connected to the PC by a serial cable.

16/21