Eclipse.org Eclipse.org identifierblock Device Kit

XML Element 

<identifierblock> element

Device Kit Attributes Elements XML Reference
Defines a identifierblock block. A identifier block defines a part of the message contains identifier information.

Release: 1.1.0

Examples: identifierblock examples


Sibling NameSibling Description
Element <identifierblock> element siblings
<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.
<filter>
<message>
<stringmessage>New Defines a string message.
<utf8message>New Defines a utf8 string message.
<asciimessage>New Defines a ASCII string message.
<parameter>
<block>Defines a block. A block is similar to a parameter as it is defines an important part of the message but the value of the block is not reported external to the message when decoding the message. You can think of a block as an internal parameter needed to encode/decode a message. For example, a length block might be used to determine the length for a string in a message. The string parameter would be exposed to the user of the message but the length block would not be exposed since you can determine the length of the string based on the value of the string parameter.
<constantblock>Defines a constant block. A constant block is used to define part of the message that does not change.
<reserveblock>Defines a reserve block. A reserve block defines a part of the message that is reserved for future use.
<versionblock>Defines a version block. A version block defines a part of the message contains version information.
<idblock>Defines a id block. A id block defines a part of the message contains id information.
<typeblock>Defines a type block. A type block defines a part of the message contains type information.
<countblock>Defines a count block. A count block defines a part of the message contains count information. A count block can used to define the number of elements in a list parameter.
<lengthblock>Defines a length in bits block. The contents of the block is the length in bits. The value of the length block can be used to specify the length of a string or set of bits/bytes.
<sizeblock>Defines a length in bytes block. The contents of the block is the length in bytes (each byte is 8 bits). The value of the size block can be used to specify the size of a string or byte array
<segmentlengthblock>Defines a segment length in bits block. The segment length block defines the lengh in bits of the segment.
<segmentsizeblock>Defines a segment length in bytes block. The segment size block defines the lengh in bytes (each byte is 8 bits) of the segment.
<messagelengthblock>Defines a message length in bits block. The message length block defines the lengh in bits of the message.
<messagesizeblock>Defines a message length in bytes block. The message size block defines the lengh in bytes(each byte is 8 bits) of the message.
<bytesparameter>Defines a bytes parameter.
<bitsparameter>Defines a bits parameter.
<multiparameter>Defines a multiple parameter.
<variablelengthparameter>Defines a variable length parameter. Normally, a lengthblock or sizeblock should be defined to specify the size of the variable length parameter.
<listparameter>Defines a list parameter. Normally, a countblock would be needed to specify the number of items in the list.
<mapparameter>Defines a map parameter.
<arrayparameter>Defines a array parameter.
<utf8stringparameter>Defines a UTF-8 string parameter.
<stringparameter>Defines a string parameter.
<booleanparameter>Defines a binary boolean parameter. Normally, a boolean parameter length should not be longer than 1 bit.
<numberparameter>
<integerparameter>Defines a binary integer parameter. An integer parameter length should not be longer than 32 bits (4 bytes).
<unsignedintegerparameter>Defines a binary unsigned integer parameter. An unsigned integer parameter length should not be longer than 32 bits (4 bytes).
<longparameter>Defines a binary long parameter. An long parameter length should not be longer than 64 bits (8 bytes).
<unsignedlongparameter>Defines a binary unsigned long parameter. An unsigned long parameter length should not be longer than 64 bits (8 bytes).
<shortparameter>Defines a binary short parameter. An short parameter length should not be longer than 16 bits (2 bytes).
<unsignedshortparameter>Defines a binary unsigned short parameter. An unsigned short parameter length should not be longer than 16 bits (2 bytes).
<byteparameter>Defines a binary byte parameter. An byte parameter length should not be longer than 8 bits (1 byte).
<unsignedbyteparameter>Defines a binary unsigned byte parameter. An unsigned byte parameter length should not be longer than 8 bits (1 byte).
<floatparameter>Defines a binary IEEE 754 floating-point single 32 bit parameter. The float parameter length should be 32 bits (4 bytes).
<doubleparameter>Defines a binary IEEE 754 floating-point double 64 bit parameter. The double parameter length should be 64 bits (8 bytes).
<segment>
<parametersegment>
<singleparametersegment>
<choicesegment>
<protocol>
<transport>
<transporttest>
<receiver>Defines a receiver transport.
<value>

Element NameElement Description
Element <identifierblock> 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.

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