Eclipse.org Eclipse.org device Barcode Reader

<device> examples

Barcode Reader Attributes Elements XML Reference
<device> example from the adapter.xml sample.

<?xml version="1.0" encoding="UTF-8"?>



        <device idref="org.eclipse.soda.dk.barcode.reader.device/dk/device.xml#BarcodeReaderDevice"/>



<device> example from the device_test.xml sample.

<?xml version="1.0" encoding="UTF-8"?>



        <device idref="org.eclipse.soda.dk.barcode.reader.device/dk/device.xml#BarcodeReaderDevice"/>



<device> example from the device.xml sample.

<?xml version="1.0" encoding="UTF-8"?>



    <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>



<device> example from the profile.xml sample.

<?xml version="1.0" encoding="UTF-8"?>



        <device idref="org.eclipse.soda.dk.barcode.reader.device/dk/device.xml#BarcodeReaderDevice">
            <signalref idref="BarcodeReport"/>
        </device>




Copyright (c) 2008 IBM. See license in Legal section. 2008-11-06 Barcode Reader XML Reference 1.2.0