Eclipse.org Eclipse.org device.xml Barcode Reader

device.xml sample

Barcode Reader Attributes Elements XML Reference
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2008 IBM.                                                -->
<!-- All rights reserved. This program and the accompanying materials       -->
<!-- are made available under the terms of the Eclipse Public License v1.0  -->
<!-- which accompanies this distribution, and is available at               -->
<!-- http://www.eclipse.org/legal/epl-v10.html                              -->
<!--                                                                        -->
<!-- Contributors:                                                          -->
<!--     IBM - initial API and implementation                               -->
<!-- WARNING:                                                               -->
<!-- Consult the hardware manufacturer's technical specifications and User  -->
<!-- Guide for proper usage of the hardware before you use the Device Kit.  -->
<!-- Improper usage may result in damage to the hardware.                   -->

<dkml>
    <device id="BarcodeReaderDevice" packagebase="org.eclipse.soda.dk"
            executionenvironments="OSGi/Minimum-1.1">
        <description>Standard Barcode Reader</description>
        <provider>Eclipse.org</provider>
        <version>1.1.0</version>
        <vendor>IBM</vendor>
        <incubation>true</incubation>
<!-- Protocol Specification  -->

        <spec id="Specification"/>
<!-- Protocol Section  -->

        <protocol/>
        <signal id="BarcodeReport" type="Map"
                implementation="org.eclipse.soda.dk.barcode.reader.device.signal.BarcodeReaderDeviceSignal">
            <message id="BarcodeMessage">
                <ascii>0</ascii>
                <parameter type="string">
                    <insert/>
                    <offset>0</offset>
                    <length>0</length>
                </parameter>
                <filter id="FilterAll">
                    <bytes format="hex">00</bytes>
                </filter>
            </message>
        </signal>
        <transport idref="org.eclipse.soda.dk.barcode.reader.transport/dk/transport.xml#BarcodeReaderTransport"/>
        <bundle/>
        <managedbundle/>
        <managedfactorybundle/>
    </device>
</dkml>


id element
"BarcodeMessage" <message>
"BarcodeReaderDevice" <device>
"BarcodeReport" <signal>
"FilterAll" <filter>
"Specification" <spec>
element id
<device> "BarcodeReaderDevice"
<filter> "FilterAll"
<message> "BarcodeMessage"
<signal> "BarcodeReport"
<spec> "Specification"

Bugzilla: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=OHF&component=DeviceKit
CVS File:
  org.eclipse.ohf
    plugins
      org.eclipse.soda.dk
        org.eclipse.soda.dk.barcode.reader
          org.eclipse.soda.dk.barcode.reader.device
            dk
              device.xml
Tag(s) Timestamp Revision Comment
V1_1_0_2008_07_17 .. V1_1_0_2008_07_01 2008-07-01 1.4
V1_1_0_2008_06_30 .. V1_1_0_2008_05_03 2008-05-01 1.3

Copyright (c) 2008 IBM. See license in Legal section. 2008-07-29 Barcode Reader XML Reference 1.1.0