Eclipse.org Eclipse.org string Device Kit

XML Element 

<string> element

Device Kit Attributes Elements XML Reference
Specifies string data.

Examples: string examples


NameTypeDescriptionUse
Element <string> attributes
idIDSpecifies an unique identifier for this element. After defining an element with the id attribute, other elements can reference this element by using the idref attribute. Since the id attribute value is used by the code generator to generate field and method names, no spaces, periods or commas should be used.optional
format "binary" "decimal" "hex" "octal" Specifies the numeric format base of data. For instance, if the protocol''s specification are in hexadecimal format, this attribute should be set to ""hex"".optional
idrefIDREFSpecifies a reference to the element with the matching id attribute. The matching id attribute must be specified before the idref attribute can be used.optional

NameDescriptionUse
Element <string> elements
<encoding>New Specifies string encoding.1 to 1

Sibling NameSibling Description
Element <string> element siblings
<ascii>Specifies a set of ASCII characters (8 bits) within the message.
<bytes>Specifies a set of bytes. Each byte is 8 bits within the message.
<nibbles>Specifies a set of nibbles. Each nibble is 4 bits within the message.
<utf8>Specifies a set of UTF-8 characters within the message.

Element NameElement Description
Element <string> element tree
<dkml>Specifies the root element of a Device Kit &lt;b&gt;D&lt;/b&gt;evice &lt;b&gt;K&lt;/b&gt;it &lt;b&gt;L&lt;/b&gt;anguage (dkml) document.
¦-<adapter>Specifies an adapter.
¦ ¦-<customparameter>Specifies a custom parameter for this adapter.
¦ ¦ ¦-<enum>Specifies a enumeration option configuration.
¦ ¦ ¦ ¦-<value>Specifies the enumeration value.
¦ ¦ ¦ ¦ ¦-<string>Specifies a String value.
¦ ¦ ¦ ¦ ¦ ¦-<encoding>New Specifies string encoding.
¦ ¦-<command>Defines a command supported by this concrete device.
¦ ¦ ¦-<configuration>Defines this command as a configuration command.
¦ ¦ ¦ ¦-<enum>Specifies a enumeration option configuration.(see enum)
¦ ¦ ¦-<message>Specifies the message to execute the command.
¦ ¦ ¦ ¦-<string>New Specifies a set of string characters within the message.(see string)
¦ ¦ ¦-<data>Specifies the data to execute the command.
¦ ¦ ¦ ¦-<enum>New Specifies a enumeration.(see enum)
¦ ¦ ¦ ¦-<data>Specifies the data to execute the command.(see data)
¦ ¦-<commands>Specifies a command group.
¦ ¦ ¦-<configuration>Defines this command as a configuration command.(see configuration)
¦ ¦ ¦-<command>Specifies the command within the group of commands.(see command)
¦ ¦-<group>Defines a group supported by this concrete device.
¦ ¦ ¦-<command>Specifies a command that is supported by this group.(see command)
¦ ¦ ¦-<commands>Specifies a command group.(see commands)
¦ ¦ ¦-<group>Specifies a group.(see group)
¦ ¦ ¦-<measurement>Specifies a measurement supported by this group.
¦ ¦ ¦ ¦-<configuration>Defines this measurement as a configuration measurement.(see configuration)
¦ ¦ ¦ ¦-<message>Specifies the measurement message.(see message)
¦ ¦ ¦ ¦-<data>Specifies the measurement data.(see data)
¦ ¦ ¦ ¦-<readcommand>Specifies the command to request a read of the current value of the measurement.
¦ ¦ ¦ ¦ ¦-<configuration>Defines this command as a configuration command.(see configuration)
¦ ¦ ¦ ¦ ¦-<message>Specifies the message to execute the command.(see message)
¦ ¦ ¦ ¦ ¦-<data>Specifies the data to execute the command.(see data)
¦ ¦ ¦ ¦-<writecommand>Specifies the command to request a change of the measurement value.
¦ ¦ ¦ ¦ ¦-<configuration>Defines this command as a configuration command.(see configuration)
¦ ¦ ¦ ¦ ¦-<message>Specifies the message to execute the command.(see message)
¦ ¦ ¦ ¦ ¦-<data>Specifies the data to execute the command.(see data)
¦ ¦ ¦ ¦-<signal>Specifies the signal containing the measurement value.
¦ ¦ ¦ ¦ ¦-<configuration>Defines this signal as a configuration signal.(see configuration)
¦ ¦ ¦ ¦ ¦-<message>Specifies the message to trigger the signal.(see message)
¦ ¦ ¦ ¦ ¦-<data>Specifies the data when the signal triggers.(see data)
¦ ¦ ¦ ¦ ¦-<signal>Specifies the signal to listen. (see signal)
¦ ¦ ¦ ¦ ¦-<messages>Specifies the messages to trigger the signal.
¦ ¦ ¦ ¦ ¦ ¦-<message>Specifies the message.(see message)
¦ ¦ ¦ ¦-<value>Specifies the optional initial measurement value.(see value)
¦ ¦ ¦-<signal>Specifies a signal supported by this group.(see signal)
¦ ¦-<measurement>Defines a measurement supported by this concrete device.(see measurement)
¦ ¦-<signal>Defines a signal supported by this concrete device.(see signal)
¦ ¦-<device>Specifies the device used by the adapter.
¦ ¦ ¦-<customparameter>Specifies a custom parameter for this device.(see customparameter)
¦ ¦ ¦-<command>Specifies a command that is supported by this device.(see command)
¦ ¦ ¦-<commands>Specifies a command group.(see commands)
¦ ¦ ¦-<group>Defines a group supported by this device.(see group)
¦ ¦ ¦-<measurement>Specifies a measurement supported by this device.(see measurement)
¦ ¦ ¦-<signal>Specifies a signal supported by this device.(see signal)
¦ ¦ ¦-<transport>Specifies the transport used by the device.
¦ ¦ ¦ ¦-<customparameter>Specifies a custom parameter.(see customparameter)
¦ ¦ ¦ ¦-<message>Specifies a transport message.(see message)
¦ ¦ ¦ ¦-<connection>Specifies an connection to be used by the transport.
¦ ¦ ¦ ¦ ¦-<customparameter>Specifies a custom parameter for this connection.(see customparameter)
¦-<adaptertest>Specifies an adapter test.
¦ ¦-<customparameter>New Specifies a custom parameter for this adapter test.(see customparameter)
¦ ¦-<send>Specifies the message(s) to send during the test.
¦ ¦ ¦-<message>Specifies the message to send.(see message)
¦ ¦-<adapter>Specifies the adapter to be tested.(see adapter)
¦-<agent>Specifies an agent.
¦ ¦-<customparameter>Specifies a custom parameter for this agent.(see customparameter)
¦ ¦-<agentmodel>Specifies the agent model used by the agent.
¦ ¦ ¦-<customparameter>Specifies a custom parameter for this agent model.(see customparameter)
¦ ¦ ¦-<device>Specifies the device used by the agent model.(see device)
¦ ¦-<device>Specifies the device used by the agent.(see device)
¦ ¦-<command>Specifies a command that is supported by this device.(see command)
¦ ¦-<commands>Specifies a command group.(see commands)
¦ ¦-<group>Defines a group supported by this device.(see group)
¦ ¦-<measurement>Specifies a measurement supported by this device.(see measurement)
¦ ¦-<signal>Specifies a signal supported by this device.(see signal)
¦-<agentmodel>Specifies the agent model used by the agent.(see agentmodel)
¦-<agenttest>Specifies an agent test.
¦ ¦-<customparameter>New Specifies a custom parameter for this agent test.(see customparameter)
¦ ¦-<send>Specifies the message(s) to send during the test.(see send)
¦ ¦-<agent>Specifies the agent to be tested.(see agent)
¦ ¦-<agentmodeltest>Specifies the agent model test.
¦ ¦ ¦-<agentmodel>Specifies the agent model to be tested.(see agentmodel)
¦-<agentmodeltest>Specifies an agent model test.(see agentmodeltest)
¦-<concrete>Specifies a concrete device.
¦ ¦-<customparameter>New Specifies a custom parameter for this concrete device.(see customparameter)
¦ ¦-<command>Defines a command supported by this concrete device.(see command)
¦ ¦-<commands>Specifies a command group.(see commands)
¦ ¦-<group>Defines a group supported by this concrete device.(see group)
¦ ¦-<measurement>Defines a measurement supported by this concrete device.(see measurement)
¦ ¦-<signal>Defines a signal supported by this concrete device.(see signal)
¦ ¦-<transport>Specifies the transport used by the concrete device.(see transport)
¦-<concretetest>Specifies a concrete test.
¦ ¦-<customparameter>New Specifies a custom parameter for this concrete device test.(see customparameter)
¦ ¦-<concrete>Specifies the concrete device to be tested.(see concrete)
¦-<connection>Specifies an connection.(see connection)
¦-<connectiontest>Specifies an connection test.
¦ ¦-<send>Specifies the message(s) to send during the test.(see send)
¦ ¦-<connection>Specifies the connection to be tested.(see connection)
¦-<device>Specifies a device.(see device)
¦-<devicetest>Specifies a device test.
¦ ¦-<customparameter>New Specifies a custom parameter for this device test.(see customparameter)
¦ ¦-<device>Specifies the device to be tested.(see device)
¦-<profile>Specifies a profile.
¦ ¦-<customparameter>Specifies a custom parameter for this profile.(see customparameter)
¦ ¦-<command>Specifies a command that is supported by this profile.(see command)
¦ ¦-<commands>Specifies a command group.(see commands)
¦ ¦-<group>Defines a group supported by this profile.(see group)
¦ ¦-<measurement>Specifies a measurement supported by this profile.(see measurement)
¦ ¦-<signal>Specifies a signal supported by this profile.(see signal)
¦ ¦-<adapter>Specifies the adapter used by the profile.(see adapter)
¦ ¦-<device>Specifies the device used by the profile.(see device)
¦-<profiletest>Specifies a profile test.
¦ ¦-<customparameter>New Specifies a custom parameter for this profile test.(see customparameter)
¦ ¦-<send>Specifies the message(s) to send during the test.(see send)
¦ ¦-<profile>Specifies the profile to be tested.(see profile)
¦-<testagent>Specifies a test agent.
¦ ¦-<customparameter>New Specifies a custom parameter for this test.(see customparameter)
¦ ¦-<profile>Specifies the profile to be tested.(see profile)
¦-<receivertest>Specifies a receiver transport test.
¦ ¦-<customparameter>New Specifies a custom parameter for this receiver test.(see customparameter)
¦ ¦-<send>Specifies the message(s) to send during the test.(see send)
¦-<transport>Specifies a transport.(see transport)
¦-<transporttest>Specifies a transport test.
¦ ¦-<customparameter>New Specifies a custom parameter for this transport test.(see customparameter)
¦ ¦-<send>Specifies the message(s) to send during the test.(see send)
¦ ¦-<transport>Specifies the transport to be tested.(see transport)

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