Section 2. generic commands, Get property command – MagTek IntelliStripe 310™ User Manual

Page 11

Advertising
background image

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.

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.

3-0

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.

Advertising