Sensors and Indicators Unit Device Class Interface - Programmer's Reference
Sensors and Indicators Unit Device Class Interface - Programmer's Reference
Sensors and Indicators Unit Device Class Interface - Programmer's Reference
CWA 16926-10
WORKSHOP August 2015
AGREEMENT
English version
This CEN Workshop Agreement has been drafted and approved by a Workshop of representatives of interested parties, the constitution of
which is indicated in the foreword of this Workshop Agreement.
The formal process followed by the Workshop in the development of this Workshop Agreement has been endorsed by the National
Members of CEN but neither the National Members of CEN nor the CEN-CENELEC Management Centre can be held accountable for the
technical content of this CEN Workshop Agreement or possible conflicts with standards or legislation.
This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members.
This CEN Workshop Agreement is publicly available as a reference document from the CEN Members National Standard Bodies.
CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia,
Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania,
Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and United
Kingdom.
© 2015 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members.
Table of Contents
1. Introduction....................................................................................................................... 6
1.1 Background to Release 3.30................................................................................................ 6
1.2 XFS Service-Specific Programming.................................................................................... 6
3. References ...................................................................................................................... 14
4. Info Commands.............................................................................................................. 15
4.1 WFS_INF_SIU_STATUS ..................................................................................................... 15
4.2 WFS_INF_SIU_CAPABILITIES............................................................................................ 27
4.3 WFS_INF_SIU_GET_AUTOSTARTUP_TIME ........................................................................ 37
6. Events............................................................................................................................... 68
6.1 WFS_SRVE_SIU_PORT_STATUS ....................................................................................... 68
6.2 WFS_EXEE_SIU_PORT_ERROR ......................................................................................... 71
6.3 WFS_SRVE_SIU_POWER_SAVE_CHANGE......................................................................... 74
2
CWA 16926-10:2015 (E)
European foreword
3
CWA 16926-10:2015 (E)
Part 38: XFS MIB Device Specific Definitions - Camera Device Class
Part 39: XFS MIB Device Specific Definitions - Alarm Device Class
Part 40: XFS MIB Device Specific Definitions - Card Embossing Unit Class
Part 41: XFS MIB Device Specific Definitions - Cash-In Module Device Class
Part 42: Reserved for future use.
Part 43: XFS MIB Device Specific Definitions - Vendor Dependent Mode Device Class
Part 44: XFS MIB Application Management
Part 45: XFS MIB Device Specific Definitions - Card Dispenser Device Class
Part 46: XFS MIB Device Specific Definitions - Barcode Reader Device Class
Part 47: XFS MIB Device Specific Definitions - Item Processing Module Device Class
Parts 48 - 60 are reserved for future use.
Part 61: Application Programming Interface (API) - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Service Provider Interface (SPI) - Programmer's Reference
Part 62: Printer and Scanning Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 63: Identification Card Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 64: Cash Dispenser Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 65: PIN Keypad Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this CWA) -
Programmer's Reference
Part 66: Check Reader/Scanner Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30
(this CWA) - Programmer's Reference
Part 67: Depository Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this CWA) -
Programmer's Reference
Part 68: Text Terminal Unit Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 69: Sensors and Indicators Unit Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version
3.30 (this CWA) - Programmer's Reference
Part 70: Vendor Dependent Mode Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30
(this CWA) - Programmer's Reference
Part 71: Camera Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this CWA) -
Programmer's Reference
Part 72: Alarm Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this CWA) -
Programmer's Reference
Part 73: Card Embossing Unit Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 74: Cash-In Module Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 75: Card Dispenser Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 76: Barcode Reader Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30 (this
CWA) - Programmer's Reference
Part 77: Item Processing Module Device Class Interface - Migration from Version 3.20 (CWA 16374) to Version 3.30
(this CWA) - Programmer's Reference
In addition to these Programmer's Reference specifications, the reader of this CWA is also referred to a
4
CWA 16926-10:2015 (E)
complementary document, called Release Notes. The Release Notes contain clarifications and explanations on the
CWA specifications, which are not requiring functional changes. The current version of the Release Notes is
available online from http://www.cen.eu/work/areas/ict/ebusiness/pages/ws-xfs.aspx.
The information in this document represents the Workshop's current views on the issues discussed as of the date of
publication. It is furnished for informational purposes only and is subject to change without notice. CEN makes no
warranty, express or implied, with respect to this document.
The formal process followed by the Workshop in the development of the CEN Workshop Agreement has been
endorsed by the National Members of CEN but neither the National Members of CEN nor the CEN-CENELEC
Management Centre can be held accountable for the technical content of the CEN Workshop Agreement or possible
conflict with standards or legislation. This CEN Workshop Agreement can in no way be held as being an official
standard developed by CEN and its members.
The final review/endorsement round for this CWA was started on 2015-01-16 and was successfully closed on 2015-
03-19. The final text of this CWA was submitted to CEN for publication on 2015-06-19. The specification is
continuously reviewed and commented in the CEN Workshop on XFS. It is therefore expected that an update of the
specification will be published in due time as a CWA, superseding this revision 3.30.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights.
CEN [and/or CENELEC] shall not be held responsible for identifying any or all such patent rights.
According to the CEN-CENELEC Internal Regulations, the national standards organizations of the following
countries are bound to implement this European Standard: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech
Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary,
Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania,
Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom.
Comments or suggestions from the users of the CEN Workshop Agreement are welcome and should be addressed to
the CEN-CENELEC Management Centre.
Revision History:
3.00 October 18, 2000 Initial release.
3.01 November 16, 2001 Addition of an enhanced audio device. Required for support of
American Disabilities Act.
3.10 November 29, 2007 For a description of changes from version 3.00 to version 3.10 see
the SIU 3.10 Migration document.
3.20 March 2, 2011 For a description of changes from version 3.10 to version 3.20 see
the SIU 3.20 Migration document.
3.30 March 19, 2015 For a description of changes from version 3.20 to version 3.30 see
the SIU 3.30 Migration document.
5
CWA 16926-10:2015 (E)
1. Introduction
The CEN/XFS Workshop aims to promote a clear and unambiguous specification defining a multi-vendor software
interface to financial peripheral devices. The XFS (eXtensions for Financial Services) specifications are developed
within the CEN (European Committee for Standardization/Information Society Standardization System) Workshop
environment. CEN Workshops aim to arrive at a European consensus on an issue that can be published as a CEN
Workshop Agreement (CWA).
The CEN/XFS Workshop encourages the participation of both banks and vendors in the deliberations required to
create an industry standard. The CEN/XFS Workshop achieves its goals by focused sub-groups working
electronically and meeting quarterly.
Release 3.30 of the XFS specification is based on a C API and is delivered with the continued promise for the
protection of technical investment for existing applications. This release of the specification extends the
functionality and capabilities of the existing devices covered by the specification, but it does not include any new
device classes. Notable enhancements include:
• Enhanced reporting of Shutter Jammed Status and a new Shutter Status event for CDM, CIM and
IPM.
• Addition of a Synchronize command for all device classes, in order to allow synchronized action
where necessary.
• Directional Guidance Light support.
• Addition of a CIM Deplete Command.
• Support for EMV Intelligent Contactless Readers.
• Support in PIN for Encrypting Touch Screen.
• PIN Authentication functionality.
• New PIN Encryption Protocols added for Chinese market.
• PIN TR34 standard supported.
The service classes are defined by their service-specific commands and the associated data structures, error codes,
messages, etc. These commands are used to request functions that are specific to one or more classes of Service
Providers, but not all of them, and therefore are not included in the common API for basic or administration
functions.
When a service-specific command is common among two or more classes of Service Providers, the syntax of the
command is as similar as possible across all services, since a major objective of XFS is to standardize function codes
and structures for the broadest variety of services. For example, using the WFSExecute function, the commands to
read data from various services are as similar as possible to each other in their syntax and data structures.
In general, the specific command set for a service class is defined as a superset of the specific capabilities likely to
be provided by the developers of the services of that class; thus any particular device will normally support only a
subset of the defined command set.
There are three cases in which a Service Provider may receive a service-specific command that it does not support:
The requested capability is defined for the class of Service Providers by the XFS specification, the particular vendor
implementation of that service does not support it, and the unsupported capability is not considered to be
fundamental to the service. In this case, the Service Provider returns a successful completion, but does no operation.
An example would be a request from an application to turn on a control indicator on a passbook printer; the Service
Provider recognizes the command, but since the passbook printer it is managing does not include that indicator, the
Service Provider does no operation and returns a successful completion to the application.
6
CWA 16926-10:2015 (E)
The requested capability is defined for the class of Service Providers by the XFS specification, the particular vendor
implementation of that service does not support it, and the unsupported capability is considered to be fundamental
to the service. In this case, a WFS_ERR_UNSUPP_COMMAND error is returned to the calling application. An
example would be a request from an application to a cash dispenser to dispense coins; the Service Provider
recognizes the command but, since the cash dispenser it is managing dispenses only notes, returns this error.
The requested capability is not defined for the class of Service Providers by the XFS specification. In this case, a
WFS_ERR_INVALID_COMMAND error is returned to the calling application.
This design allows implementation of applications that can be used with a range of services that provide differing
subsets of the functionalities that are defined for their service class. Applications may use the WFSGetInfo and
WFSAsyncGetInfo commands to inquire about the capabilities of the service they are about to use, and modify their
behavior accordingly, or they may use functions and then deal with WFS_ERR_UNSUPP_COMMAND error returns
to make decisions as to how to use the service.
7
CWA 16926-10:2015 (E)
This specification describes the functionality of the services provided by the Sensors and Indicators Unit (SIU)
services under WOSA/XFS, by defining the service-specific commands that can be issued, using the WFSGetInfo,
WFSAsyncGetInfo, WFSExecute and WFSAsyncExecute functions.
This section describes the functions provided by a generic Sensors and Indicators Unit service. This service allows
for the operation of the following categories of ports:
• Door sensors, such as cabinet, safe or vandal shield doors.
• Alarm sensors, such as tamper, seismic or heat sensors.
• Generic sensors, such as proximity or ambient light sensors.
• Key switch sensors, such as the ATM operator switch.
• Lamp/sign indicators, such as fascia light or audio indicators.
Note that while the SIU device class provides some basic support for guidance lights, extended guidance
light functionality is specified in the individual device class specifications. Therefore it is recommended
that device guidance lights be supported and controlled via the individual device classes.
• Auxiliary indicators.
• Enhanced Audio Controller, for use by the partially sighted.
In self-service devices, the sensors and indicators unit is capable of dealing with external sensors, such as door
switches, locks, alarms and proximity sensors, as well as external indicators, such as turning on lamps or heating.
8
CWA 16926-10:2015 (E)
The Enhanced Audio Controller is provided to support the requirements of the American Disabilities Act. The
Enhanced Audio Controller device controls how private and public audio are broadcast when a headset is inserted
into/removed from the Audio Jack, and when the Handset is off-hook/on-hook. In the following ‘Privacy Device’ is
used to refer to either the headset or handset. This device allows audio feedback publicly and/or via the consumer’s
Privacy Device (vendor hardware permitting). For privacy, the device allows input to only be directed to the
consumers’ Privacy Device. In ‘auto’ and ‘semi-auto’ mode (and where the vendor’s hardware allows), public
transmission of audio can be automatically inhibited when the consumer’s Privacy Device is activated. In ‘auto’
mode (and where the vendor’s hardware allows), public transmission of audio can be automatically re-activated
when the consumer’s Privacy Device is deactivated.
The Enhanced Audio Controller provides the application with the following information:
• If a Privacy Device is activated (headset connected/handset off the hook).
• Whether the audio output is to the speakers or to the Privacy Device.
• Privacy/public mode: i.e. whether the activation of the Privacy Device automatically switches public audio
on or off.
The device is managed by the sensors WFS_SIU_ENHANCEDAUDIO, WFS_SIU_HANDSETSENSOR, and an
auxiliary WFS_SIU_ENHANCEDAUDIOCONTROL.
The WFS_SIU_ENHANCEDAUDIO sensor is used to:
• Provide information on the presence of the Audio Jack device.
• To report whether a headset is currently attached.
• Report state change events when a headset is inserted or removed.
The WFS_SIU_HANDSETSENSOR sensor is used to:
• Provide information on the presence of the handset device.
• To report whether a handset is currently off the hook.
• Report state change events when a handset is taken off the hook or put on the hook.
The WFS_SIU_ENHANCEDAUDIOCONTROL auxiliary is used to control the behavior of the Enhanced Audio
Controller. It allows the application to:
• Set the mode of the Enhanced Audio Controller - auto mode, semi-auto mode or manual mode.
• Set the state of the Enhanced Audio Controller- public or private.
A full description of auto, semi-auto and manual mode, as well as public and private states is contained in the
following pages.
The following describes the device behavior during auto and manual mode.
Auto Mode
In auto mode, when a consumer activates a Privacy Device, the audio is automatically directed to the Privacy Device
and the audio is no longer sent to the speakers. When the Privacy Device is deactivated, the audio is redirected to
the speakers. If more than one Privacy Device has been activated, audio is not redirected to the speakers until all
Privacy Devices have been deactivated. The following state diagram completely describes the behavior of the device
in auto mode.
State Description
Auto Mode Public Audio output is played through the public speakers only.
Auto Mode Private Audio is played through the consumer’s Privacy Device only.
9
CWA 16926-10:2015 (E)
WFS_SIU_PUBLICAUDIO_AUTO
Privacy Device activated
10
CWA 16926-10:2015 (E)
Semi-Auto Mode
This mode is required to ensure customer sensitive information is not broadcast via the public speakers when the
consumer’s Privacy Device is deliberately or otherwise deactivated.
In semi-auto mode, when a consumer’s Privacy Device is activated, the audio is automatically directed to the Privacy
Device and the audio is no longer sent to the speakers. When the Privacy Device is deactivated the audio remains
directed at the existing interface (i.e. not the speakers). If required, the application must explicitly return the device to
its public state if audio is required via the speakers. The following state diagram completely describes the behavior
of the device in auto mode.
State Description
Semi-Auto Mode Public Audio output is played through the public speakers only.
Semi-Auto Mode Private Audio is played through the consumer’s Privacy Device only.
WFS_SIU_PUBLICAUDIO_SEMI_AUTO
Privacy Device activated
11
CWA 16926-10:2015 (E)
WFS_SIU_PRIVATEAUDIO_MANUAL
Manual Manual
Mode Mode
Public Private
WFS_SIU_PUBLICAUDIO_MANUAL
12
CWA 16926-10:2015 (E)
The Enhanced Microphone Controller is provided to support a system of one or more microphones. Its behavior is
very similar to that of the Enhanced Audio Controller. The Enhanced Microphone Controller device controls how
private and public audio input behave when a headset microphone is inserted into/removed from the
Audio/Microphone Jack, and when the Handset with an integrated microphone is off-hook/on-hook. The device
allows audio input publicly (via a microphone in the fascia) and/or via the consumer’s Privacy Device (vendor
hardware permitting). For improved audio clarity or privacy, the device allows input to only be directed to the
consumers’ Privacy Device. In ‘auto’ and ‘semi-auto’ mode (and where the vendor’s hardware allows), public
transmission of audio can be automatically inhibited when the consumer’s Privacy Device is activated. In ‘auto’
mode (and where the vendor’s hardware allows), public transmission of audio can be automatically re-activated
when the consumer’s Privacy Device is deactivated.
The Enhanced Microphone Controller provides the application with the following information:
• If a Privacy Device is activated (headset connected/handset off the hook).
• Whether the audio input is from the fascia microphone or from the Privacy Device.
• Privacy/public mode: i.e. whether the activation of the Privacy Device automatically switches public
microphone on or off.
The device is managed by the sensors WFS_SIU_HEADSETMICROPHONE, WFS_SIU_HANDSETSENSOR, and
an auxiliary WFS_SIU_ENHANCEDMICROPHONECONTROL.
The WFS_SIU_HEADSETMICROPHONE sensor is used to:
• Provide information on the presence of the Microphone Jack device.
• To report whether a headset/external microphone is currently attached.
• Report state change events when a headset/external microphone is inserted or removed.
Some systems may contain a headset jack that enables both audio input and output via a single jack. In this case,
the WFS_SIU_ENHANCEDAUDIO capability will report WFS_SIU_BIDIRECTIONAL, and when a bi-directional
headset is inserted into the jack, the status for both the WFS_SIU_ENHANCEDAUDIO and
WFS_SIU_HEADSETMICROPHONE ports will change appropriately.
The WFS_SIU_HANDSETSENSOR sensor is the same sensor used for private audio output. However, the
WFS_SIU_HANDSETSENSOR capability flag WFS_SIU_MICROPHONE indicates whether the Handset also
contains an integrated microphone for audio input.
The WFS_SIU_ENHANCEDMICROPHONECONTROL auxiliary is used to control the behavior of the Enhanced
Microphone Controller. It allows the application to:
• Set the mode of the Enhanced Microphone Controller - auto mode, semi-auto mode or manual mode.
• Set the state of the Enhanced Microphone Controller- public or private.
The Enhanced Microphone Controller modes and state transitions are very much like those for the Enhanced Audio
Controller. The Enhanced Microphone Controller can be set to auto, semi-auto or manual modes. State transitions
occur in the same way that they are described in the state diagrams in the previous section, either when changed
manually by the application or when a Privacy Devices is activated/deactivated (depending on the mode). Note that
if the WFS_SIU_FASCIAMICROPHONE indicates WFS_SIU_NOT_AVAILABLE, none of the public modes for the
microphone will be supported.The Enhanced Audio Controller and Enhanced Microphone Controller states are
independent of each other, but can be linked under certain transitions while in auto mode or semi-auto mode. For
example, if a handset that contains microphone is activated, both controllers can transition to the private state. On
the other hand, if a handset that does not contain a microphone is activated, the Enhanced Audio Controller may
transition to the private state while the Enhanced Microphone Controller remains in the public state. Likewise, if a
headset that contains a microphone is plugged into a jack that supports integrated audio input and output, both
controllers can transition to the private state. Note that in this case, both the WFS_SIU_ENHANCEDAUDIO and
WFS_SIU_HEADSETMICROPHONE sensors would change state to WFS_SIU_PRESENT regardless of the mode.
13
CWA 16926-10:2015 (E)
3. References
1. XFS Application Programming Interface (API)/Service Provider Interface ( SPI), Programmer’s Reference Revision
3.30
14
CWA 16926-10:2015 (E)
4. Info Commands
4.1 WFS_INF_SIU_STATUS
Description This command reports the full range of information available, including the information that is
provided by the Service Provider.
Input Param None.
Output Param LPWFSSIUSTATUS lpStatus;
typedef struct _wfs_siu_status
{
WORD fwDevice;
WORD fwSensors [WFS_SIU_SENSORS_SIZE];
WORD fwDoors [WFS_SIU_DOORS_SIZE];
WORD fwIndicators [WFS_SIU_INDICATORS_SIZE];
WORD fwAuxiliaries [WFS_SIU_AUXILIARIES_SIZE];
WORD fwGuidLights [WFS_SIU_GUIDLIGHTS_SIZE];
LPSTR lpszExtra;
USHORT usPowerSaveRecoveryTime;
WORD wAntiFraudModule;
} WFSSIUSTATUS, *LPWFSSIUSTATUS;
fwDevice
Specifies the state of the Sensors and Indicators Unit device as one of the following flags:
Value Meaning
WFS_SIU_DEVONLINE The device is online (i.e. powered on and
operable).
WFS_SIU_DEVOFFLINE The device is offline (e.g. the operator has
taken the device offline by turning a switch).
WFS_SIU_DEVPOWEROFF The device is powered off or physically not
connected.
WFS_SIU_DEVNODEVICE There is no device intended to be there; e.g.
this type of self service machine does not
contain such a device or it is internally not
configured.
WFS_SIU_DEVHWERROR The device is inoperable due to a hardware
error.
WFS_SIU_DEVUSERERROR The device is present but a person is
preventing proper operation.
WFS_SIU_DEVBUSY The device is busy and unable to process an
execute command at this time.
WFS_SIU_DEVFRAUDATTEMPT The device is present but is inoperable
because it has detected a fraud attempt.
WFS_SIU_DEVPOTENTIALFRAUD The device has detected a potential fraud
attempt and is capable of remaining in
service. In this case the application should
make the decision as to whether to take the
device offline.
fwSensors [...]
Specifies the state of the sensors. A number of sensor types are defined below. Vendor specific
sensors are defined starting from the end of the array. The maximum sensor index is
WFS_SIU_SENSORS_MAX.
15
CWA 16926-10:2015 (E)
fwSensors [WFS_SIU_OPERATORSWITCH]
Specifies the state of the Operator Switch(es). This switch is used to tell the terminal if an
operator/supervisor wants to change the state from Run to Operators/Supervisors mode or vice
versa. The Run mode is used for normal consumer operations/transactions. The Maintenance
mode is used when replenishing the terminal. The Supervisor mode is used when operating the
terminal for service and testing. Supervisor mode has higher priority than Maintenance mode.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_RUN The switch is in Run mode.
WFS_SIU_MAINTENANCE The switch is in Maintenance mode.
WFS_SIU_SUPERVISOR The switch is in Supervisor mode.
fwSensors [WFS_SIU_TAMPER]
Specifies the state of the Tamper Sensor for the terminal. This sensor indicates whether the
terminal has been tampered with (such as a burglar attempt). Specified as one of the following
flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF There is no indication of a tampering attempt.
WFS_SIU_ON There has been a tampering attempt.
fwSensors [WFS_SIU_INTTAMPER]
Specifies the state of the Internal Tamper Sensor for the internal alarm. This sensor indicates
whether the internal alarm has been tampered with (such as a burglar attempt). Specified as one of
the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF There is no indication of a tampering attempt.
WFS_SIU_ON There has been a tampering attempt.
fwSensors [WFS_SIU_SEISMIC]
Specifies the state of the Seismic Sensor. This sensor indicates whether the terminal has been
shaken (e.g. burglar attempt or seismic activity). Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The seismic activity has not been high
enough to trigger the sensor.
WFS_SIU_ON The seismic or other activity has triggered
the sensor.
fwSensors [WFS_SIU_HEAT]
Specifies the state of the Heat Sensor. This sensor is triggered by excessive heat (fire) near the
terminal. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The heat has not been high enough to trigger
the sensor.
WFS_SIU_ON The heat has been high enough to trigger the
sensor.
fwSensors [WFS_SIU_PROXIMITY]
Specifies the state of the Proximity Sensor. This sensor is triggered by movements around the
terminal. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_PRESENT The sensor is showing that there is someone
present at the terminal.
16
CWA 16926-10:2015 (E)
17
CWA 16926-10:2015 (E)
fwSensors [WFS_SIU_GENERALINPUTPORT]
Specifies the state of the vendor dependent General-Purpose Input Ports as a bitmap. Before
making use of the General-Purpose Input Ports the vendor should examine if the required
functionality is covered in this or other device classes as a vendor independent feature. Each bit of
this value represents one General-Purpose Input Port and is specified as one of the following
binary values:
Value Meaning
0 The General-Purpose Input Port is turned off.
1 The General-Purpose Input Port is turned on.
The following flags can be used to reference each General-Purpose Input Port.
Value Meaning
WFS_SIU_GPP1 General-Purpose Input Port 1.
WFS_SIU_GPP2 General-Purpose Input Port 2.
…
WFS_SIU_GPP16 General-Purpose Input Port 16.
fwSensors [WFS_SIU_HEADSETMICROPHONE]
Specifies the presence or absence of a consumer’s headset microphone connected to the
Microphone Jack. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_PRESENT There is a headset microphone connected.
WFS_SIU_NOT_PRESENT There is no headset microphone connected.
fwSensors [WFS_SIU_FASCIAMICROPHONE]
Specifies the state of the Fascia Microphone as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The Fascia Microphone is turned off.
WFS_SIU_ON The Fascia Microphone is turned on.
fwDoors [...]
Specifies the state of the doors. A number of door types are defined below. Vendor specific doors
are defined starting from the end of the array. The maximum door index is
WFS_SIU_DOORS_MAX.
fwDoors [WFS_SIU_CABINET]
Specifies a summary of the states of the Cabinet Doors. A more detailed status may be available
through the door specific state for e.g. WFS_SIU_CABINET_REAR. Cabinet Doors are doors that
open up for consumables, and hardware that does not have to be in a secure place. Specified as
one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_CLOSED All Cabinet Doors are closed.
WFS_SIU_OPEN At least one of the Cabinet Doors is open.
WFS_SIU_LOCKED All Cabinet Doors are closed and locked.
WFS_SIU_BOLTED All Cabinet Doors are closed, locked and
bolted.
fwDoors [WFS_SIU_SAFE]
Specifies the state of the Safe Doors. Safe Doors are doors that open up for secure hardware, such
as the note dispenser, the security device, etc. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_CLOSED The Safe Doors are closed.
WFS_SIU_OPEN At least one of the Safe Doors is open.
WFS_SIU_LOCKED The Safe Doors are closed and locked.
18
CWA 16926-10:2015 (E)
19
CWA 16926-10:2015 (E)
20
CWA 16926-10:2015 (E)
fwIndicators [WFS_SIU_HEATING]
Specifies the state of the Internal Heating as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The Internal Heating is turned off.
WFS_SIU_ON The Internal Heating is turned on.
fwIndicators [WFS_SIU_CONSUMER_DISPLAY_BACKLIGHT]
Specifies the state of the Consumer Display Backlight as one of the following:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The Consumer Display Backlight is turned
off.
WFS_SIU_ON The Consumer Display Backlight is turned
on.
fwIndicators [WFS_SIU_SIGNAGEDISPLAY]
Specifies the state of the Signage Display. The Signage Display is a lighted banner or marquee that
can be used to display information or an advertisement. Any dynamic data displayed must be
loaded by a means external to the Service Provider. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The Signage Display is turned off.
WFS_SIU_ON The Signage Display is turned on.
fwIndicators [WFS_SIU_TRANSINDICATOR]
Specifies the state of the Transaction Indicators as a bitmap. Each bit of this value represents one
Transaction Indicator and is specified as one of the following binary values:
Value Meaning
0 The Transaction Indicator is turned off.
1 The Transaction Indicator is turned on.
The following flags can be used to reference each Transaction Indicator.
Value Meaning
WFS_SIU_LAMP1 Transaction Indicator 1.
WFS_SIU_LAMP2 Transaction Indicator 2.
…
WFS_SIU_LAMP16 Transaction Indicator 16.
fwIndicators [WFS_SIU_GENERALOUTPUTPORT]
Specifies the state of the vendor dependent General-Purpose Output Ports as a bitmap. Before
making use of the General-Purpose Output Ports the vendor should examine if the required
functionality is covered in this or other device classes as a vendor independent feature. Each bit of
this value represents one General-Purpose Output Port and is specified as one of the following
binary values:
Value Meaning
0 The General-Purpose Output Port is turned
off.
1 The General-Purpose Output Port is turned
on.
The following flags can be used to reference each General-Purpose Output Port.
Value Meaning
WFS_SIU_GPP1 General-Purpose Output Port 1.
WFS_SIU_GPP2 General-Purpose Output Port 2.
…
WFS_SIU_GPP16 General-Purpose Output Port 16.
21
CWA 16926-10:2015 (E)
fwAuxiliaries [...]
Specifies the state of the auxiliary indicators. A number of auxiliary indicator types are defined
below. Vendor specific auxiliaries are defined starting from the end of the array. The maximum
auxiliary index is WFS_SIU_AUXILIARIES_MAX.
fwAuxiliaries [WFS_SIU_VOLUME]
Specifies the value of the Volume Control. The value of Volume Control is defined in an interval
from 1 to 1000 where 1 is the lowest volume level and 1000 is the highest volume level. The interval
is defined in logarithmic steps, e.g. a volume control on a radio. Note: The Volume Control field is
handled as unsigned short. Interpretation of this value is vendor-specific and therefore it is not
possible to guarantee a consistent actual volume level across different vendor hardware.
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
1, ..., 1000 The volume level. This field is handled as an
unsigned short.
fwAuxiliaries [WFS_SIU_UPS]
Specifies the state of the Uninterruptible Power Supply device as WFS_SIU_NOT_AVAILABLE
or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE The status is not available. A
WFS_SIU_AVAILABLE The UPS is available. B
WFS_SIU_LOW The charge level of the UPS is B
low.
WFS_SIU_ENGAGED The UPS is engaged. B
WFS_SIU_POWERING The UPS is powering the system. B
The main power supply is off.
WFS_SIU_RECOVERED The UPS was engaged when the B
main power went off.
fwAuxiliaries[WFS_SIU_REMOTE_STATUS_MONITOR]
Specifies the state of the Remote Status Monitor device (which uses LEDs for displaying the
status of the system). Possible states are WFS_SIU_NOT_AVAILABLE or a combination of one
of each flag of type B, C and D:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE The status is not available. A
WFS_SIU_GREEN_LED_ON The green LED is on. B
WFS_SIU_GREEN_LED_OFF The green LED is off. B
WFS_SIU_AMBER_LED_ON The amber LED is on. C
WFS_SIU_AMBER_LED_OFF The amber LED is off. C
WFS_SIU_RED_LED_ON The red LED is on. D
WFS_SIU_RED_LED_OFF The red LED is off. D
fwAuxiliaries[WFS_SIU_AUDIBLE_ALARM]
Species the state of the Audible Alarm device as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The Alarm is turned off.
WFS_SIU_ON The Alarm is turned on.
fwAuxiliaries [WFS_SIU_ENHANCEDAUDIOCONTROL]
Specifies the state of the Enhanced Audio Controller. The Enhanced Audio Controller controls
how private and public audio are broadcast when the headset is inserted into/removed from the
audio jack and when the handset is off-hook/on-hook. In the following, Privacy Device is used to
refer to either the headset or handset. The Enhanced Audio Controller state is specified as one of
the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
22
CWA 16926-10:2015 (E)
23
CWA 16926-10:2015 (E)
24
CWA 16926-10:2015 (E)
Value Meaning
WFS_SIU_NOT_AVAILABLE The status is not available.
WFS_SIU_OFF The light is turned off.
WFS_SIU_SLOW_FLASH The light is blinking slowly.
WFS_SIU_MEDIUM_FLASH The light is blinking medium frequency.
WFS_SIU_QUICK_FLASH The light is blinking quickly.
WFS_SIU_CONTINUOUS The light is turned on continuous (steady).
fwGuidLights [WFS_SIU_CARDUNIT]
Specifies the state of the Guidance Light Indicator on the Card Unit (IDC).
fwGuidLights [WFS_SIU_PINPAD]
Specifies the state of the Guidance Light Indicator on the PIN pad unit.
fwGuidLights [WFS_SIU_NOTESDISPENSER]
Specifies the state of the Guidance Light Indicator on the note dispenser unit.
fwGuidLights [WFS_SIU_COINDISPENSER]
Specifies the state of the Guidance Light Indicator on the coin dispenser unit.
fwGuidLights [WFS_SIU_RECEIPTPRINTER]
Specifies the state of the Guidance Light Indicator on the receipt printer unit.
fwGuidLights [WFS_SIU_PASSBOOKPRINTER]
Specifies the state of the Guidance Light Indicator on the passbook printer unit.
fwGuidLights [WFS_SIU_ENVDEPOSITORY]
Specifies the state of the Guidance Light Indicator on the envelope depository unit.
fwGuidLights [WFS_SIU_CHEQUEUNIT]
Specifies the state of the Guidance Light Indicator on the cheque processing unit.
fwGuidLights [WFS_SIU_BILLACCEPTOR]
Specifies the state of the Guidance Light Indicator on the bill acceptor unit.
fwGuidLights [WFS_SIU_ENVDISPENSER]
Specifies the state of the Guidance Light Indicator on the envelope dispenser unit.
fwGuidLights [WFS_SIU_DOCUMENTPRINTER]
Specifies the state of the Guidance Light Indicator on the document printer.
fwGuidLights [WFS_SIU_COINACCEPTOR]
Specifies the state of the Guidance Light Indicator on the coin acceptor.
fwGuidLights [WFS_SIU_SCANNER]
Specifies the state of the Guidance Light Indicator on the scanner unit.
lpszExtra
Pointer to a list of vendor-specific, or any other extended, information. The information is returned
as a series of “key=value” strings so that it is easily extensible by Service Providers. Each string
is null-terminated, with the final string terminating with two null characters. An empty list may be
indicated by either a NULL pointer or a pointer to two consecutive null characters.
usPowerSaveRecoveryTime
Specifies the actual number of seconds required by the device to resume its normal operational
state from the current power saving mode. This value is zero if either the power saving mode has
not been activated or no power save control is supported.
wAntiFraudModule
Specifies the state of the anti-fraud module as one of the following values:
Value Meaning
WFS_SIU_AFMNOTSUPP No anti-fraud module is available.
WFS_SIU_AFMOK Anti-fraud module is in a good state and no
foreign device is detected.
WFS_SIU_AFMINOP Anti-fraud module is inoperable.
WFS_SIU_AFMDEVICEDETECTED Anti-fraud module detected the presence of a
foreign device.
25
CWA 16926-10:2015 (E)
26
CWA 16926-10:2015 (E)
4.2 WFS_INF_SIU_CAPABILITIES
Description This command is used to retrieve the capabilities of the Sensors and Indicators Unit.
Input Param None.
Output Param LPWFSSIUCAPS lpCaps;
typedef struct _wfs_siu_caps
{
WORD wClass;
WORD fwType;
WORD fwSensors [WFS_SIU_SENSORS_SIZE];
WORD fwDoors [WFS_SIU_DOORS_SIZE];
WORD fwIndicators [WFS_SIU_INDICATORS_SIZE];
WORD fwAuxiliaries [WFS_SIU_AUXILIARIES_SIZE];
WORD fwGuidLights [WFS_SIU_GUIDLIGHTS_SIZE];
LPSTR lpszExtra;
BOOL bPowerSaveControl;
WORD fwAutoStartupMode;
BOOL bAntiFraudModule;
LPDWORD lpdwSynchronizableCommands;
} WFSSIUCAPS, *LPWFSSIUCAPS;
wClass
Specifies the logical service class as WFS_SERVICE_CLASS_SIU.
fwType
Specifies the type of sensors and indicators supported by this device as a combination of the
following flags:
Value Meaning
WFS_SIU_SENSORS The device supports input sensors.
WFS_SIU_DOORS The device support door sensors.
WFS_SIU_INDICATORS The device supports indicators.
WFS_SIU_AUXILIARIES The device supports auxiliary indicators.
WFS_SIU_GUIDLIGHTS The device supports guidance lights.
fwSensors [...]
Specifies which sensors are available, and if so, which states they can take. A number of sensor
types are defined below. Vendor specific sensors are defined starting from the end of the array.
The maximum sensor index is WFS_SIU_SENSORS_MAX.
fwSensors [WFS_SIU_OPERATORSWITCH]
Specifies whether the Operator Switch is available, and if so, which states it can take. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Operator Switch A
available.
WFS_SIU_RUN The switch can be set in Run B
mode.
WFS_SIU_MAINTENANCE The switch can be set in B
Maintenance mode.
WFS_SIU_SUPERVISOR The switch can be set in B
Supervisors mode.
fwSensors [WFS_SIU_TAMPER]
Specifies whether the Tamper Sensor for the terminal is available. Specified as one of the following
flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Tamper Sensor available.
WFS_SIU_AVAILABLE The Tamper Sensor is available.
27
CWA 16926-10:2015 (E)
fwSensors [WFS_SIU_INTTAMPER]
Specifies whether the Internal Tamper Sensor for internal alarm is available. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Internal Tamper Sensor available.
WFS_SIU_AVAILABLE The Internal Tamper Sensor is available.
fwSensors [WFS_SIU_SEISMIC]
Specifies whether the Seismic Sensor is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Seismic Sensor available.
WFS_SIU_AVAILABLE The Seismic Sensor is available.
fwSensors [WFS_SIU_HEAT]
Specifies whether the Heat Sensor is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Heat Sensor available.
WFS_SIU_AVAILABLE The Heat Sensor is available.
fwSensors [WFS_SIU_PROXIMITY]
Specifies whether the Proximity Sensor is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Proximity Sensor available.
WFS_SIU_AVAILABLE The Proximity Sensor is available.
fwSensors [WFS_SIU_AMBLIGHT]
Specifies whether the Ambient Light Sensor is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Ambient Light Sensor available.
WFS_SIU_AVAILABLE The Ambient Light Sensor is available.
fwSensors [WFS_SIU_ENHANCEDAUDIO]
Specifies whether the Audio Jack is present, and if so, which modes it supports. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Audio Jack available. A
WFS_SIU_MANUAL The Audio Jack is available and B
supports manual mode.
WFS_SIU_AUTO The Audio Jack is available and B
supports auto mode.
WFS_SIU_SEMI_AUTO The Audio Jack is available and B
supports semi-auto mode.
WFS_SIU_BIDIRECTIONAL The Audio Jack is available and B
can support headphones that have
an integrated microphone via a
single jack.
fwSensors [WFS_SIU_BOOT_SWITCH]
Specifies whether the Boot Switch is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Boot Switch Sensor available.
WFS_SIU_AVAILABLE The Boot Switch Sensor is available.
fwSensors [WFS_SIU_CONSUMER_DISPLAY]
Specifies whether the Consumer Display Sensor is available. Specified as one of the following
flags:
28
CWA 16926-10:2015 (E)
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Consumer Display Sensor
available.
WFS_SIU_AVAILABLE The Consumer Display Sensor is available.
fwSensors [WFS_SIU_OPERATOR_CALL_BUTTON]
Specifies whether the Operator Call Button is available. The Operator Call Button does not actually
call the operator but just sends a signal to the application. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Operator Call Button available.
WFS_SIU_AVAILABLE The Operator Call Button is available.
fwSensors [WFS_SIU_HANDSETSENSOR]
Specifies whether the Handset is present, and if so, which modes it supports. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Handset available. A
WFS_SIU_MANUAL The Handset is available and it B
supports manual mode.
WFS_SIU_AUTO The Handset is available and it B
supports auto mode.
WFS_SIU_SEMI_AUTO The Handset is available and it B
supports semi-auto mode.
WFS_SIU_MICROPHONE The Handset is available and B
contains an embedded
microphone for audio input.
fwSensors [WFS_SIU_GENERALINPUTPORT]
Specifies whether the vendor dependent General-Purpose Input Ports are available. Before making
use of the General-Purpose Input Ports the vendor should examine if the required functionality is
covered in this or other device classes as a vendor independent feature. This value is a bitmap and
each bit of this value represents one General-Purpose Input Port. Each bit is specified as one of the
following binary values:
Value Meaning
0 The General-Purpose Input Port is not
available.
1 The General-Purpose Input Port is available.
The following flags can be used to reference each General-Purpose Input Port.
Value Meaning
WFS_SIU_GPP1 General-Purpose Input Port 1.
WFS_SIU_GPP2 General-Purpose Input Port 2.
…
WFS_SIU_GPP16 General-Purpose Input Port 16.
fwSensors [WFS_SIU_HEADSETMICROPHONE]
Specifies whether the Microphone Jack is present, and if so, which modes it supports. If the
fwSensors [WFS_SIU_ENHANCEDAUDIO] capability indicates the presence of a bi-directional
Audio Jack then both sensors reference the same physical jack. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Microphone Jack A
available.
WFS_SIU_MANUAL The Microphone Jack is available B
and supports manual mode.
WFS_SIU_AUTO The Microphone Jack is available B
and supports auto mode.
WFS_SIU_SEMI_AUTO The Microphone Jack is available B
and supports semi-auto mode.
29
CWA 16926-10:2015 (E)
fwSensors [WFS_SIU_FASCIAMICROPHONE]
Specifies whether a Fascia Microphone (for public audio input) is present. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Fascia Microphone available.
WFS_SIU_AVAILABLE The Fascia Microphone is available.
fwDoors [...]
Specifies which doors are available, and if so, which states they can take. A number of door types
are defined below. Vendor specific doors are defined starting from the end of the array. The
maximum door index is WFS_SIU_DOORS_MAX.
fwDoors [WFS_SIU_CABINET]
Specifies whether at least one Cabinet Doors is available, and if so, which states they can take.
Specified as WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Cabinet Door A
available.
WFS_SIU_CLOSED At least one of the Cabinet Doors B
can detect a closed state.
WFS_SIU_OPEN At least one of the Cabinet Doors B
can detect an open state.
WFS_SIU_LOCKED At least one of the Cabinet Doors B
can be locked.
WFS_SIU_BOLTED At least one of the Cabinet Doors B
can be bolted.
fwDoors [WFS_SIU_SAFE]
Specifies whether the Safe Doors are available, and if so, which states they can take. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Safe Door available. A
WFS_SIU_CLOSED The Safe Doors can be closed. B
WFS_SIU_OPEN The Safe Doors can be open. B
WFS_SIU_LOCKED The Safe Doors can be locked. B
WFS_SIU_BOLTED The Safe Doors can be bolted. B
fwDoors [WFS_SIU_VANDALSHIELD]
Specifies whether the Vandal Shield is available, and if so, which states it can take. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Vandal Shield A
available.
WFS_SIU_CLOSED The Vandal Shield can be closed. B
WFS_SIU_OPEN The Vandal Shield can be open. B
WFS_SIU_LOCKED The Vandal Shield can be locked. B
WFS_SIU_SERVICE The Vandal Shield can be in B
service position.
WFS_SIU_KEYBOARD The Vandal Shield can be in B
position that permits access to
the keyboard.
fwDoors [WFS_SIU_CABINET_FRONT]
Specifies whether at least one Front Cabinet Door is available, and if so, which states they can take
(the overall capability for all cabinet doors is available through the capability for
WFS_SIU_CABINET). The front is defined as the side facing the customer/consumer. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
30
CWA 16926-10:2015 (E)
31
CWA 16926-10:2015 (E)
32
CWA 16926-10:2015 (E)
33
CWA 16926-10:2015 (E)
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Remote Status Monitor device
available.
WFS_SIU_AVAILABLE The Remote Status Monitor device is
available.
fwAuxiliaries [WFS_SIU_AUDIBLE_ALARM]
Specifies whether the Audible Alarm device is available. Specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Audible Alarm device available.
WFS_SIU_AVAILABLE The Audible Alarm device is available.
fwAuxiliaries [WFS_SIU_ENHANCEDAUDIOCONTROL]
Specifies whether the Enhanced Audio Controller is available, and if so, which modes it supports.
The Enhanced Audio Controller controls how private and public audio are broadcast when the
headset is inserted into/removed from the audio jack and when the handset is off-hook/on-hook.
In the following Privacy Device is used to refer to either the headset or handset. The modes it
supports are specified as WFS_SIU_NOT_AVAILABLE or as a combination of the following flags
of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Enhanced Audio A
Controller available.
WFS_SIU_HEADSET_DETECTION The Enhanced Audio Controller B
is available and supports Privacy
Device activation/deactivation.
The device is able to report events
to indicate Privacy Device
activation/deactivation.
WFS_SIU_MODE_CONTROLLABLE The Enhanced Audio Controller B
is available and supports
application control of the
Privacy Device mode via the
WFS_CMD_SIU_SET_PORTS and
WFS_CMD_SIU_SET_AUXILIARY
command.
fwAuxiliaries [WFS_SIU_ENHANCEDMICROPHONECONTROL]
Specifies whether the Enhanced Microphone Controller is available, and if so, which modes it
supports. The Enhanced Microphone Controller controls how private and public audio input are
transmitted when the headset is inserted into/removed from the audio jack and when the handset
is off-hook/on-hook. In the following Privacy Device is used to refer to either the headset or
handset. The modes it supports are specified as WFS_SIU_NOT_AVAILABLE or as a
combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no Enhanced A
Microphone Controller available.
WFS_SIU_HEADSET_DETECTION The Enhanced Microphone B
Controller is available and supports
Privacy Device activation/deactivation.
The device is able to report events
to indicate Privacy Device
activation/deactivation.
WFS_SIU_MODE_CONTROLLABLE The Enhanced Microphone B
Controller is available and
Supports application control of the
Privacy Device mode via the
WFS_CMD_SIU_SET_PORTS and
WFS_CMD_SIU_SET_AUXILIARY
command.
34
CWA 16926-10:2015 (E)
fwAuxiliaries [WFS_SIU_MICROPHONEVOLUME]
Specifies whether the Microphone Volume Control is available, and if so, the increment/decrement
value recommended by the vendor.
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Microphone Volume Control
available.
1, ..., 1000 The recommended increment/decrement
value for the Microphone Volume Control.
fwGuidLights [...]
Specifies which Guidance Light Indicators are available. A number of guidance light types are
defined below. Vendor specific guidance lights are defined starting from the end of the array. The
maximum guidance light index is WFS_SIU_GUIDLIGHTS_MAX. The elements of this array are
specified as one of the following flags:
Value Meaning
WFS_SIU_NOT_AVAILABLE There is no Guidance Light Indicator
available at this position or the device
controls the light.
WFS_SIU_AVAILABLE A Guidance Light Indicator is available at
this position.
fwGuidLights [WFS_SIU_CARDUNIT]
Specifies whether the Guidance Light Indicator on the Card Unit (IDC) is available.
fwGuidLights [WFS_SIU_PINPAD]
Specifies whether the Guidance Light Indicator on the PIN pad unit is available.
fwGuidLights [WFS_SIU_NOTESDISPENSER]
Specifies whether the Guidance Light Indicator on the note dispenser unit is available.
fwGuidLights [WFS_SIU_COINDISPENSER]
Specifies whether the Guidance Light Indicator on the coin dispenser unit is available.
fwGuidLights [WFS_SIU_RECEIPTPRINTER]
Specifies whether the Guidance Light Indicator on the receipt printer unit is available.
fwGuidLights [WFS_SIU_PASSBOOKPRINTER]
Specifies whether the Guidance Light Indicator on the passbook printer unit is available.
fwGuidLights [WFS_SIU_ENVDEPOSITORY]
Specifies whether the Guidance Light Indicator on the envelope depository unit is available.
fwGuidLights [WFS_SIU_CHEQUEUNIT]
Specifies whether the Guidance Light Indicator on the cheque processing unit is available.
fwGuidLights [WFS_SIU_BILLACCEPTOR]
Specifies whether the Guidance Light Indicator on the bill acceptor unit is available.
fwGuidLights [WFS_SIU_ENVDISPENSER]
Specifies whether the Guidance Light Indicator on the envelope dispenser unit is available.
fwGuidLights [WFS_SIU_DOCUMENTPRINTER]
Specifies whether the Guidance Light Indicator on the document printer is available.
fwGuidLights [WFS_SIU_COINACCEPTOR]
Specifies whether the Guidance Light Indicator on the coin acceptor is available.
fwGuidLights [WFS_SIU_SCANNER]
Specifies whether the Guidance Light Indicator on the scanner unit is available.
lpszExtra
Pointer to a list of vendor-specific, or any other extended, information. The information is returned
as a series of “key=value” strings so that it is easily extensible by Service Providers. Each string
is null-terminated, with the final string terminating with two null characters. An empty list may be
indicated by either a NULL pointer or a pointer to two consecutive null characters.
35
CWA 16926-10:2015 (E)
bPowerSaveControl
Specifies whether power saving control is available. This can either be TRUE if available or FALSE
if not available.
fwAutoStartupMode
Specifies which mode of the auto start-up control is supported. Specified as
WFS_SIU_NOT_AVAILABLE or as a combination of the following flags of type B:
Value Meaning Type
WFS_SIU_NOT_AVAILABLE There is no auto start-up control A
available.
WFS_SIU_AUTOSTARTUP_SPECIFIC The device supports one-time B
auto start-up on a specific date
at a specific time.
WFS_SIU_AUTOSTARTUP_DAILY The device supports auto B
start-up every day at a specific
time.
WFS_SIU_AUTOSTARTUP_WEEKLY The device supports auto B
start-up at a specified time
on a specific day of every week.
bAntiFraudModule
Specifies whether the anti-fraud module is available. This can either be TRUE if available or FALSE
if not available. lpdwSynchronizableCommands
Pointer to a zero-terminated list of DWORDs which contains the execute command IDs that can be
synchronized. If no execute command can be synchronized then this parameter will be NULL.
Error Codes Only the generic error codes defined in [Ref. 1] can be generated by this command.
Comments Applications which require or expect specific information to be present in the lpszExtra parameter
may not be device or vendor-independent.
36
CWA 16926-10:2015 (E)
4.3 WFS_INF_SIU_GET_AUTOSTARTUP_TIME
Description This command is used to retrieve the availability of the auto start-up time function as well as the
current configuration of the auto start-up time.
Input Param None.
Output Param LPWFSSIUGETSTARTUPTIM E lpGet Startup Time;
typedef struct _wfs_siu_get_startup_time
{
WORD wMode;
LPSYSTEMTIME lpStartTime;
} WFSSIUGETSTARTUPTIME, *LPWFSSIUGETSTARTUPTIME;
wMode
Specifies the current auto start-up control mode configured as one of the following flags.
Value Meaning
WFS_SIU_AUTOSTARTUP_CLEAR No auto start-up time is configured.
WFS_SIU_AUTOSTARTUP_SPECIFIC One-time auto start-up at a specific time on a
specific date has been configured.
In the lpStartTime parameter, only wYear,
wMonth, wDay, wHour and wMinute are
relevant. All other field must be ignored.
WFS_SIU_AUTOSTARTUP_DAILY Auto start-up every day has been
configured.
In the lpStartTime parameter, only wHour
and wMinute are relevant. All other fields
must be ignored.
WFS_SIU_AUTOSTARTUP_WEEKLY Auto start-up at a specified time on a specific
day of every week has been configured.
In the lpStartTime parameter, only
wDayOfWeek, wHour and wMinute are
relevant. All other fields must be ignored.
lpStartTime
Specifies the current auto start-up time configuration.
Win32 SYSTEMTIME structure:
wYear
Specifies the year. The value should be ignored if it is not relevant to the wMode value.
wMonth
Specifies the month. The value should be ignored if it is not relevant to the wMode value.
wDayOfWeek
Specifies the day of the week, in values from 0 (Sunday) to 6 (Saturday). The value should be
ignored if it is not relevant to the wMode value.
wDay
Specifies the day of the month. The value should be ignored if it is not relevant to the wMode
value.
wHour
Specifies the hour. The value should be ignored if it is not relevant to the wMode value.
wMinute
Specifies the minute. The value should be ignored if it is not relevant to the wMode value.
wSecond
This field is not used and will be zero.
wMilliseconds
This field is not used and will be zero.
37
CWA 16926-10:2015 (E)
Error Codes Only the generic error codes defined in [Ref. 1] can be generated by this command.
Events None.
Comments None.
38
CWA 16926-10:2015 (E)
5. Execute Commands
5.1 WFS_CMD_SIU_ENABLE_EVENTS
Description This command is used to enable or disable events from the Sensors and Indicators Unit. The
default condition is that all events are disabled.
Input Param LPWFSSIUENABLE lpEnable;
typedef struct _wfs_siu_enable
{
WORD fwSensors [WFS_SIU_SENSORS_SIZE];
WORD fwDoors [WFS_SIU_DOORS_SIZE];
WORD fwIndicators [WFS_SIU_INDICATORS_SIZE];
WORD fwAuxiliaries [WFS_SIU_AUXILIARIES_SIZE];
WORD fwGuidLights [WFS_SIU_GUIDLIGHTS_SIZE];
LPSTR lpszExtra;
} WFSSIUENABLE, *LPWFSSIUENABLE;
fwSensors [...]
Specifies which of the sensors that should report changes. A number of sensor types are defined
below. Vendor specific sensors are defined starting from the end of the array. The maximum sensor
index is WFS_SIU_SENSORS_MAX.
fwSensors [WFS_SIU_OPERATORSWITCH]
Specifies whether the Operator Switch should report whenever the switch changes the operating
mode. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Operators Switch should report
whenever it changes mode from Run to
Maintenance or Supervisor mode or vice
versa.
WFS_SIU_DISABLE_EVENT The Operators Switch should not report any
changes of it operating mode.
fwSensors [WFS_SIU_TAMPER]
Specifies whether the Tamper Sensor should report whenever someone tampers with the terminal.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Tamper Sensor should report whenever
it detects any tampering attempt.
WFS_SIU_DISABLE_EVENT The Tamper Sensor should not report any
changes of its status.
fwSensors [WFS_SIU_INTTAMPER]
Specifies whether the Internal Tamper Sensor should report whenever someone tampers with the
internal alarm. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Internal Tamper Sensor should report
whenever it detects any tampering attempt.
WFS_SIU_DISABLE_EVENT The Internal Tamper Sensor should not
report any changes of its status.
fwSensors [WFS_SIU_SEISMIC]
Specifies whether the Seismic Sensor should report whenever any seismic activity is detected.
Specified as one of the following flags:
39
CWA 16926-10:2015 (E)
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Seismic Sensor should report whenever
it detects any seismic activity.
WFS_SIU_DISABLE_EVENT The Seismic Sensor should not report any
changes of its status.
fwSensors [WFS_SIU_HEAT]
Specifies whether the Heat Sensor should report whenever any excessive heat is detected.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Heat Sensor should report whenever it
detects any excessive heat.
WFS_SIU_DISABLE_EVENT The Heat Sensor should not report any
changes of its status.
fwSensors [WFS_SIU_PROXIMITY]
Specifies whether the Proximity Sensor should report whenever any movement is detected close to
the terminal. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Proximity Sensor should report
whenever it detects any movement.
WFS_SIU_DISABLE_EVENT The Proximity Sensor should not report any
changes of its status.
fwSensors [WFS_SIU_AMBLIGHT]
Specifies whether the Ambient Light Sensor should report whenever it detects changes in the
ambient light. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Ambient Light Sensor should report
whenever it detects a change.
WFS_SIU_DISABLE_EVENT The Ambient Light Sensor should not report
any change.
fwSensors [WFS_SIU_ENHANCEDAUDIO]
Specifies whether the Audio Jack should report whenever it detects changes in the audio jack.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Audio Jack should report whenever it
detects a headset being connected or
disconnected.
WFS_SIU_DISABLE_EVENT The Audio Jack should not report any
change in headset connection state.
fwSensors [WFS_SIU_BOOT_SWITCH]
Specifies whether the Boot Switch should report whenever the delayed effect boot switch is used.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Boot Switch should report whenever it
detects the terminal is going to be rebooted
or shutdown.
WFS_SIU_DISABLE_EVENT The Boot Switch should not report any
changes of its status.
40
CWA 16926-10:2015 (E)
fwSensors [WFS_SIU_CONSUMER_DISPLAY]
Specifies whether the Consumer Display Sensor should report whenever it detects changes to the
consumer display. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Consumer Display Sensor should report
whenever it detects any changes of its
status.
WFS_SIU_DISABLE_EVENT The Consumer Display Sensor should not
report any changes of its status.
fwSensors [WFS_SIU_OPERATOR_CALL_BUTTON]
Specifies whether the Operator Call Button should report whenever the Operator Call Button is
pressed or released. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Operator Call Button should report
whenever it detects that it is pressed or
released.
WFS_SIU_DISABLE_EVENT The Operator Call Button should not report
any changes of its status.
fwSensors [WFS_SIU_HANDSETSENSOR]
Specifies whether the Handset Sensor should report whenever it detects changes of its status.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Handset Sensor should report whenever
the handset is picked up or put down.
WFS_SIU_DISABLE_EVENT The Handset Sensor should not report any
changes of its status.
fwSensors [WFS_SIU_GENERALINPUTPORT]
Specifies whether the General-Purpose Input Port should report whenever it detects changes to
any one of the General-Purpose Input Ports. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The General-Purpose Input Port should
report whenever any General-Purpose Input
Port is turned on or off.
WFS_SIU_DISABLE_EVENT The General-Purpose Input Port should not
report any changes of its status.
fwSensors [WFS_SIU_HEADSETMICROPHONE]
Specifies whether the Microphone Jack should report whenever it detects changes in the
microphone jack. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Microphone Jack should report
whenever it detects a headset microphone
being connected or disconnected.
WFS_SIU_DISABLE_EVENT The Microphone Jack should not report any
change in headset microphone connection
state.
fwDoors [...]
Specifies which of the doors should report changes. A number of door types are defined below.
Vendor specific doors are defined starting from the end of the array. The maximum door index is
WFS_SIU_DOORS_MAX.
41
CWA 16926-10:2015 (E)
fwDoors [WFS_SIU_CABINET]
Specifies whether the Cabinet Doors should report whenever the doors are opened, closed, bolted
or locked. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Cabinet Doors should report whenever
the doors are opened, closed, locked or
bolted.
WFS_SIU_DISABLE_EVENT The Cabinet Doors sensor should not report
any changes of the doors status.
fwDoors [WFS_SIU_SAFE]
Specifies whether the Safe Doors should report whenever the doors are opened, closed, bolted or
locked. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Safe Doors should report whenever the
doors are opened, closed, locked or bolted.
WFS_SIU_DISABLE_EVENT The Safe Doors should not report any
changes of the doors status.
fwDoors [WFS_SIU_VANDALSHIELD]
Specifies whether the Vandal Shield should report whenever the shield changed position.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Vandal Shield should report whenever
the doors are opened or closed.
WFS_SIU_DISABLE_EVENT The Vandal Shield should not report any
changes of the status.
fwDoors [WFS_SIU_CABINET_FRONT]
Specifies whether the Front Cabinet Doors should report whenever the front doors are opened,
closed, bolted or locked. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Front Cabinet Doors should report
whenever the doors are opened, closed,
locked or bolted.
WFS_SIU_DISABLE_EVENT The Front Cabinet Doors sensor should not
report any changes of the doors status.
fwDoors [WFS_SIU_CABINET_REAR]
Specifies whether the Rear Cabinet Doors should report whenever the rear doors are opened,
closed, bolted or locked. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Rear Cabinet Doors should report
whenever the doors are opened, closed,
locked or bolted.
WFS_SIU_DISABLE_EVENT The Rear Cabinet Doors sensor should not
report any changes of the doors status.
fwDoors [WFS_SIU_CABINET_LEFT]
Specifies whether the Left Cabinet Doors should report whenever the left doors are opened,
closed, bolted or locked. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
42
CWA 16926-10:2015 (E)
43
CWA 16926-10:2015 (E)
44
CWA 16926-10:2015 (E)
fwAuxiliaries[WFS_SIU_UPS]
Specifies whether the UPS device should report whenever it is changed. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The UPS device should report whenever it is
changed.
WFS_SIU_DISABLE_EVENT The UPS device should not report any
changes.
fwAuxiliaries[WFS_SIU_REMOTE_STATUS_MONITOR]
Specifies whether the Remote Status Monitor device should report whenever it is changed.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Remote Status Monitor device should
report whenever it is changed.
WFS_SIU_DISABLE_EVENT The Remote Status Monitor device should
not report any changes.
fwAuxiliaries[WFS_SIU_AUDIBLE_ALARM]
Specifies whether the Audible Alarm device should report whenever it is changed. Specified as
one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Audible Alarm device should report
whenever it is changed.
WFS_SIU_DISABLE_EVENT The Audible Alarm device should not report
any changes.
fwAuxiliaries [WFS_SIU_ENHANCEDAUDIOCONTROL]
Specifies whether the Enhanced Audio Controller should report whenever it changes status
(assuming the device is capable of generating events). Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Enhanced Audio Controller should
report whenever it is changed.
WFS_SIU_DISABLE_EVENT The Enhanced Audio Controller device
should not report any changes.
fwAuxiliaries [WFS_SIU_ENHANCEDMICROPHONECONTROL]
Specifies whether the Enhanced Microphone Controller should report whenever it changes status
(assuming the device is capable of generating events). Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Enhanced Microphone Controller should
report whenever it is changed.
WFS_SIU_DISABLE_EVENT The Enhanced Microphone Controller device
should not report any changes.
fwAuxiliaries[WFS_SIU_MICROPHONEVOLUME]
Specifies whether the Microphone Volume Control device should report whenever it is changed.
Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current reporting status.
WFS_SIU_ENABLE_EVENT The Microphone Volume Control device
should report whenever it is changed.
45
CWA 16926-10:2015 (E)
46
CWA 16926-10:2015 (E)
lpszExtra
Pointer to a list of vendor-specific, or any other extended, information. The information is returned
as a series of “key=value” strings so that it is easily extensible by Service Providers. Each string
is null-terminated, with the final string terminating with two null characters. An empty list may be
indicated by either a NULL pointer or a pointer to two consecutive null characters.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_INVALID_PORT An attempt to enable or disable events to a
port was invalid because the port does not
exist.
WFS_ERR_SIU_SYNTAX The command was invoked with incorrect
input data. E.g. an attempt to both enable and
disable events to the same port was made.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while enabling or disabling
events on one or more ports.
Comments No action has been taken if this command returns an error. If a hardware error occurs while
executing the command, the command will return OK, but execute event(s) will be generated which
indicate(s) the port(s) which have failed.
47
CWA 16926-10:2015 (E)
5.2 WFS_CMD_SIU_SET_PORTS
Description This command is used to set or clear one or more output ports (indicators) in the Sensors and
Indicators Unit.
Input Param LPWFSSIUSETPORTS lpSetPorts;
typedef struct _wfs_siu_set_ports
{
WORD fwDoors [WFS_SIU_DOORS_SIZE];
WORD fwIndicators [WFS_SIU_INDICATORS_SIZE];
WORD fwAuxiliaries [WFS_SIU_AUXILIARIES_SIZE];
WORD fwGuidLights [WFS_SIU_GUIDLIGHTS_SIZE];
LPSTR lpszExtra;
} WFSSIUSETPORTS, *LPWFSSIUSETPORTS;
fwDoors [WFS_SIU_CABINET]
Specifies whether all Cabinet Doors should be bolted or unbolted. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the
Cabinet Doors.
WFS_SIU_BOLT All Cabinet Doors are bolted.
WFS_SIU_UNBOLT All Cabinet Doors are unbolted.
fwDoors [WFS_SIU_SAFE]
Specifies whether the Safe Doors should be bolted or unbolted. Specified as one of the following
flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the Safe
Doors.
WFS_SIU_BOLT The Safe Doors are bolted.
WFS_SIU_UNBOLT The Safe Doors are unbolted.
fwDoors [WFS_SIU_VANDALSHIELD]
Specifies whether the Vandal Shield should change position. Specified as one of the following
flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current position of the
Vandal Shield.
WFS_SIU_CLOSED The Vandal Shield is closed.
WFS_SIU_OPEN The Vandal Shield is opened.
WFS_SIU_SERVICE The Vandal Shield is set in service position.
WFS_SIU_KEYBOARD The Vandal Shield is set in position that
permits access to the keyboard.
fwDoors [WFS_SIU_CABINET_FRONT]
Specifies whether the Front Cabinet Doors should be bolted or unbolted. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the Front
Cabinet Doors.
WFS_SIU_BOLT All Front Cabinet Doors are bolted.
WFS_SIU_UNBOLT All Front Cabinet Doors are unbolted.
fwDoors [WFS_SIU_CABINET_REAR]
Specifies whether the Rear Cabinet Doors should be bolted or unbolted. Specified as one of the
following flags:
48
CWA 16926-10:2015 (E)
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the Rear
Cabinet Doors.
WFS_SIU_BOLT All Rear Cabinet Doors are bolted.
WFS_SIU_UNBOLT All Rear Cabinet Doors are unbolted.
fwDoors [WFS_SIU_CABINET_LEFT]
Specifies whether the Left Cabinet Doors should be bolted or unbolted. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the Left
Cabinet Doors.
WFS_SIU_BOLT All Left Cabinet Doors are bolted.
WFS_SIU_UNBOLT All Left Cabinet Doors are unbolted.
fwDoors [WFS_SIU_CABINET_RIGHT]
Specifies whether the Right Cabinet Doors should be bolted or unbolted. Specified as one of the
following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the Right
Cabinet Doors.
WFS_SIU_BOLT All Right Cabinet Doors are bolted.
WFS_SIU_UNBOLT All Right Cabinet Doors are unbolted.
fwIndicators [WFS_SIU_OPENCLOSE]
Specifies whether the Open/Closed Indicator should show Open or Close to a consumer. Specified
as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the
Open/Closed Indicator.
WFS_SIU_CLOSED The Open/Closed Indicator is changed to
show that the terminal is closed for a
consumer.
WFS_SIU_OPEN The Open/Closed Indicator is changed to
show that the terminal is open to be used by
a consumer.
fwIndicators [WFS_SIU_FASCIALIGHT]
Specifies whether the Fascia Lights should be turned on or off. Specified as one of the following
flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the current status of the light.
WFS_SIU_OFF The Fascia Light is turned off.
WFS_SIU_ON The Fascia Light is turned on.
fwIndicators [WFS_SIU_AUDIO]
Specifies whether the Audio Indicator should be turned on or off. Specified as one of the following
flags of type A and B, or as WFS_SIU_CONTINUOUS in combination with one of the flags of
type B:
Value Meaning Type
WFS_SIU_NO_CHANGE Do not change the current status A
of the Audio Indicator.
WFS_SIU_OFF The Audio Indicator is turned off. A
WFS_SIU_KEYPRESS The Audio Indicator sounds a key B
click signal.
WFS_SIU_EXCLAMATION The Audio Indicator sounds an B
exclamation signal.
WFS_SIU_WARNING The Audio Indicator sounds a B
warning signal.
49
CWA 16926-10:2015 (E)
50
CWA 16926-10:2015 (E)
51
CWA 16926-10:2015 (E)
fwAuxiliaries [WFS_SIU_ENHANCEDAUDIOCONTROL]
Specifies whether the state of the Enhanced Audio Controller should be changed. Note that this
will only be acted upon for hardware environments that return
WFS_SIU_MODE_CONTROLLABLE for the WFS_SIU_ENHANCEDAUDIOCONTROL auxiliary
in the WFS_INF_SIU_CAPABILITIES command. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the status of the Enhanced
Audio Controller.
WFS_SIU_PUBLICAUDIO_MANUAL Set the Enhanced Audio Controller to manual
mode, public state (i.e. audio will be played
through speakers only).
WFS_SIU_PUBLICAUDIO_AUTO Set the Enhanced Audio Controller to auto
mode, public state (i.e. audio will be played
through speakers). When a Privacy Device is
activated (headset connected/handset off-
hook), the device will go to the private state.
WFS_SIU_PUBLICAUDIO_SEMI_AUTO Set the Enhanced Audio Controller to semi-
auto mode, public state (i.e. audio will be
played through speakers). When a Privacy
Device is activated, the device will go to the
private state.
WFS_SIU_PRIVATEAUDIO_MANUAL Set the Enhanced Audio Controller to manual
mode, private state (i.e. audio will be played
only through a connected Privacy Device). In
private mode, no audio is transmitted
through the speakers.
WFS_SIU_PRIVATEAUDIO_AUTO Set the Enhanced Audio Controller to auto
mode, private state (i.e. audio will be played
only through an activated Privacy Device). In
private mode, no audio is transmitted
through the speakers. When a Privacy
Device is deactivated (headset
disconnected/handset on-hook), the device
will go to the public state.
WFS_SIU_PRIVATEAUDIO_SEMI_AUTO Set the Enhanced Audio Controller to semi-
auto mode, private state (i.e. audio will be
played only through an activated Privacy
Device). In private mode, no audio is
transmitted through the speakers. When a
Privacy Device is deactivated, the device will
remain in the private state.
fwAuxiliaries [WFS_SIU_ENHANCEDMICROPHONECONTROL]
Specifies whether the state of the Enhanced Microphone Controller should be changed. Note that
this will only be acted upon for hardware environments that return
WFS_SIU_MODE_CONTROLLABLE for the WFS_SIU_ENHANCEDMICROPHONECONTROL
auxiliary in the WFS_INF_SIU_CAPABILITIES command. Specified as one of the following flags:
Value Meaning
WFS_SIU_NO_CHANGE Do not change the status of the Enhanced
Microphone Controller.
WFS_SIU_PUBLICAUDIO_MANUAL Set the Enhanced Microphone Controller to
manual mode, public state (i.e. only the
microphone in the fascia is active).
WFS_SIU_PUBLICAUDIO_AUTO Set the Enhanced Microphone Controller to
auto mode, public state (i.e. only the
microphone in the fascia is active). When a
Privacy Device with a microphone is
activated (headset connected/handset off-
hook), the device will go to the private state.
52
CWA 16926-10:2015 (E)
53
CWA 16926-10:2015 (E)
fwGuidLights [WFS_SIU_PINPAD]
Specifies the state of the Guidance Light Indicator on the PIN pad unit.
fwGuidLights [WFS_SIU_NOTESDISPENSER]
Specifies the state of the Guidance Light Indicator on the note dispenser unit.
fwGuidLights [WFS_SIU_COINDISPENSER]
Specifies the state of the Guidance Light Indicator on the coin dispenser unit.
fwGuidLights [WFS_SIU_RECEIPTPRINTER]
Specifies the state of the Guidance Light Indicator on the receipt printer unit.
fwGuidLights [WFS_SIU_PASSBOOKPRINTER]
Specifies the state of the Guidance Light Indicator on the passbook printer unit.
fwGuidLights [WFS_SIU_ENVDEPOSITORY]
Specifies the state of the Guidance Light Indicator on the envelope depository unit.
fwGuidLights [WFS_SIU_CHEQUEUNIT]
Specifies the state of the Guidance Light Indicator on the cheque processing unit.
fwGuidLights [WFS_SIU_BILLACCEPTOR]
Specifies the state of the Guidance Light Indicator on the bill acceptor unit.
fwGuidLights [WFS_SIU_ENVDISPENSER]
Specifies the state of the Guidance Light Indicator on the envelope dispenser unit.
fwGuidLights [WFS_SIU_DOCUMENTPRINTER]
Specifies the state of the Guidance Light Indicator on the document printer.
fwGuidLights [WFS_SIU_COINACCEPTOR]
Specifies the state of the Guidance Light Indicator on the coin acceptor.
fwGuidLights [WFS_SIU_SCANNER]
Specifies the state of the Guidance Light Indicator on the scanner unit.
lpszExtra
Pointer to a list of vendor-specific, or any other extended, information. The information is returned
as a series of “key=value” strings so that it is easily extensible by Service Providers. Each string
is null-terminated, with the final string terminating with two null characters. An empty list may be
indicated by either a NULL pointer or a pointer to two consecutive null characters.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_INVALID_PORT An attempt to set a port to a new value was
invalid because the port does not exist or the
port is pre-configured as an input port.
WFS_ERR_SIU_SYNTAX The command was invoked with incorrect
input data.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while attempting to set or
clear one or more output ports (indicators).
Comments No action has been taken if this command returns an error. If a hardware error occurs while
executing the command, the command will return OK, but execute event(s) will be generated which
indicate(s) the port(s) which have failed.
54
CWA 16926-10:2015 (E)
5.3 WFS_CMD_SIU_SET_DOOR
Description This command is used to set the status of one of the doors.
Input Param LPWFSSIUSETDOOR lpSetDoor;
typedef struct _wfs_siu_set_door
{
WORD wDoor;
WORD fwCommand;
} WFSSIUSETDOOR, *LPWFSSIUSETDOOR;
wDoor
Specifies the index of the door to set as one of the following values:
Value Meaning
WFS_SIU_CABINET Bolt/unbolt all Cabinet Doors.
WFS_SIU_SAFE Bolt/unbolt the Safe Doors.
WFS_SIU_VANDALSHIELD Set position of the Vandal Shield.
WFS_SIU_CABINET_FRONT Bolt/unbolt all Front Cabinet Doors.
WFS_SIU_CABINET_REAR Bolt/unbolt all Rear Cabinet Doors.
WFS_SIU_CABINET_LEFT Bolt/unbolt all Left Cabinet Doors.
WFS_SIU_CABINET_RIGHT Bolt/unbolt all Right Cabinet Doors.
fwCommand
Specifies if the Cabinet or Safe doors should be bolted or unbolted or if the position of the Vandal
Shield should be changed, as one of the following flags:
Value Meaning
WFS_SIU_BOLT Bolt the Safe or Cabinet Doors.
WFS_SIU_UNBOLT Unbolt the Safe or Cabinet Doors.
WFS_SIU_OPEN Open the Vandal Shield.
WFS_SIU_SERVICE Position the Vandal Shield in service
position.
WFS_SIU_KEYBOARD Position the Vandal Shield to permit access
to the keyboard.
WFS_SIU_CLOSED Close the Vandal Shield.
See WFS_CMD_SIU_SET_PORTS command for a detailed description.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_INVALID_PORT An attempt to set a port to a new value was
invalid because the port does not exist or the
port is pre-configured as an input port.
WFS_ERR_SIU_SYNTAX The command was invoked with incorrect
input data.
WFS_ERR_SIU_PORT_ERROR A hardware error occurred while executing
the command.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while attempting to set the
status of the door.
Comments None.
55
CWA 16926-10:2015 (E)
5.4 WFS_CMD_SIU_SET_INDICATOR
wIndicator
Specifies the index of the indicator to set as one of the following values:
Value Meaning
WFS_SIU_OPENCLOSE Set Open/Close Indicator for the consumer.
WFS_SIU_FASCIALIGHT Turn on/off the Fascia Light.
WFS_SIU_AUDIO Turn on/off the Audio Indicator.
WFS_SIU_HEATING Turn on/off the Heating device.
WFS_SIU_CONSUMER_DISPLAY_BACKLIGHT
Turn on/off the Consumer Display Backlight.
WFS_SIU_SIGNAGEDISPLAY Turn on/off the Signage Display device.
WFS_SIU_TRANSINDICATOR Turn on/off the Transaction Indicators.
WFS_SIU_GENERALOUTPUTPORT Turn on/off the General-Purpose Output
Ports.
fwCommand
Specifies the commands for the Open/Close Indicator, Fascia Light, Audio Indicator, Heating
device, Consumer Display Backlight, Signage Display and General-Purpose Output Ports as one of
the following flags:
Value Meaning
WFS_SIU_CLOSED The Open/Close Indicator is changed to
show that the terminal is closed for a
consumer.
WFS_SIU_OPEN The Open/Close Indicator is changed to
show that the terminal is open to be used by
a consumer.
WFS_SIU_KEYPRESS The Audio Indicator sounds a key click
signal.
WFS_SIU_EXCLAMATION The Audio Indicator sounds an exclamation
signal.
WFS_SIU_WARNING The Audio Indicator sounds a warning
signal.
WFS_SIU_ERROR The Audio Indicator sounds an error signal.
WFS_SIU_CRITICAL The Audio Indicator sounds a critical error
signal.
WFS_SIU_CONTINUOUS The Audio Indicator sound is turned on
continuously.
WFS_SIU_OFF The Audio Indicator, Fascia Light, Heating
device, Consumer Display Backlight or
Signage Display is turned off.
WFS_SIU_ON The Fascia Light, Heating device, Consumer
Display Backlight or Signage Display is
turned on.
For Transaction Indicators specifies whether the Transaction Indicators should be turned on or
off. All Transaction Indicators must be specified and each bit of this value represents one
Transaction Indicator. Each bit is specified as one of the following binary values:
Value Meaning
0 The Transaction Indicator is turned off.
56
CWA 16926-10:2015 (E)
57
CWA 16926-10:2015 (E)
5.5 WFS_CMD_SIU_SET_AUXILIARY
wAuxiliary
Specifies the index of the auxiliary indicator to set as one of the following values:
Value Meaning
WFS_SIU_VOLUME Set the value of the Volume Control.
WFS_SIU_UPS Set the value of the UPS.
WFS_SIU_REMOTE_STATUS_MONITOR Set the value of the Remote Status Monitor.
WFS_SIU_AUDIBLE_ALARM Set the value of the Audible Alarm.
WFS_SIU_ENHANCEDAUDIOCONTROL Set the value of the Enhanced Audio
Controller.
WFS_SIU_ENHANCEDMICROPHONECONTROL Set the value of the Enhanced
Microphone Controller.
WFS_SIU_MICROPHONEVOLUME Set the value of the Microphone Volume
Control.
fwCommand
It specifies the values for the auxiliary specified by wAuxiliary. Specified as one of the following
values:
Value Meaning
1, ..., 1000 The volume level. This field is handled as an
unsigned short. If a value greater than 1000 is
used, the provider will map the value to 1000.
WFS_SIU_ENGAGE Engage the UPS.
WFS_SIU_DISENGAGE Disengage the UPS.
WFS_SIU_GREEN_LED_ON Turn on the green LED on the Remote Status
Monitor.
WFS_SIU_GREEN_LED_OFF Turn off the green LED on the Remote Status
Monitor.
WFS_SIU_AMBER_LED_ON Turn on the amber LED on the Remote Status
Monitor.
WFS_SIU_AMBER_LED_OFF Turn off the amber LED on the Remote Status
Monitor.
WFS_SIU_RED_LED_ON Turn on the red LED on the Remote Status
Monitor.
WFS_SIU_RED_LED_OFF Turn off the red LED on the Remote Status
Monitor.
WFS_SIU_OFF Turn off the Audible Alarm.
WFS_SIU_ON Turn on the Audible Alarm.
WFS_SIU_PUBLICAUDIO_MANUAL Set the Enhanced Audio or Microphone
Controller to manual mode, public state (i.e.
audio will be played through speakers only).
WFS_SIU_PUBLICAUDIO_AUTO Set the Enhanced Audio or Microphone
Controller to auto mode, public state (i.e.
audio will be played through speakers).
When a Privacy Device is activated (headset
connected/handset off-hook), the device will
go to the private state.
58
CWA 16926-10:2015 (E)
59
CWA 16926-10:2015 (E)
60
CWA 16926-10:2015 (E)
5.6 WFS_CMD_SIU_SET_GUIDLIGHT
Description This command is used to set the status of a guidance light indicator.
Input Param LPWFSSIUSETGUIDLIGHT lpSetGuidLight;
typedef struct _wfs_siu_set_guidlight
{
WORD wGuidLight;
WORD fwCommand;
} WFSSIUSETGUIDLIGHT, *LPWFSSIUSETGUIDLIGHT;
wGuidLight
Specifies the index of the guidance light indicator to set as one of the following values:
Value Meaning
WFS_SIU_CARDUNIT Set the state of the Guidance Light Indicator
on the Card Unit (IDC).
WFS_SIU_PINPAD Set the state of the Guidance Light Indicator
on the PIN pad unit.
WFS_SIU_NOTESDISPENSER Set the state of the Guidance Light Indicator
on the note dispenser unit.
WFS_SIU_COINDISPENSER Set the state of the Guidance Light Indicator
on the coin dispenser unit.
WFS_SIU_RECEIPTPRINTER Set the state of the Guidance Light Indicator
on the receipt printer unit.
WFS_SIU_PASSBOOKPRINTER Set the state of the Guidance Light Indicator
on the passbook printer unit.
WFS_SIU_ENVDEPOSITORY Set the state of the Guidance Light Indicator
on the envelope depository unit.
WFS_SIU_CHEQUEUNIT Set the state of the Guidance Light Indicator
on the cheque processing unit.
WFS_SIU_BILLACCEPTOR Set the state of the Guidance Light Indicator
on the bill acceptor unit.
WFS_SIU_ENVDISPENSER Set the state of the Guidance Light Indicator
on the envelope dispenser unit.
WFS_SIU_DOCUMENTPRINTER Set the state of the Guidance Light Indicator
on the document printer.
WFS_SIU_COINACCEPTOR Set the state of the Guidance Light Indicator
on the coin acceptor.
WFS_SIU_SCANNER Set the state of the Guidance Light Indicator
on the scanner.
fwCommand
Specifies the state of the Guidance Light Indicators, as one of the following flags:
Value Meaning
WFS_SIU_OFF The Guidance Light Indicator is turned off.
WFS_SIU_SLOW_FLASH The Guidance Light Indicator is set to flash
slowly.
WFS_SIU_MEDIUM_FLASH The Guidance Light Indicator is set to flash
at a medium frequency.
WFS_SIU_QUICK_FLASH The Guidance Light Indicator is set to flash
quickly.
WFS_SIU_CONTINUOUS The Guidance Light Indicator is turned on
continuously (steady).
See WFS_CMD_SIU_SET_PORTS command for a detailed description.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
61
CWA 16926-10:2015 (E)
Value Meaning
WFS_ERR_SIU_INVALID_PORT An attempt to set a port to a new value was
invalid because the port does not exist or the
port is pre-configured as an input port.
WFS_ERR_SIU_SYNTAX The command was invoked with incorrect
input data.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while attempting to set or
clear one or more output ports (indicators).
Comments The slow and medium flash rates must not be greater than 2.0 Hz. It should be noted that in order
to comply with American Disabilities Act guidelines only a slow or medium flash rate must be
used.
62
CWA 16926-10:2015 (E)
5.7 WFS_CMD_SIU_RESET
Description This command is used by the application to perform a hardware reset which will attempt to return
the SIU devices to a known good state. This command does not over-ride a lock obtained on
another application or service handle.
Input Param None.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_PORT_ERROR A hardware error occurred while executing
the command.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_EXEE_SIU_PORT_ERROR An error occurred while attempting to set or
clear one or more output ports (indicators).
Comments None.
63
CWA 16926-10:2015 (E)
5.8 WFS_CMD_SIU_POWER_SAVE_CONTROL
usMaxPowerSaveRecoveryTime
Specifies the maximum number of seconds in which the device must be able to return to its normal
operating state when exiting power save mode. The device will be set to the highest possible
power save mode within this constraint. If usMaxPowerSaveRecoveryTime is set to zero then the
device will exit the power saving mode.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_POWERSAVETOOSHORT The power saving mode has not been
activated because the device is not able to
resume from the power saving mode within
the specified
usMaxPowerSaveRecoveryTime value.
Events In addition to the generic events defined in [Ref. 1], the following events can be generated by this
command:
Value Meaning
WFS_SRVE_SIU_POWER_SAVE_CHANGE The power save recovery time has changed.
Comments None.
64
CWA 16926-10:2015 (E)
5.9 WFS_CMD_SIU_SET_AUTOSTARTUP_TIME
Description This command is used to set the time at which the machine will automatically start. It is also used
to disable automatic start-up.
If a new start-up time is set by this command it will replace any previously set start-up time.
Before the auto start-up can take place the operating system must be shut down.
Input Param LPWFSSIUSETSTARTUPTIME lpSetStartupTime;
typedef struct _wfs_siu_set_startup_time
{
WORD wMode;
LPSYSTEMTIME lpStartTime;
} WFSSIUSETSTARTUPTIME, *LPWFSSIUSETSTARTUPTIME;
wMode
Specifies the mode of the auto start-up control as one of the following flags.
Value Meaning
WFS_SIU_AUTOSTARTUP_CLEAR Disables the previously set automatic start-
up time. The lpStartTime input parameter is
ignored if this mode is set.
WFS_SIU_AUTOSTARTUP_SPECIFIC One-time auto start-up at a specific time on a
specific date. In the lpStartTime parameter,
wYear, wMonth, wDay, wHour and wMinute
must be set and all other fields are ignored.
WFS_SIU_AUTOSTARTUP_DAILY Auto start-up at the same time every day. In
the lpStartTime parameter, wHour and
wMinute must be set and all other fields are
ignored.
WFS_SIU_AUTOSTARTUP_WEEKLY Auto start-up at a specified time on a specific
day of every week. In the lpStartTime
parameter, wDayOfWeek, wHour and
wMinute must be set and all other fields are
ignored.
lpStartTime
Specifies the auto start-up time.
Win32 SYSTEMTIME structure:
wYear
Specifies the year. This value is ignored if it is not relevant to the wMode value.
wMonth
Specifies the month. This value is ignored if it is not relevant to the wMode value.
wDayOfWeek
Specifies the day of the week, in values from 0 (Sunday) to 6 (Saturday). This value is ignored if
it is not relevant to the wMode value.
wDay
Specifies the day of the month. This value is ignored if it is not relevant to the wMode value.
wHour
Specifies the hour. This value is ignored if it is not relevant to the wMode value.
wMinute
Specifies the minute. This value is ignored if it is not relevant to the wMode value.
wSecond
This field is not used and must be zero.
65
CWA 16926-10:2015 (E)
wMilliseconds
This field is not used and must be zero.
Output Param None.
Error Codes Only the generic error codes defined in [Ref. 1] can be generated by this command.
Events None.
Comments None.
66
CWA 16926-10:2015 (E)
5.10 WFS_CMD_SIU_SYNCHRONIZE_COMMAND
Description This command is used to reduce response time of a command (e.g. for synchronization with
display) as well as to synchronize actions of the different device classes. This command is
intended to be used only on hardware which is capable of synchronizing functionality within a
single device class or with other device classes.
The list of execute commands which this command supports for synchronization is retrieved in the
lpdwSynchronizableCommands parameter of the WFS_INF_SIU_CAPABILITIES.
This command is optional, i.e, any other command can be called without having to call it in
advance. Any preparation that occurs by calling this command will not affect any other
subsequent command. However, any subsequent execute command other than the one that was
specified in the dwCommand input parameter will execute normally and may invalidate the pending
synchronization. In this case the application should call the
WFS_CMD_SIU_SYNCHRONIZE_COMMAND again in order to start a synchronization.
Input Param LPWFSSIUSYNCHRONIZECOMMAND lpSynchronizeCommand;
typedef struct _wfs_siu_synchronize_command
{
DWORD dwCommand;
LPVOID lpCmdData;
} WFSSIUSYNCHRONIZECOMMAND, *LPWFSSIUSYNCHRONIZECOMMAND;
dwCommand
The command ID of the command to be synchronized and executed next.
lpCmdData
Pointer to data or a data structure that represents the parameter that is normally associated with
the command that is specified in dwCommand. For example, if dwCommand is
WFS_CMD_SIU_SET_INDICATOR then lpCmdData will point to a WFSSIUSETINDICATOR
structure. This parameter can be NULL if no command input parameter is needed or if this detail is
not needed to synchronize for the command.
It will be device-dependent whether the synchronization is effective or not in the case where the
application synchronizes for a command with this command specifying a parameter but
subsequently executes the synchronized command with a different parameter. This case should
not result in an error; however, the preparation effect could be different from what the application
expects. The application should, therefore, make sure to use the same parameter between
lpCmdData of this command and the subsequent corresponding execute command.
Output Param None.
Error Codes In addition to the generic error codes defined in [Ref. 1], the following error codes can be
generated by this command:
Value Meaning
WFS_ERR_SIU_COMMANDUNSUPP The command specified in the dwCommand
field is not supported by the Service
Provider.
WFS_ERR_SIU_SYNCHRONIZEUNSUPP The preparation for the command specified in
the dwCommand with the parameter
specified in the lpCmdData is not supported
by the Service Provider.
Events Only the generic events defined in [Ref. 1] can be generated by this command.
Comments For sample flows of this synchronization see the [Ref 1] Appendix C.
67
CWA 16926-10:2015 (E)
6. Events
6.1 WFS_SRVE_SIU_PORT_STATUS
Description This event id is used to specify that a port has changed its state, due to the result of a command or
to some external condition. Reporting of this event is controlled by the
WFS_CMD_SIU_ENABLE_EVENTS command. Event reporting is disabled as a default situation.
Event Param LPWFSSIUPORTEVENT lpPortEvent;
typedef struct _wfs_siu_port_event
{
WORD wPortType;
WORD wPortIndex;
WORD wPortStatus;
LPSTR lpszExtra;
} WFSSIUPORTEVENT, *LPWFSSIUPORTEVENT;
wPortType
Specifies the type of sensors and indicators that has changed state by one of the following flags:
Value Meaning
WFS_SIU_SENSORS A port in the input sensors has changed
state.
WFS_SIU_DOORS A port in the door sensors has changed
state.
WFS_SIU_INDICATORS A port in the indicators has changed state.
WFS_SIU_AUXILIARIES A port in the auxiliary indicators has changed
state.
WFS_SIU_GUIDLIGHTS A port in the guidance lights has changed
state.
wPortIndex
Specifies the index of the port that has changed state by one of the following values:
Value Meaning
WFS_SIU_OPERATORSWITCH The Operator Switch has changed its state.
WFS_SIU_TAMPER The Tamper Sensor has changed its state.
WFS_SIU_INTTAMPER The Internal Tamper Sensor has changed its
state.
WFS_SIU_SEISMIC The Seismic Sensor has changed its state.
WFS_SIU_HEAT The Heat Sensor has changed its state.
WFS_SIU_PROXIMITY The Proximity Sensor has changed its state.
WFS_SIU_AMBLIGHT The Ambient Light Sensor has changed its
state.
WFS_SIU_ENHANCEDAUDIO The Audio Jack has changed its state (a
headset has been plugged-in or removed).
WFS_SIU_BOOT_SWITCH The Boot Switch Sensor has changed its
state.
WFS_SIU_CONSUMER_DISPLAY The Consumer Display Sensor has changed
its state.
WFS_SIU_OPERATOR_CALL_BUTTON The Operator Call Button has changed its
state.
WFS_SIU_HANDSETSENSOR The Handset Sensor has changed its state.
WFS_SIU_GENERALINPUTPORT At least one of the General-Purpose Input
Ports has changed its state. The status
should be checked to determine which
General-Purpose Input Port has changed its
state.
68
CWA 16926-10:2015 (E)
69
CWA 16926-10:2015 (E)
70
CWA 16926-10:2015 (E)
6.2 WFS_EXEE_SIU_PORT_ERROR
Description This event is used to specify that a port has detected an error.
Event Param LPWFSSIUPORTERROR lpPortError;
typedef struct _wfs_siu_port_error
{
WORD wPortType;
WORD wPortIndex;
HRESULT PortError;
WORD wPortStatus;
LPSTR lpszExtra;
} WFSSIUPORTERROR, *LPWFSSIUPORTERROR;
wPortType
Specifies the type of sensors and indicators that has detected an error by one of the following
flags:
Value Meaning
WFS_SIU_SENSORS A port in the input sensors has detected an
error.
WFS_SIU_DOORS A port in the door sensors has detected an
error.
WFS_SIU_INDICATORS A port in the indicators has detected an error.
WFS_SIU_AUXILIARIES A port in the auxiliary Indicators has
detected an error.
WFS_SIU_GUIDLIGHTS A port in the guidance lights has detected an
error.
wPortIndex
Specifies the index of the port that has detected an error by one of the following values:
Value Meaning
WFS_SIU_OPERATORSWITCH The Operator Switch has detected an error.
WFS_SIU_TAMPER The Tamper Sensor has detected an error.
WFS_SIU_INTTAMPER The internal Tamper Sensor has detected an
error.
WFS_SIU_SEISMIC The Seismic Sensor has detected an error.
WFS_SIU_HEAT The Heat Sensor has detected an error.
WFS_SIU_PROXIMITY The Proximity Sensor has detected an error.
WFS_SIU_AMBLIGHT The Ambient Light Sensor has detected an
error.
WFS_SIU_ENHANCEDAUDIO The Audio Jack Sensor has detected an error.
WFS_SIU_BOOT_SWITCH The Boot Switch Sensor has detected an
error.
WFS_SIU_CONSUMER_DISPLAY The Consumer Display has detected an error.
WFS_SIU_OPERATOR_CALL_BUTTON The Operator Call Button has detected an
error.
WFS_SIU_HANDSETSENSOR The Handset Sensor has detected an error.
WFS_SIU_GENERALINPUTPORT The General-Purpose Input Port has detected
an error.
WFS_SIU_HEADSETMICROPHONE The Microphone Jack Sensor has detected
an error.
71
CWA 16926-10:2015 (E)
73
CWA 16926-10:2015 (E)
6.3 WFS_SRVE_SIU_POWER_SAVE_CHANGE
Description This service event specifies that the power save recovery time has changed.
Event Param LPWFSSIUPOWERSAVECHANGE lpPowerSaveChange;
typedef struct _wfs_siu_power_save_change
{
USHORT usPowerSaveRecoveryTime;
} WFSSIUPOWERSAVECHANGE, *LPWFSSIUPOWERSAVECHANGE;
usPowerSaveRecoveryTime
Specifies the actual number of seconds required by the device to resume its normal operational
state. This value is zero if the device exited the power saving mode.
Comments None.
74
CWA 16926-10:2015 (E)
7. C - Header file
/******************************************************************************
* *
* xfssiu.h XFS - Sensors and Indicators Unit (SIU) definitions *
* *
* Version 3.30 (March 19 2015) *
* *
******************************************************************************/
#ifndef __INC_XFSSIU__H
#define __INC_XFSSIU__H
#ifdef __cplusplus
extern "C" {
#endif
#include <xfsapi.h>
/* be aware of alignment */
#pragma pack (push, 1)
/* values of WFSSIUCAPS.wClass */
/* SIU Messages */
/* Values of WFSSIUSTATUS.fwDevice */
75
CWA 16926-10:2015 (E)
76
CWA 16926-10:2015 (E)
WFSSIUENABLE.fwDoors [...]
WFSSIUSETPORTS.fwDoors [...]
WFSSIUSETDOOR.wDoor
WFSSIUPORTEVENT.wPortIndex
WFSSIUPORTERROR.wPortIndex */
77
CWA 16926-10:2015 (E)
78
CWA 16926-10:2015 (E)
79
CWA 16926-10:2015 (E)
WFSSIUSTATUS.fwGuidLights [...]
WFSSIUCAPS.fwSensors [...]
WFSSIUCAPS.fwIndicators [...]
WFSSIUCAPS.fwGuidLights [...]
WFSSIUSETPORTS.fwIndicators [...]
WFSSIUSETPORTS.fwAuxiliaries [...]
WFSSIUSETPORTS.fwGuidLights [...]
WFSSIUSETINDICATOR.fwCommand [...]
WFSSIUSETAUXILIARY.fwCommand [...]
WFSSIUSETGUIDLIGHT.fwCommand [...]
WFSSIUPORTEVENT.wPortStatus
WFSSIUPORTERROR.wPortStatus */
80
CWA 16926-10:2015 (E)
WFSSIUCAPS.fwSensors [WFS_SIU_HANDSETSENSOR] */
/* Values of WFSSIUCAPS.fwType */
81
CWA 16926-10:2015 (E)
/* Values of WFSSIUCAPS.fwAutoStartupMode
WFSSIUSETSTARTUPTIME.wMode
WFSSIUGETSTARTUPTIME.wMode */
/* Values of WFSSIUSTATUS.wAntiFraudModule */
/*=================================================================*/
/* SIU Info Command Structures and variables */
/*=================================================================*/
82
CWA 16926-10:2015 (E)
/*=================================================================*/
/* SIU Execute Command Structures */
/*=================================================================*/
83
CWA 16926-10:2015 (E)
/*=================================================================*/
/* SIU Message Structures */
/*=================================================================*/
/* restore alignment */
#pragma pack (pop)
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /* __INC_XFSSIU__H */
84