Eclipse.org Eclipse.org command Device Kit

<command> examples

Device Kit Attributes Elements XML Reference
<command> example from the profile.xml sample.

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



            <command id="BitsChangeRequest" type="Map">
                <method/>
                <data id="b0" type="boolean">
                    <description>Bit 0 - special boolean state meaning all bits</description>
                </data>
            </command>



<command> example from the device.xml sample.

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



        <command id="CustomMessageRequest">
            <message idref="CustomMessageMessage"/>
        </command>



<command> example from the profile.xml sample.

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



            <command id="OutputRequest" type="Map">
                <description>OutputRequest is the command interface to set the state of output pins. The incoming request should be in the form of a Map with output pin keys (see Output data keys) and the requested Boolean values. The request can include 1 or more pins to be changed. A request to update an output pin which has an associated LDAP expression will be ignored. Pins are indexed beginning with 1. The "o0" data key signifies that the requested Boolean value should be applied to all output pins. </description>
                <method/>
            </command>




Copyright (c) 2009 IBM. See license in Legal section. 2009-01-22 Device Kit XML Reference 1.2.0