Card inserted property, Sensor blocked char – MagTek USB INSERTION READER User Manual
Page 58

USB Insertion Reader
50
Example Get MSR Direction property Response (Hex):
Result Code Data Len
Prp Value
00
01
02
CARD INSERTED PROPERTY
Property ID:
4 (0x04)
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
No
Default Value:
None
Description:
This value is used to determine if a card is fully inserted into the device. If a
card is fully inserted into the device this property will contain one. If not, the
property will contain zero. This property is intended to be used by hosts that
want to check if a card is currently inserted in the device during startup. This
card inserted information is also optionally present in the Sensor field of the
card data sent to the host during each card swipe. So there should be no need
to poll the host for this information on a continuing basis.
Example Get Card Inserted property Request (Hex):
Cmd Num
Data Len
Prp ID
00
01
04
Example Get Card Inserted property Response (Hex):
Result Code Data Len
Prp Value
00
01
01
SENSOR BLOCKED CHAR
Property ID:
28 (0x1C)
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0
Description:
This character is sent in the sensor field of the card data when the sensor is
blocked. If the value is 0 no character is sent. If the value is in the range 1 –
127 then the equivalent ASCII character will be sent.
This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect.
Example Set Sensor Blocked Char property to ASCII “1” Request (Hex):
Cmd Num
Data Len
Prp ID
Prp Value
01
02
1C
31