|
|
segment | Device Kit |
<segment> element |
Device Kit Attributes Elements XML Reference |
Release:
1.1.0
Examples: segment examples
| Name | Type | Description | Use |
|---|---|---|---|
| type | "ascii" "asciiz" "bit" "boolean" "boolean[]" "byte" "byte[]" "bytes" "double" "double[]" "float" "float[]" "hexascii" "hexstring" "int" "int[]" "long" "long[]" "nascii" "nstring" "numericstring" "short" "string" "ubyte" "ubytes" "uint" "ulong" "ushort" | Specifies the data type. | optional |
| Name | Description | Use |
|---|---|---|
| <description> | Description of the segment. | 0 to unbounded |
| <deprecated> | Specifies that the contents of this element should be marked as deprecated. | 0 to 1 |
| <specreference> | Specification reference for this segment. | 0 to unbounded |
| <key> | Specifies the segment key. | 0 to 1 |
| <field> | Specifies the field segment name. | 0 to 1 |
| <ascii> | Specifies a set of ASCII characters (8 bits). | 1 to unbounded |
| <bytes> | Specifies a set of bytes. Each byte is 8 bits. | 1 to unbounded |
| <nibbles> | Specifies a set of nibbles. Each nibble is 4 bits. | 1 to unbounded |
| <parameters> | Specifies a group of parameters. | 0 to unbounded |
| <filter> | Specifies the message filter. | 0 to 1 |
| <offset> | Specifies the starting bit offset of the segment within the message. Offset 0 is the first bit in the message. See the index element to specify the segment position in bytes. | 1 to 1 |
| <index> | Specifies the starting byte index of the segment within the message. Index 0 is the first byte of the message. See the offset element to specify the segment offset in bits. | 1 to 1 |
| <length> | Specifies the segment length in bits. See the size element to specify the segment length in bytes. | 1 to 1 |
| <size> | Specifies the segment size in bytes. See the length element to specify the segment length in bits. | 1 to 1 |
| <occursminimum> | 0 to 1 | |
| <occursmaximum> | 0 to 1 |
| Sibling Name | Sibling Description |
|---|---|
| <dkml> | Specifies the root element of a Device Kit <b>D</b>evice <b>K</b>it <b>L</b>anguage (dkml) document. |
| <filter> | |
| <message> | |
| <parameter> | |
| <block> | |
| <constantblock> | |
| <reserveblock> | |
| <versionblock> | |
| <idblock> | |
| <identifierblock> | |
| <typeblock> | |
| <countblock> | |
| <lengthblock> | |
| <sizeblock> | |
| <segmentlengthblock> | |
| <segmentsizeblock> | |
| <messagelengthblock> | |
| <messagesizeblock> | |
| <bytesparameter> | |
| <bitsparameter> | |
| <multiparameter> | |
| <variablelengthparameter> | |
| <listparameter> | |
| <mapparameter> | |
| <arrayparameter> | |
| <utf8stringparameter> | |
| <stringparameter> | |
| <booleanparameter> | |
| <numberparameter> | |
| <integerparameter> | |
| <unsignedintegerparameter> | |
| <longparameter> | |
| <unsignedlongparameter> | |
| <shortparameter> | |
| <unsignedshortparameter> | |
| <byteparameter> | |
| <unsignedbyteparameter> | |
| <floatparameter> | |
| <doubleparameter> | |
| <parametersegment> | |
| <singleparametersegment> | |
| <choicesegment> | |
| <protocol> | |
| <transport> | |
| <transporttest> | |
| <receiver> | |
| <value> | |
| Element Name | Element Description |
|---|---|
| <dkml> | Specifies the root element of a Device Kit <b>D</b>evice <b>K</b>it <b>L</b>anguage (dkml) document. |
| Copyright (c) 2008 IBM. See license in Legal section. | 2008-09-10 | Device Kit XML Reference 1.1.0 |