Event; Get - Elo TouchSystems Entuitive ET1725L Series User Manual

17" lcd desktop touchmonitor with magnetic swipe reader
Table of Contents

Advertisement

MagTek Device Drivers for Windows

event

Function
Response to an unsolicited event notification.
Syntax
none
Errors
none
Remarks
This response can occur when an unsolicited event, such as card inserted, occurs.
The format of the response is:
n is a numeric event code:
1
2
data specifies the type of medium that was inserted/removed:
M
Events are sent to the application only if the
events) and the
If a card has already been inserted when the driver is opened, there will not be any
notification when
/get card_stat
is blocking the sensor.
Example
If you wish to be notified when a card has been inserted into the PPINSERT:
Command
Response

get

Function
Get a property.
Syntax
prop
/get
prop is one of the valid properties shown in Section 2 or any of those from data
parsing.
Errors
/get
Since abc does not exist.
Remarks
The driver sends a response in the format:
If the requested property does not exist, the val field will be empty, i.e.,
the prop field. If the command was cancelled, both the prop and val fields will be
empty. In some cases, this command will interrogate the device to determine the
property setting. Some properties cannot be interrogated if a command (such as read)
is pending. The value will be null in this case.
Example
If you wish to find out which tracks are enabled, request the
Command
Response
18
/event
– medium has been inserted into the reader
– medium has been removed from the reader
– magnetic
property is set to
events_on
is enabled. Consequently, it is recommended that
events_on
be issued immediately after opening the driver to see if a card
/set events_on 1<LF>
/event
1
When a card is inserted into the slot.
abc<LF>
/get trk_enable<LF>
/get
trk_enable
Indicating track 1 & 2 are enabled, track 3 is disabled.
n data
property is
c_events
by the application.
1
M<LF>
prop val.
/get
trk_enable
110<LF>
(driver supports
1
follows
<LF>
property:

Advertisement

Table of Contents
loading

Table of Contents