Set property command – MagTek IntelliStripe 310™ User Manual
Page 13

Section 2. Generic Commands
7
SET PROPERTY COMMAND
Command ID: 01 (Hex)
Description:
This command is used to modify 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
3
Property Value
Value of 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.
0
Reserved for Future use.
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.
3-0
5–15
Property types reserved for future use.
The property type None, defined in the get property command, is not allowed. Valid property
types are required or the command will fail. 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. All four bytes are required.
Response Message Data: None
Response Message Result Codes:
Success = 00 (Hex)
The command completed successfully.
Failure = 01 (Hex)
The command failed.