Section 2. generic commands, Get property command – MagTek IntelliStripe65 99875161 User Manual
Page 11
![background image](/manuals/413731/11/background.png)
5
SECTION 2. GENERIC COMMANDS
This section defines the commands that are generic to all device applications. Not all device
applications support these commands.
GET PROPERTY COMMAND
Command ID: 00 (Hex)
Description:
This command is used to retrieve the value of an application property.
Request Message Data:
Byte
Field
Description
1
Property Type
Property Type definition follows
2
Property ID
Property ID identifies the property
Property Type definition:
The bits are identified by numbering the least significant bit 0 and the most significant bit 7.
Bits
Value
Definition
7-4
0
Reserved for future use.
3-0
0
Property type – None. The property type is unspecified.
1
Property type Dword – 32-bit integer.
2
Property type String – zero-terminated ASCII string.
3
Property type Boolean – 8-bit integer (1 – TRUE, 0 –
FALSE)
4
Property type Binary – binary data.
5–15
Property types reserved for future use.
If a property type other than NONE is used, the type will be checked with the type of the
property ID being requested. If these types do not match then the command will fail.
Response Message Data:
Byte
Field
Description
1
Property Type
Property Type definition follows
2
Property ID
Property ID identifies the property
3
Property Value
Value of the property
The property type field is the same as defined in the request message data. Only valid property
types are returned. The property type None is never returned. If the property type is Dword, the
format of the property value is in the Intel LSB,MSB (Little Endian) layout. For example Dword
value 0x12345678 is formatted as 0x78 0x56 0x34 0x12. Four bytes are always returned.