Jump to: navigation, search

Koneki/Simulators/OMA-DM/User Guide

Overview

The OMA-DM simulator provides to simulate communications between one client device and one OMA-DM server. The simulator supports a great part of the current Open Mobile Alliance Device Management Protocol version 1.2 (Read the end of this document about what is not supported by the simulator). The OMA-DM protocol is based on a tree node. This tree contains all informations which are shared with the OMA-DM server. Complete explications of the OMA-DM protocol are available on the third section : Concepts.

Getting started

Create a new OMA-DM simulator

Step 1 : Select wizard page

To create a new OMA-DM simulator you just have to select “OMA DM Simulator” in “File” → “New” → “Other” → “OMA Dm Simulator”.

Click on the "Next" button.


Step 2 : OMA DM simulation file page

Chose the location and the name of the future simulator file.

Click on the "Next" button.


Step 3 : Device configuration page

This page allows to fill some basic informations in the OMA-DM tree.

Explications

  • Server URI : the uri of the OMA-DM server you want to use
  • Server login : the user name for the authentication on the OMA-DM server
  • Server password : the user password for the authentication on the OMA-DM server
  • Device ID : the id for the device which is simulate

Click on the "Next" button.


Step 4 : Device informations page

In this page you can fill basic information about the device. The Device Id must not be empty. Others data could stay empty.

Explications

  • Device id : it's the same ID than the device ID in the previous step
  • Manufacturer Nane : the manufacturer's name of the device
  • Model Name : the model's name of the device
  • Language : the current language of the application

Click on the "Next" button.


Step 5 : Device details page

In this page you can fill other information about the device.

Explications

  • Device Type : The device ID type. Two others type are recognized ; "IMEI", "MAC". All other words will be translate in "FREE"
  • OEM Name : the OEM's name of the device
  • Firmware Revision : the number of the current firmware version
  • Software Revision : the number of the current software version 
  • Hardware Revision : the number of the current hardware version

Click on the "Finish" button.

Concepts

Description of the OMA-DM protocol

OMA-DM Protocol is based on the HTTP protocol. It exchanges xml data between the client device and the OMA-DM server.

Data are represent by a tree nodes. This tree is save twice. Once on the client device and once on the OMA-DM server. There are two types of nodes in the tree : nodes and leaf.

Each node and leaf in the tree contains four informations

  • Name : the name of the node
  • Data : the data of the node
  • Type :  the type of the node (MIME type for leaf node and empty or Management Object Identifier for interior node)
  • Format : the standard OMA DM format of the node


For the nodes, Type an Data information are empty. Name is the name of the node. The value of Format is "node".

For the leafs, all informations are fill.

The OMA-DM tree must contain some specific nodes and leafs. Some other nodes are just optional. Then, the tree can contain other nodes and leafs which are specific for the client device.

The protocol provides some commands which could be send by the server and execute on the client device. Bellow is the list of commands which are supported by the simulator

  • Add : insert a new node in the tree
  • Delete : delete a node in the tree
  • Get : ask the data of one node
  • Replace : change the data of one node
  • Copy : copy the value of one node to another
  • Exec : Invokes an executable on the client device; It's mainly use by FUMO : Firmware Update Managed Object


These commands are executed by the client device during the connection of the client device to the server.

Currently, the simulator supports basic authentication on the OMA-DM server.

The complete specifications of the OMA-DM protocol and the tree nodes are available here : www.openmobilealliance.org/Technical/current_releases.aspx

Tasks

Once you created a new OMA-DM simulator, you can simulate a new connection on one OMA-SM server.

Simulate one connection by the client device to one OMA-DM server

The simulator is divided in three tags.

The Configuration tag

The first tag is Configuration. It allows to fill basic informations to authenticate the client device on the server. Informations are similar with the Device Configuration page of the wizard.

The Simulation tag

Simulation tag is divided in three sections : Device tree, Node properties and Node management.

Device tree

This section allows to edit the OMA-DM tree. By default, the simulator create one basic tree with non optional nodes. You can find information that you filled in the Configuration tag in the OMA-DM tree. Bellow is the correspondence between information in the Configuration tag and the OMA-DM tree :

  • Server URI : ./DMAcc/AppAuth/ServerID
  • Server login : ./DMAcc/AppAuth/Default/AuthName
  • Server password : ./DMAcc/AppAuth/Default/AuthSecret
  • Device ID : ./DevInfo/DevId

The node "./DMAcc/AppAuth/Default" is an optional node. AuthName and AuthSecret can be saved anywhere in the "./DMAcc/AppAuth" node. The value of these leafs can be change directly on the tree node since this section. By this way, informations on the Configuration tag will be automatically updated.

This section is the most important section of this tag. It's in this section that you can add or delete nodes and leafs in the all the tree.

Node properties

In this section you can change all informations about the current node which is selected in the Device tree.

Node management

This section allows you to choose how execute all OMA-DM commands. There are four modes to execute one command. By default the root of the tree has all commands set in automatic mode. And all other nodes have the inherit mode. There are two other modes : manual and constant. In constant mode, you chose which answer the device have to always send to the OMA-DM server once the command is executed. In the manual mode, the simulator will ask you for each command what you want to do. Bellow is the explications of all management modes :

  • Automatic mode : the simulator perform the command like a real device
  • Constant mode : the simulator return the status code selected
  • Inherited mode : the node management of the parent node is used
  • Manual mode : the simulator demand to the user the status code which must be returned


The Dashboard tag

The Dashboard tag is also divided in three sections : Device tree, Node properties and session management.

Device tree

This section is similar with the Device tree section in the Simulation tag. But here, you just can to select one node. You can't edit the tree.

Node properties

This section is similar with the Node properties section in the Simulation tag. But, here, you just can edit Data information of the selected node. You can't edit other information.

Session management

This section is the most important section of this tag. It's in this section that you can create a new connection between the simulator and one OMA-DM server. When you click on the connect button the simulator create a connection. During this connection, if the OMA-DM server have to execute some commands, it will send instructions on simulator. Then, the simulator will execute each instructions. The execution of the instructions depends on the node management of the concerned nodes.

In the table of this section, you can see all messages which are exchange between the simulator and the server.

Advertisement : the simulator just supports the basic authentication : Base64(username:userpassword) on the OMA-DM server. It miss the MD5 authentication.