Eclipse.org Eclipse.org - Device Kit

Using the device wizard

This section provides instructions to use the device wizard to create devices. Refer to the information in this section to understand how to use the device wizard and for descriptions of the fields in the device wizard. Refer to Examples for instructions to use the device wizard to create specific devices.

  1. Change to the Java perspective by clicking the Open a Perspective button on the left side of the WebSphere Studio Device Developer interface.
  2. Create a new project by clicking the Open the New Wizard button

    on the right side of the interface.

  3. Open the device wizard by selecting Device Kit in the left pane and by selecting Device in the right pane on the New panel. Then click Next.

    Figure 2. Open device wizard panel



  4. Refer to the following table for descriptions to complete the fields on the Device panel. After you complete the fields, click Finish to create the new device.

    Table 2. Device fields and descriptions


    Field Description
    Device Name Specify a unique name for this device.
    Note:
    Do no use the word "Device" in the name you specify. The wizard automatically appends "Device" to the name when the device is created.
    Package Base Specify the package base to use to generate Java.
    Version Specify the version number that you want to assign to your device.
    Vendor Specify the appropriate vendor for the device.
    Description Specify a description for your device. This field is optional.
    Super Class Specify a super class for the device. This field is optional.
    Transport Service Specify the transport service to be used for the device.
    Note:
    If you don't know which transport you want to use or if you want to create your own transport, you can leave this field blank and select the transport at a later time.
    This field is optional.
    Transport Implementation Specifies the implementation of the transport service that you selected. This field is optional.
    Create Test Project Select Create Test Project to generate a test project.
    Generate a Bundle Activator Select Generate a Bundle Activator to generate a bundle activator for the device.
    Generate a Managed Bundle Activator Select Generate a Managed Bundle Activator to generate a managed bundle activator for the device.
    Generate a Managed Factory Bundle Activator Select Generate a Managed Factory Bundle Activator to generate a managed factory bundle activator for the device.

    Figure 3. New device wizard
    Device Wizard


    After you create a new device with the device wizard, the Device Kit creates a new project in your workspace. The name of this project is the name that was entered for Device Name followed by "Device".

    If you selected Create test project, the Device Kit creates a second new project in your workspace. The name of the test project is the name that was entered for Device Name followed by "DeviceTest".