Eclipse.org Eclipse.org - Device Kit

Working with Device Kit Markup Language files

Device Kit markup language is an XML 1.0-compliant markup language that models the message set of a type of hardware. The content of the xml file is based on the hardware specification from the manufacturer. The hardware specification describes the fundamental requirements of the hardware and the message set, or "language," that the hardware understands.

You can use the Device Kit Java Generator to create Java classes from Device Kit xml files. The Java code you generate and the runtime code provided with the Device Kit enable you to create devices, such as Global Positioning Satellites.

To develop devices with Device Kit xml files, complete the following tasks:

  1. Familiarize yourself with Device Kit xml tags and their attributes. Refer to the tag descriptions in the Javadoc for information about the Device Kit xml tags and their attributes.
  2. Write a Device Kit xml file that corresponds to the specification of the intended hardware. Refer to Creating a Device Kit Markup Language file for instructions.
  3. Generate Java classes from the Device Kit xml. Refer to Generating Java classes from a Device Kit Markup Language file for instructions.
  4. Integrate the generated code into the final application. Refer to Integrating Java code into the final application for instructions.