WIN-PAK SE/PE API

COMMUNICATION SERVER API

Public Interface Document

WIN-PAK SE/PE Communication Server API

Public Interface Document

Release 6.2

2

© 2012 Honeywell International

Notices and Trademarks
Copyright 2012 by Honeywell International Inc. Release 6.2- July 2012

While this information is presented in good faith and believed to be accurate, Honeywell disclaims the implied warranties of merchantability and fitness for a particular purpose and makes no express warranties except as may be stated in its written agreement with and for its customers. In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The information and specifications in this document are subject to change without notice. WIN-PAK SE/PE™ is a registered trademark of Honeywell International Inc. Other brand or product names are trademarks of their respective owners.
© 2012 Honeywell Access Systems. All rights reserved.

Honeywell Access Systems 135 West Forest Hill Avenue Oak Creek, WI 53154 U.S.A

OFFICE HOURS: 8 AM to 5 PM (CST) PHONE: 414-766-1700 FAX: 414-766-1798 URL: http://www.honeywellaccess.com

Release 6.2

iii

© 2012 Honeywell International

Modification History
Version
1.0

Date
March 15 , 2012 May 9th 2012
th th

Author
Sathish Guru

Description
Initial Draft for WIN- PAK SE/PE Communication Server API Added the new functions and the document navigation Added the review comments Added the review comments and NetAXS IO Board statuses corrected Updated the Bookmarks and Page references

1.1

Sathish Guru

1.2 1.3 1.4

May 17 2012 July 10th 2012 July 30th 2012

Sathish Guru Sathish Guru Sathish Guru

Release 6.2

iv

© 2012 Honeywell International

............................ 24 HIDType ............................................................................................................................................................ 11 INSTALLING THE COMMUNICATION SERVER APIS .............................................................................................................................................................................................................................................................................................. 28 DisableDoorTimezone(put) ....................................................... 11 SUPPORTED OPERATING SYSTEMS ........................................Table of Contents ABOUT THIS DOCUMENT ........................................................................................................................................................................................................................................................................................................................................................................................................ 21 Before you start ............ 34 PINOnlyPriority(get)................................................................................ 10 COMPONENT MODEL DIAGRAM ............................................................................................................................................................................................................................................................................................................................................................... 36 CardOrPINPriority(get) ........................................................ VIII INTRODUCTION............................................................................................................................................................................................................. 30 PINOnlyTimezone(get) .................. 31 CardOrPINTimezone(get) ................................................................................................. 38 Release 6............................................................................... 12 Prerequisites for Installing the CommunicationAPIClient ..................................................................................................................................................................................................................................................................................................... 28 LockdownReaderTimezone(get) ...................................................................................................................................................................................................... 16 To Install the CommunicationAPIServer..................................................................................................................................................................................... 12 To Install the CommunicationAPIClient...................................................................................................................................................................................................................................................................................................................................................................................................... 35 CardAndPINPriority(put) .................................... 37 COMMUNICATION SERVER API FUNCTIONALITIES ................................................................................................................................................................................................................ 28 DisableDoorTimezone(get)............................. 29 LockdownReaderTimezone(put)................................................................................... 32 CardOrPINTimezone(put) ............................................................................................................. 16 CONNECTING THE API CLIENT AND THE API SERVER ....... 34 PINOnlyPriority(put) ................................................................................................................................................................ 26 OBJECT SPECIFICATIONS ................................................................................................... 21 COMMUNICATION SERVER APIS ................................................................. 33 CardAndPINTimezone(put) ....................................................................... 27 Properties ............................................................................................... 23 DATA STRUCTURES ......................................... 24 Device Structure .................. 25 HIDSubType1................................................................. 33 CardOnlyPriority(get) ........................ 29 CardOnlyTimezone(get) ................................................................... 35 CardAndPINPriority(get) ..................................................................................................................................................................... 10 OVERVIEW ................................................................................................................................................................................................... 23 OVERVIEW ................................................................................................................................................. 32 CardAndPINTimezone(get) ..... 24 Enumeration Types..... 36 CardOrPINPriority(put) ........................................................................................ 33 CardOnlyPriority(put) ......................... 24 wpviewTYPE ........................................................................................................................................................................................................................................................................................................................ 27 NETAXSDOORINFO ........................................................................................................................................................ 27 OVERVIEW ...............................................................................................................................................................2 v © 2012 Honeywell International .... 31 PINOnlyTimezone(put).................................................................... 25 panelInitTask ........... 30 CardOnlyTimezone(put) ............................................. 12 Prerequisites for Installing the CommunicationAPIServer .......................................................................................................................................................................................................................................................................................................................................................................................................................

........................................................ 43 AlarmShuntByHID ........................................................................................................................ 47 DoorModeByHID ........................................................................................................................................................................................... 49 AddFilterHID......................................... 69 Process Flow Diagram .................................................................................................................................................... 43 AlarmUnShuntByHID.................................................................................................................................... 44 TimedPulseByHID ..................................................................................................................................................................................................WIN-PAK SE/PE Communication Server API Public Interface Document ABSTRACT DEVICES STATUS DEFINITIONS ......... 73 Reader and Output Events ................................................................. 54 IsConnected ........................... 51 RemoveCommServerID .................................................................................................................... 50 GetFilterHIDs ......................................................................... 53 PanelCancelInitialize ....... 44 RestoreTZByHID........................................................................................... 75 Reader and Output Alarms............................................................................................................................................. 68 PROTOCOL PROCESS ................................................................ 61 COMMUNICATION SERVER CALLBACK PROTOCOL .................................................................................................................................................................. 81 Device Status ........................................................................... 50 RemoveFilterHID ......................................................................................................................................................... 52 GetFilterCommServerIDs .................... 78 Input Alarm . 39 AckAlarm........................................................................................................................................................................................................................................................................................................................................................................................ 84 Database Server Lost Connection ....... 48 Energize ............................................................................................................................................ 49 DeEnergize ................................................................... 44 PulseByHID ......................................... 38 DoneServer ..................................................................................... 42 EntryPointUnLockByID .............................................................. 85 Release 6......... 68 InitServer .............................................................................................................................................................................................. 40 AddNote... 66 OVERVIEW .................................................................................................................................................................................................................................................................................................... 70 Examples of Panel Notification Messages ..................................................................................................................................................................................................................................................................................... 46 UnBufferByHID ............................................................ 82 Communication Server Lost Connection ...................... 48 ListConnectedDevices ...... 75 Sample Code to Extract Information from the Notification Messages .............................................................................................................................................................................................................. 58 GetDoorStatus2 ...................................................................................................................................................................................................................2 vi © 2012 Honeywell International .................. 54 ExecuteDoorSchedule ............................................................................................... 59 EVENT CODE LIST .................................... 70 Tag Descriptions............................................................... 41 GetDetailsByID ............................................................................................................................................................................................................................................................... 56 GetStatus ..................................................................................... 40 ClrAlarm ................ 83 Communication Server Regained Connection .......... 79 Panel Event ......................................................................................................................................................................................................................................... 84 Examples of WIN-PAK SE/PE Notification Messages ................................................................................................................................................................................................................... 42 EntryPointLockByID ........................................................................................... 52 PanelInitialize .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 51 AddFilterCommServerID ............................................................................................................................................................................................................................................................................................................................................................................................ 77 Input Event....................................................................... 83 GLOSSARY ........................................................................................................................................................................................................................................................................................................................................................................................ 53 GetDefaultACRMode ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 69 NOTIFICATION MESSAGE TAGS .................................................................................................................................................................................. 55 GetNetAXSDoorModeByHID . 45 BufferByHID ...................................................................................................................................................................................................................................................................................................................................................................................... 84 Database Server Regained Connection ................. 56 SetNetAXSDoorModeByHID ......................................

......................... 86 Release 6.............................Table of Contents INDEX.........................................................................................2 vii © 2012 Honeywell International ...............

Intended Audience This document is intended for the developers of the Communication Server API Client application. this chapter explains the notification message tags and provides examples of the notification messages. In addition. Chapter Introduction Contents Gives an overview of the Communication Server APIs. Acronyms APB API COM DCOM MTS Descriptions AntiPassBack Application Programming Interface Component Object Model Distributed Component Object Model Microsoft Transaction Server Release 6. Provides information about data structures and functions of the Communication Server API. Document Structure The following table lists the contents in each chapter. Explains the callback protocol process.2 viii © 2012 Honeywell International . Communication Server APIs Communication Server Callback Protocol Acronyms The following table lists the acronyms used in this guide. and lists the procedure to install the Communication Server APIs. explains the component model diagram.About This Document Scope This document exposes the APIs of the WIN-PAK SE/PE communication server to develop the Communication Server API Client application.

About This Document Acronyms PIN UI WIN-PAK SE/PE Descriptions Personal Identification Number User Interface WIN-PAK Standard Edition/Professional Edition Document Conventions The following table lists the conventions used in this document. Indicates comments for the programming codes. Blue Text Indicates an Example. Indicates programming codes. Grey Text Contact Information Honeywell Access Systems 135 West Forest Hill Avenue Oak Creek. Indicates a Note. Convention Bold Text Navy Blue Text Green Text Use Indicates UI elements.A OFFICE HOURS: 8 AM to 5 PM (CST) PHONE: 414-766-1700 FAX: 414-766-1798 URL: http://www. WI 53154 U.2 ix © 2012 Honeywell International .com Release 6.S.honeywellaccess.

The customized Communication Server can be used to perform the following tasks. DCOM. ♦ Forward the event/alarm transactions to the client application. The WIN-PAK SE/PE is an access control system that authenticates employee access at security areas. The Communication Server serves as a concentrator for communications with the access control hardware located at the customer locations. The WIN-PAK SE/PE provides a UI for the operator to monitor and track the access control activities of the end-users at the customer locations. a customized Windows client application can be created to monitor and act on the events/alarms as a WIN-PAK SE/PE UI. The Communication Server API is intended for N-tier Windows applications and is based on the Microsoft Windows DNA technologies using COM. Using the Communication Server APIs. MTS and COM+ components of ActiveX. In this Chapter Component Model Diagram Supported Operating Systems Installing the Communication Server APIs Connecting the API Client and the API Server Page Number 11 11 12 21 Release 6. Multiple Communication Server modules can be active in a client application.Chapter 1 INTRODUCTION Overview The Communication Server is a component of the WIN-PAK SE/PE application. ♦ Track the status of the alarms from the client application. The following sections explain the component model diagram of the Communication Server and the procedure to install the Communication Server.2 10 © 2012 Honeywell International .

The client is informed about the events and alarms using the COM/DCOM callback mechanism and a tag based protocol. ♦ Microsoft Windows Server 2008 Release 6. 3 Supported Operating Systems The WIN-PAK SE/PE Communication Server API is supported on the following operating systems.2 11 © 2012 Honeywell International . The Accw. IMTSCBServer and the IWPAVCallback interface.dll contains the business component. The Communication Server API client is a Windows client application that monitors the events/alarms of the hardware devices at the customer locations.dll acts as a remote DCOM server that communicates with the client and the WIN-PAK SE/PE communication server. The IMTSCBServer is an interface that contains the various API calls for WINPAK SE/PE Communication server functionalities. The Accw.Introduction Component Model Diagram 1 2 The Communication Server serves as a concentrator for communication with the access control hardware located at the customer locations.

♦ CommunicationAPIServer ♦ CommunicationAPIClient Prerequisites for Installing the CommunicationAPIServer Before installing the CommunicationAPIServer. ensure that the WIN-PAK SE/PE is installed on the computer. Click Next. The Welcome to the InstallShield Wizard for WIN-PAK SE/PE API screen appears.WIN-PAK SE/PE Communication Server API Public Interface Document ♦ Microsoft Windows Server 2008 R2(32/64 Bit) ♦ Microsoft Windows 7(32/64 Bit) Installing the Communication Server APIs The following modules of the WIN-PAK SE/PE Communication Server API must be installed.exe on the CD. The License Agreement screen appears. Release 6. 2. Double-click WIN-PAK SEPE API. To Install the CommunicationAPIServer 1.2 12 © 2012 Honeywell International .

The Custom Setup screen appears.2 13 © 2012 Honeywell International . Read the license agreement and select Accept and then click Next. Release 6.Introduction 3.

The Ready to install the program screen appears. Release 6.2 14 © 2012 Honeywell International . Select “WIN-PAK Communication Server API”. The Setup Status screen appears showing the installation progress. Click Next. Click Install to start the installation. To change the destination folder. The InstallShield Wizard completed screen appears.WIN-PAK SE/PE Communication Server API Public Interface Document 4. 5. click Change and select the destination folder.

2 15 © 2012 Honeywell International . Release 6.Introduction 6. You must restart your computer to complete the installation. Click Finish to close the InstallShield wizard.

♦ The CommunicationAPIClient must be installed in the same domain/workgroup as the CommunicationAPIServer.exe on the CD. To Install the CommunicationAPIClient 1. The Welcome to the InstallShield Wizard for WIN-PAK SE/PE API screen appears. Release 6.2 16 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Prerequisites for Installing the CommunicationAPIClient Before installing the CommunicationAPIClient ensure that the following requirements are met. Double-click WIN-PAK SEPE API. ♦ Make a note of the IP address or machine name of the server computer on which the WIN-PAK SE/PE communication server API is installed.

2 17 © 2012 Honeywell International . Click Next. The License Agreement screen appears.Introduction 2. Release 6.

To change the destination folder. 4. Release 6. Read the license agreement and select Accept and then click on Next. Select “WIN-PAK Communication Client API”. The Communication Server Details screen appears. The Custom Setup screen appears.WIN-PAK SE/PE Communication Server API Public Interface Document 3. Click Next.2 18 © 2012 Honeywell International . click Change and select the destination folder. Type the computer name or IP address or the Machine name of the computer on which the Communication Server APIs are installed and then. click Next.. 5. 6.

Click Install to start the installation. The Ready to install the program screen appears. Release 6.2 19 © 2012 Honeywell International .Introduction 7.

You must restart your computer to complete the installation.WIN-PAK SE/PE Communication Server API Public Interface Document 8. The InstallShield Wizard completed screen appears.2 20 © 2012 Honeywell International . The Setup Status screen appears showing the installation progress. Release 6. Click Finish to close the InstallShield wizard. 9.

♦ The computers on which the API Client and the API Server are installed must be in the same domain or workgroup. ♦ The API Client and the API Server must be logged on with the same user name and password.2 21 © 2012 Honeywell International . Before you start To establish connection between the API Client and the API Server. ♦ The ICF firewall must be disabled for the CommunicationAPIs installed on Windows 2003 Server.Introduction Connecting the API Client and the API Server The WIN-PAK SE/PE client must be connected to the WIN-PAK SE/PE API server to send and receive any notification messages about the events and alarms. ♦ The COM+ Access must be configured if the CommunicationAPIs are installed on the Windows Operation System. Release 6. ♦ The API Client and the API Server must be installed on different computers. ensure that the following conditions are met.

Release 6.2 22 © 2012 Honeywell International .

the client application can monitor the events/alarms and control the access control panels at the customer location.2 23 © 2012 Honeywell International .Chapter 2 COMMUNICATION SERVER APIS Overview The developers of the WIN-PAK SE/PE API application have exposed some data structures and API functions to allow you to develop a customized client application. In this Chapter Data Structures Communication Server API Functionalities Abstract Device Status Definitions Event Code List Page Number 24 26 59 61 Release 6. The following sections explain the exposed data structures and API functions. Using the WIN-PAK SE/PE API.

WIN-PAK SE/PE Communication Server API

Public Interface Document

Data Structures
The following special data structures are used to implement the functionality of the communication client component in the WIN-PAK SE/PE Communication Server.

Device Structure
Description This structure contains information about the device name, device ID, and device type. Definition
struct Device{ [helpstring(“Contains the Device Name”)] BSTR sDeviceName; [helpstring(“Contains the HID”)] long lDeviceID; [helpstring(“Contains the Device Type”)] long lDeviceType; } Device;

Enumeration Types
The Communication client component provides the following enumeration types to declare the types of views and the hardware dependent constants. ♦ wpviewTYPE ♦ HIDType ♦ HIDSubType1 wpviewTYPE Description Defines the following types of views. ♦ Alarm ♦ Event ♦ Alarm and Event Definition
enum wpviewTYPE { [helpstring("AlarmView")]wpviewAlarm= 0x0001, [helpstring("EventView")]wpviewEvent= 0x0002,

Release 6.2

24

© 2012 Honeywell International

Communication Server APIs [helpstring("AlarmEventView")]wpviewAlarmEvent= 0x0003 } wpviewTYPE;

HIDType Description Defines the types of hardware devices. Definition
enum HIDType { HID_SERVER = 1 END_HID_SERVER = 10 HID_LOOP = 12 HID_PANEL = 22 HID_INPUT = 30 HID_OUTPUT = 40 HID_ENTRANCE = 50 HID_CCTV = 60 HID_MODEM_POOL = 80 END_HID_MODEM_POOL = 83 HID_EXTERNAL_SYSTEM_LINK = 90 END_HID_EXTERNAL_SYSTEM_LINK = 94 HID_PW5000_SIO = 95 } HIDType;

HIDSubType1 Description Defines the sub types of the hardware devices. Definition
enum HIDSubType1 { HID_SERVER_COMM = 2 HID_SERVER_SCHEDULER = 3 HID_SERVER_GUARD_TOUR = 4 HID_SEQUENCED_CHK_PT = 5 HID_UNSEQUENCED_CHK_PT = 6 HID_SERVER_CAMERA_TOUR = 7 HID_SERVER_CMD_FILE = 8 HID_SERVER_MUSTER = 9 HID_LOOP_N1000 = 13 HID_LOOP_N1000_C100 = 14 HID_LOOP_N1000_485 = 15

Release 6.2

25

© 2012 Honeywell International

WIN-PAK SE/PE Communication Server API HID_LOOP_N1000_485_ACKNAK = 16 END_HID_LOOP_N1000 = 17 HID_LOOP_N750 = 18 HID_LOOP_SYMPHONY = 19 HID_LOOP_SYMPHONY_LEGACY = 20 HID_LOOP_PW5000 = 21 HID_PANEL_N1000 = 23 HID_PANEL_N1000_II OR HID_PANEL_PW2000 (X) 24 HID_PANEL_N1000_III OR HID_PANEL_PW2000-3 (X) 25 HID_PANEL_N1000_IV OR HID_PANEL_PW2000-4 (X) 26 HID_PANEL_N750 = 27 HID_PANEL_SYMPHONY = 28 HID_PANEL_PW5000 = 29 HID_PANEL_PW5000_DIALUP = 130 HID_INPUT_STD = 31 HID_INPUT_SUPERVISED = 32 HID_INPUT_PW5000_STD = 33 HID_INPUT_PW5000_SUPER = 34 HID_OUTPUT_STD = 41 HID_GROUP_STD = 42 HID_OUTPUT_PW5000 = 43 HID_ENTRANCE_DOOR = 51 HID_ENTRANCE_READER = 52 HID_ENTRANCE_PW5000_DOOR = 53 HID_CCTV_SWITCHER = 61 END_HID_CCTV_SWITCHER = 71 HID_CCTV_CAMERA = 72 HID_CCTV_MONITOR = 75 HID_MODEM_POOL_C100 = 81 HID_MODEM_POOL_PCI = 82 HID_MODEM_POOL_PW5000 = 84 HID_JCI_MNI = 91 HID_LANDIS_STAEFA_S600 = 92 HID_RS_232_LINK = 93 } HIDSubType1;

Public Interface Document

panelInitTask Description Defines the constituent steps needed for the Panel initialization task. Definition
enum panelInitTask { taskINIT = 0, taskTIMEDATE = 1, taskCARD = 2,

Release 6.2

26

© 2012 Honeywell International

Object Specifications taskCMDFILE = 3, taskHOLIDAY = 4, taskTIMEZONE = 5 , taskINPUT = 6, taskOUTPUT = 7, taskGROUP = 8, taskMCBCONFIG = 9, taskINPUTSCAN = 10, taskCARDFORMAT = 11, taskSIOBOARD = 12, taskACCESSLEVELS = 13, taskTRIGGERS = 14, taskPROCEDURES = 15, taskMPGROUPS = 16, taskACCESSAREAS = 17, taskREADERLED = 18, taskTZREFRESH = 19 }panelInitTask;

OBJECT SPECIFICATIONS
Overview
The developers of the WIN-PAK SE/PE application have developed the COM object for encapsulating the various fields that constitute the Door Mode of the NetAXS Panel. This object enables the client applications to access the current Door Modes of the NetAXS Readers and also to set new Door Modes to the NetAXS Readers configured in the WIN-PAK SE/PE. This Interface and the associated class is compiled inside the Accw.dll The list of COM objects in NCIHelper.dll are as follows: ♦ Accw.NetAXSDoorInfo

NetAXSDoorInfo
The NetAXSDoorInfo object is used to access the WIN-PAK SE/PE Door Mode information of the NetAXS readers. In addition, this object is used to assign the Door Mode to a NetAXS reader.

Release 6.2

27

© 2012 Honeywell International

WIN-PAK SE/PE Communication Server API Public Interface Document Properties The following methods help you to get and set the NetAXSDoorMode properties in the WIN-PAK SE/PE. Return Code S_OK Description For a successful operation. Parameters Parameters pVal Description The retrieved Timezone ID set for the Disable Door Time zone Return Type The HRESULT value is returned. DisableDoorTimezone(get) Description Gets the timezone ID of the Disable Door Timezone. DisableDoorTimezone(put) Description Sets the timezone ID of the Disable Door Timezone. ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ DisableDoorTimezone LockdownReaderTimezone CardOnlyTimezone PINOnlyTimezone CardOrPINTimezone CardAndPINTimezone CardOnlyPriority PINOnlyPriority CardAndPINPriority CardOrPINPriority The following section explains the Card properties.2 28 © 2012 Honeywell International . the value zero is returned. Visual C++ Signature HRESULT DisableDoorTimezone([out. Visual C++ Signature Release 6. retval] long *pVal). The following table displays the return codes.

Object Specifications HRESULT DisableDoorTimezone([in] long newVal). LockdownReaderTimezone(put) Description Sets the timezone ID of the Lockdown Reader Timezone. retval] long *pVal). Visual C++ Signature HRESULT LockdownReaderTimezone ([out. the value zero is returned. LockdownReaderTimezone(get) Description Gets the timezone ID of the Lockdown Reader Timezone. Return Code S_OK Description For a successful operation. the value zero is returned. The following table displays the return codes. Return Code S_OK Description For a successful operation. The following table displays the return codes. Return Type The HRESULT value is returned. Parameters Parameters pVal Description The retrieved Timezone ID set for the Lockdown Reader Timezone. Parameters Parameters Release 6. Parameters Parameters newVal Description The new Timezone ID to be set as the Disable Door Timezone.2 Description 29 © 2012 Honeywell International . Return Type The HRESULT value is returned. Visual C++ Signature HRESULT LockdownReaderTimezone ([in] long newVal).

retval] long *pVal). Return Code S_OK Description For a successful operation. Release 6. CardOnlyTimezone(get) Description Gets the timezone ID of the Card Only Timezone. the value zero is returned.2 30 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Parameters newVal Description The new Timezone ID to be set as the Lockdown Reader Timezone. Parameters Parameters newVal Description The new Timezone ID to be set as the Card Only Timezone. The following table displays the return codes: Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT CardOnlyTimezone([out. the value zero is returned. The following table displays the return codes. CardOnlyTimezone(put) Description Sets the timezone ID of the Card Only Timezone. Visual C++ Signature HRESULT CardOnlyTimezone([in] long newVal). Return Type The HRESULT value is returned. Parameters Parameters pVal Description The retrieved Timezone ID set for the Card Only Timezone. Return Type The HRESULT value is returned.

the value zero is returned.2 31 © 2012 Honeywell International . retval] long *pVal). PINOnlyTimezone(put) Description Sets the timezone ID of the PIN Only Timezone. Return Type The HRESULT value is returned. Visual C++ Signature HRESULT PINOnlyTimezone([out. Visual C++ Signature HRESULT PINOnlyTimezone([in] long newVal). Return Code S_OK Description For a successful operation. the value zero is returned. Parameters Parameters pVal Description The retrieved Timezone ID set for the PIN Only Timezone.Object Specifications Return Type The HRESULT value is returned. PINOnlyTimezone(get) Description Gets the timezone ID of the PIN Only Timezone. The following table displays the return codes. Parameters Parameters newVal Description The new Timezone ID to be set as the Disable PIN Only Timezone. The following table displays the return codes. The following table displays the return codes. Return Type The HRESULT value is returned. Return Code Description Release 6. Return Code S_OK Description For a successful operation.

Visual C++ Signature HRESULT CardOrPINTimezone([out. Release 6.2 32 © 2012 Honeywell International . Return Type The HRESULT value is returned. Parameters Parameters pVal Description The retrieved Timezone ID set for the Card Or PIN Timezone. The following table displays the return codes. CardOrPINTimezone(put) Description Sets the timezone ID of the Card or PIN Timezone. the value zero is returned.WIN-PAK SE/PE Communication Server API Public Interface Document S_OK For a successful operation. Return Type The HRESULT value is returned. Visual C++ Signature HRESULT CardOrPINTimezone([in] long newVal). Return Code S_OK Description For a successful operation. Parameters Parameters newVal Description The new Timezone ID to be set as the Card Or PIN Timezone. CardOrPINTimezone(get) Description Gets the timezone ID of the Card or PIN Timezone. The following table displays the return codes. retval] long *pVal). Return Code S_OK Description For a successful operation. the value zero is returned. the value zero is returned.

Visual C++ Signature HRESULT CardAndPINTimezone([out. Return Type The HRESULT value is returned. Parameters Parameters pVal Description The retrieved Timezone ID set for the Card And PIN Timezone. CardOnlyPriority(get) Description Gets the value of the Card Only Priority. Return Code S_OK Description For a successful operation. the value zero is returned. retval] long *pVal). CardAndPINTimezone(put) Description Sets the timezone ID of the Card and PIN Timezone. the value zero is returned. The following table displays the return codes.Object Specifications CardAndPINTimezone(get) Description Gets the timezone ID of the Disable Door Timezone. The following table displays the return codes. Visual C++ Signature HRESULT CardAndPINTimezone([in] long newVal). Release 6. Return Type The HRESULT value is returned.2 33 © 2012 Honeywell International . Parameters Parameters newVal Description The new Timezone ID to be set as the Card and PIN Timezone. Return Code S_OK Description For a successful operation.

Return Type The HRESULT value is returned. retval] long *pVal). retval] long *pVal). the value zero is returned. CardOnlyPriority(put) Description Sets the value of the Card Only Priority. Parameters Parameters pVal Description The retrieved value set for the Card Only Priority. the value zero is returned. Visual C++ Signature HRESULT CardOnlyPriority([in] long newVal). Visual C++ Signature HRESULT PINOnlyPriority([out. PINOnlyPriority(get) Description Gets the value of the PIN Only Priority. The following table displays the return codes: Return Code S_OK Description For a successful operation. Parameters Parameters newVal Description The new value to be set as the Card Only Priority Return Type The HRESULT value is returned. The following table displays the return codes: Return Code S_OK Description For a successful operation. Parameters Release 6.WIN-PAK SE/PE Communication Server API Public Interface Document Visual C++ Signature HRESULT CardOnlyPriority([out.2 34 © 2012 Honeywell International .

The following table displays the return codes.Object Specifications Parameters pVal Description The retrieved value set for the PIN Only Priority. CardAndPINPriority(get) Description Gets the value of the Card And PIN Priority. Parameters Parameters newVal Description The new value to be set as the PIN Only Priority. Return Type The HRESULT value is returned. The following table displays the return codes. Visual C++ Signature HRESULT CardAndPINPriority([out. Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT PINOnlyPriority([in] long newVal). the value zero is returned. Parameters Parameters pVal Description The retrieved value set for the Disable Door Timezone.2 35 © 2012 Honeywell International . Return Type The HRESULT value is returned. Return Code S_OK Description For a successful operation. retval] long *pVal). PINOnlyPriority(put) Description Sets the value of the PIN Only Priority. the value zero is returned. Release 6.

2 36 © 2012 Honeywell International . Return Type The HRESULT value is returned.WIN-PAK SE/PE Communication Server API Public Interface Document Return Type The HRESULT value is returned. Visual C++ Signature HRESULT CardOrPINPriority([out. Parameters Parameters pVal Description The retrieved value set for the Card Or PIN Priority. Return Type The HRESULT value is returned. the value zero is returned. Visual C++ Signature HRESULT CardAndPINPriority ([in] long newVal). the value zero is returned. Return Code S_OK Description For a successful operation. The following table displays the return codes. CardAndPINPriority(put) Description Sets the value of the Card And PIN Priority. The following table displays the return codes. Return Code Description Release 6. The following table displays the return codes. retval] long *pVal). CardOrPINPriority(get) Description Gets the value of the Card Or PIN Priority. Return Code S_OK Description For a successful operation. Parameters Parameters newVal Description The new value to be set as the Card And PIN Priority.

Object Specifications S_OK For a successful operation. Return Type The HRESULT value is returned.2 37 © 2012 Honeywell International . The following table displays the return codes. Release 6. Visual C++ Signature HRESULT CardOrPINPriority([in] long newVal). Parameters Parameters newVal Description The new value to be set as the Card Or PIN Priority. the value zero is returned. Return Code S_OK Description For a successful operation. CardOrPINPriority(put) Description Sets the value of the Card Or PIN Priority. the value zero is returned.

exe as the surrogate process. [in] BSTR sPassword. return type. VC++ signature. Release 6. parameters. Visual C++ Signature HRESULT InitServer( [in] IDispatch* Caller. [out. [in] long enumViewType.dll acts as a remote DCOM server by using the DLLHost.WIN-PAK SE/PE Communication Server API Public Interface Document COMMUNICATION SERVER API FUNCTIONALITIES The communication server APIs are complied into the dynamic linked library. The Accw. and remarks of each of the Communication Server APIs are as follows: InitServer Description Registers the client computer in the Communication Server API computer.2 38 © 2012 Honeywell International . [in] BSTR sUserName. description. retval] VARIANT_BOOL *pbResult ). [in] long lUserid. This dll uses the ActiveX components to provide the communication server functionalities.dll. ACCW. The name.

The following table displays the return codes. Note The Boolean values are as follows:  TRUE – Operation is successful. Remarks This method must be called before you access the Communication Server functionalities. Visual C++ Signature HRESULT DoneServer( [in] IDispatch* Caller. A Boolean value that indicates if the operation is successful. The password of a WIN-PAK user. DoneServer Description Disconnects the client computer from the Communication Server API computer. Return Type The HRESULT value is returned.2 39 © 2012 Honeywell International . see wpviewTYPE. sUserName sPassword lUserID pbResult A valid WIN-PAK user name. A valid WIN-PAK ID of the user. Parameters Release 6. Return Code S_OK Description For a successful operation. For more information on the different types of view. the value zero is returned.  FALSE – Operation is not successful.Communication Server API Functionalities Parameters Parameters Caller enumViewType Description A reference to the client callback interface. retval] VARIANT_BOOL* ). Defines the type of view. [out.

Visual C++ Signature HRESULT AckAlarm( [in] long lHID. Return Code S_OK Description For a successful operation. Parameters Parameters lHID lPoint Description The hardware device ID. Return Type The HRESULT value is returned.WIN-PAK SE/PE Communication Server API Public Interface Document Parameters Caller Description A reference to the client callback interface. Return Type The HRESULT value is returned. Remarks This method must be called after you complete all transactions with the Communication Server. AckAlarm Description Acknowledges the alarm identified by the hardware device ID and the point ID. [in] long lPoint). the value zero is returned. The Point ID. The following table displays the return codes. Visual C++ Signature Release 6. Return Code S_OK Description For a successful operation. The following table displays the return codes.2 40 © 2012 Honeywell International . ClrAlarm Description Clears the alarm identified by the hardware device ID and the point ID. the value zero is returned.

Communication Server API Functionalities HRESULT ClrAlarm( [in] long lHID. [in] BSTR Note). [in] long lPoint.2 41 © 2012 Honeywell International . The Point ID. The following table displays the return codes. Return Type The HRESULT value is returned. Release 6. AddNote Description Adds an operator note to the alarm identified by the hardware device ID and the point ID. The following table displays the return codes. Parameters Parameters lHID lPoint Note Description The hardware device ID. Visual C++ Signature HRESULT AddNote( [in] long lHID. Parameters Parameters lHID lPoint Description The hardware device ID. [in] long lPoint). Return Code S_OK Description For a successful operation. the value zero is returned. the value zero is returned. Return Type The HRESULT value is returned. The text attached to the transaction in history. The Point ID. Return Code S_OK Description For a successful operation.

Return Type The HRESULT value is returned. The Point ID.2 42 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document GetDetailsByID Description Obtains the transaction details for the specified hardware device ID and the point ID. Parameters Parameters lHID lPoint pbstrTransactionDetails Description The hardware device ID. [out] BSTR* pbstrTransactionDetails). [in] long lPoint. EntryPointLockByID Description Locks the entrance or entry point. Visual C++ Signature HRESULT GetDetailsByID ( [in] long lHID. The following table displays the return codes. Return Code S_OK Description For a successful operation. Release 6. the value zero is returned. Return Type The HRESULT value is returned. The following table displays the return codes. Visual C++ Signature HRESULT EntryPointLockByID([in] long lHID). The complete description of the transaction to be retrieved. Parameters Parameters lHID Description The hardware device ID.

The following table displays the return codes.2 43 © 2012 Honeywell International . AlarmShuntByHID Description Shunts the alarm of the specified hardware device.Communication Server API Functionalities Return Code S_OK Description For a successful operation. the value zero is returned. Visual C++ Signature HRESULT EntryPointUnLockByID([in] long lHID). Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT AlarmShuntByHID([in] long lHID). Parameters Parameters lHID Description The hardware device ID. Release 6. Return Type The HRESULT value is returned. Parameters Parameters lHID Description The hardware device ID. Return Code S_OK Description For a successful operation. the value zero is returned. The following table displays the return codes. EntryPointUnLockByID Description Unlocks the entrance or entry point. the value zero is returned. Return Type The HRESULT value is returned.

the value zero is returned. Parameters Parameters lHID Description The hardware device ID.2 44 © 2012 Honeywell International . The following table displays the return codes. PulseByHID Description Pulses the hardware device. Release 6. The following table displays the return codes. Return Code S_OK Description For a successful operation. Return Type The HRESULT value is returned. Return Code S_OK Description For a successful operation. the value zero is returned. Parameters Parameters lHID Description The hardware device ID. Visual C++ Signature HRESULT AlarmUnShuntByHID([in] long lHID). TimedPulseByHID Description Pulses a hardware device for a specified time period.WIN-PAK SE/PE Communication Server API Public Interface Document AlarmUnShuntByHID Description Unshunt the alarm of the specified hardware device. Visual C++ Signature HRESULT PulseByHID([in] long lHID). Return Type The HRESULT value is returned.

Return Type The HRESULT value is returned.2 45 © 2012 Honeywell International .  N1000/NS2/NS2+ : 63 seconds or 63 minutes or 63 hours  P-Series(PRO2200/PW5000) : 9 hours  NetAXS(NetAXS 4/NetAXS 123) : 1 hour and 45 minutes Visual C++ Signature HRESULT TimedPulseByHID( [in] long lHID. Parameters Parameters lHID lUnits Description The hardware device ID. Note The values for the unit of time are as follows:  0 – Seconds  1 – Minutes  2 . the value zero is returned. Return Code S_OK Description For a successful operation. The following table displays the return codes. Release 6.Communication Server API Functionalities Note Various types of Panels have different maximum for the Pulse Time that can be given to the Timed Pulse command. [in] long lVal). RestoreTZByHID Description Restores the time zone control in a hardware device. The value for the unit of time. [in] long lUnits.Hours lVal The pulse time value.

BufferByHID Description Buffers the transactions of the device specified by the hardware device ID. The buffer mode values.WIN-PAK SE/PE Communication Server API Public Interface Document Note  The P-Series Input and Readers will work with have the RestoreTZByHID(). Visual C++ Signature HRESULT BufferByHID( [in] long lHID. Use GetDefaultACRMode() and use the returned value in the SetDoorModeByHID() to refresh the Timezone for the P-Series Readers Visual C++ Signature HRESULT RestoreTZByHID([in] long lHID). Parameters Parameters lHID Description The hardware device ID. Return Code S_OK Description For a successful operation. Release 6. Return Type The HRESULT value is returned. Parameters Parameters lHID lVal Description The hardware device ID. [in] long lVal).2 46 © 2012 Honeywell International . The following table displays the return codes. These device transactions are stored and not transmitted. so the unbuffer operation is pending. the value zero is returned.

Parameters Parameters lHID lVal Description The hardware device ID. The stored device transactions are transmitted. Release 6. UnBufferByHID Description Unbuffer the transactions of the device specified by the hardware device ID. The buffer mode values. The following table displays the return codes. the value zero is returned. Return Code S_OK Description For a successful operation. The following table displays the return codes. Visual C++ Signature HRESULT BufferByHID( long* lHID. long* lVal).  0 – Hard mode  1 – Soft mode Return Type The HRESULT value is returned. the value zero is returned.2 47 © 2012 Honeywell International .  0 – Hard mode  1 – Soft mode Return Type The HRESULT value is returned.Communication Server API Functionalities Parameters Description Note The modes of the buffer are indicated by the following values. Return Code S_OK Description For a successful operation. Note The modes of the buffer are indicated by the following values.

In addition. the device name. Visual C++ Signature HRESULT DoorModeByHID ( [in] long lHID.WIN-PAK SE/PE Communication Server API Public Interface Document DoorModeByHID Description Sets up the door mode for the specified hardware device.2 48 © 2012 Honeywell International . and the device type of the abstract devices are returned in the form of a structure. Parameters Parameters lHID lVal Description The hardware device ID. The following table displays the return codes. Note The door mode values are as follows:  1 – Disable the door  2 – Unlock (limited access)  3 – Locked (no access)  4 – Site code only  5 – Card only  6 – PIN only  7 – Card and PIN  8 – Card or PIN Return Type The HRESULT value is returned. Visual C++ Signature Release 6. the value zero is returned. hardware device identification number. Return Code S_OK Description For a successful operation. ListConnectedDevices Description Returns the list of abstract devices (ADVs) connected to the communication server. The door mode values. [in] long lVal).

Energize Description Energizes or charges the output device/relay for the specified device ID. DeEnergize Description De-energizes or stops charging the output device/relay for the specified device ID. Visual C++ Signature HRESULT DeEnergize([in] long lHID). Parameters Parameters pvDevices Description A pointer to the variant containing the list of abstract devices. The following table displays the return codes. retval] VARIANT *pvDevices). Visual C++ Signature HRESULT Energize([in] long lHID). the value zero is returned. the value zero is returned. Return Code S_OK Description For a successful operation. Parameters Parameters lHID Description The hardware device ID. The following table displays the return codes. Return Type The HRESULT value is returned.Communication Server API Functionalities HRESULT ListConnectedDevices([out. Return Code S_OK Description For a successful operation. Parameters Release 6. Return Type The HRESULT value is returned.2 49 © 2012 Honeywell International .

the value zero is returned. Return Type The HRESULT value is returned. AddFilterHID Description Sets the Alarm Filter such that the Alarms are meant to be reported only from the particular HID Visual C++ Signature HRESULT AddFilterHID([in] long lHID ).WIN-PAK SE/PE Communication Server API Public Interface Document Parameters lHID Description The hardware device ID. The following table displays the return codes. Return Code S_OK Description For a successful operation. Parameters Parameters lStatus Description The output parameter that have the status of the API connection with Release 6.2 50 © 2012 Honeywell International . RemoveFilterHID Description Remove the Alarm filter for the particular HID Visual C++ Signature HRESULT RemoveFilterHID([in] long lHID ). the value zero is returned. Parameters Parameters lHID Description The HID of a Device Return Type The HRESULT value is returned. Return Code S_OK Description For a successful operation. The following table displays the return codes.

AddFilterCommServerID Description Sets the Alarm Filter such that the Alarms are meant to be reported only from the particular Communication Server Visual C++ Signature HRESULT AddFilterCommServerID([in] long lCommServerID ). Visual C++ Signature HRESULT GetFilterHIDs([out] BSTR* bstrHIDs ).2 51 © 2012 Honeywell International . Parameters Parameters lCommServerID Description The HID of a Communication Server Release 6.Communication Server API Functionalities Parameters Description the server Return Type The HRESULT value is returned. The following table displays the return codes. Return Code S_OK Description For a successful operation. The following table displays the return codes. Return Code S_OK Description For a successful operation. the value zero is returned. Parameters Parameters lStatus Description The output parameter that have the status of the API connection with the server Return Type The HRESULT value is returned. GetFilterHIDs Description Get all the Alarm HID filters. the value zero is returned.

the value zero is returned.2 52 © 2012 Honeywell International . The following table displays the return codes. the value zero is returned. The following table displays the return codes. The following table displays the return codes. Parameters Parameters lCommServerID Description The HID of a Communication Server Return Type The HRESULT value is returned. RemoveCommServerID Description Remove the Alarm filter for the particular Communication Sever Visual C++ Signature HRESULT RemoveFilterCommServerID([in] long lCommServerID ). Return Code S_OK Description For a successful operation. Parameters Parameters bstrCommServer IDs Description The retrieved list of Communication Server ID that currently configured in the Alarm Filter Return Type The HRESULT value is returned.WIN-PAK SE/PE Communication Server API Public Interface Document Return Type The HRESULT value is returned. GetFilterCommServerIDs Description Get all the Alarm Communication Server filters Visual C++ Signature HRESULT GetFilterCommServerIDs([out] BSTR* bstrCommServerIDs ). Return Code S_OK Description For a successful operation. Release 6.

with the initialization steps of Cards and Timezones only. Parameters Parameters lHID lHIDType vTasks Description The hardware device ID of the Panel. Return Type The HRESULT value is returned. the value zero is returned. The input parameter. Remarks If the client needs to initialize a N1000 Panel of HID 12. PanelCancelInitialize Description Release 6.2 53 © 2012 Honeywell International . PanelInitialize Description Starts the Initialization of the Panels with the steps mentioned. the initialization code will be as follows: int arrTasks[20].taskTIMEZONE] = TRUE. the value zero is returned. [in]VARIANT vTasks). The HIDType of the Panel. arrTasks[(int)panelInitTask. The following table displays the return codes. arrTasks[(int)panelInitTask. Visual C++ Signature RESULT PanelInitialize( [in]long lHID. Return Code S_OK Description For a successful operation. [in]long lHIDtype.taskCARD] = TRUE. . which is an array of integers indicates whether the initialization step is executed or not. .Communication Server API Functionalities Return Code S_OK Description For a successful operation. .

Parameters Parameters lHID Description The hardware device ID. The following table displays the return codes.2 54 © 2012 Honeywell International . [out]int *nMode). the value zero is returned. The retrieved default Door Mode of the P-Series Reader Return Type The HRESULT value is returned. The following table displays the return codes. the value zero is returned.WIN-PAK SE/PE Communication Server API Public Interface Document Cancels the ongoing initialization of the Panel. Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT PanelCancelInitialize([in]long lHID). Return Code S_OK Description For a successful operation. IsConnected Description Release 6. GetDefaultACRMode Description Returns the default/configured door mode of a Reader of the P-Series panel Visual C++ Signature HRESULT GetDefaultACRMode( [in] long lHID. Parameters Parameters lHID pDoorInfo Description The hardware device ID of the P-Series Reader. Return Type The HRESULT value is returned.

Visual C++ Signature HRESULT IsConnected([out] BOOL* bStatus). [in]long lEntrancePointID. The HIDType of the Panel. [in]long lEntranceID. Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT ExecuteDoorSchedule( [in]long lPanelHID. the value zero is returned. The following table displays the return codes.2 55 © 2012 Honeywell International . The point ID of the Reader that actually the ordinal of the Reader. The ID of the Timezone of the Door Schedule. [in]long lTZID).Communication Server API Functionalities Checks the connected status of the API Component with the Communication Server. The HID of the Reader/Entrance configured in the Panel. [in]long lPanelType. Parameters Parameters lStatus Description The output parameter that have the status of the API connection with the server Return Type The HRESULT value is returned. Parameters Parameters lPanelHID lPanelType lEntranceID lEntrancePointID lTZID Description The hardware device ID of the Panel. Return Type Release 6. ExecuteDoorSchedule Description Executes a Door Schedule at the Direct Point of a Door.

the Priorities of the Reader A will be returned. [out] VARIANT* pDoorInfo). the value zero is returned. Note For NetAXS 123 Panels. As the Reader B has no priorities. Return Type The HRESULT value is returned. Return Code S_OK Description For a successful operation. Visual C++ Signature HRESULT GetNetAXSDoorModeByHID( [in] long lHID. SetNetAXSDoorModeByHID Description Sets the Door mode of the NetAXS Reader to the supplied value. the value zero is returned. The following table displays the return codes. The following table displays the return codes. Parameters Parameters lHID pDoorInfo Description The hardware device ID of the NetAXS Reader. GetNetAXSDoorModeByHID Description Returns the current Door mode configuration of the NetAXS Reader. see the NetAXSDoorInfo Properties. the GetNetAXSDoorModeByHID() on Reader B will get only the timezones. Release 6. For more information on the card details.2 56 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document The HRESULT value is returned. Return Code S_OK Description For a successful operation. not the Priorities. The output parameter that contains the current Door Mode configuration of the Reader encapsulated in the interface INetAXSDoorInfo.

[out] long *plStatus). The input parameter that contains the Door Mode configuration need to be set up for the Reader encapsulated in the interface INetAXSDoorInfo. Parameters Parameters lHID pDoorInfo Description The hardware device ID of the NetAXS Reader. the SetNetAXSDoorModeByHID() on Reader B will set only the timezones. plStatus The SetNetAXSDoorMode status value. not the Priorities. [in] INetAXSDoorInfo* pDoorInfo. All the priorities passed are truncated and the corresponding Reader A’s priorities are taken. Visual C++ Signature HRESULT SetNetAXSDoorModeByHID ( [in] long lHID. Note The SetNetAXSDoorModeByHID status values are as follows:  0 – setting the Door mode for the NetAXS Reader Succeeded  1 – setting the Door mode failed  2 – Invalid HID for the Reader  3 – The DoorInfo Object passed in the pDoorInfo was empty  4 – Invalid Disable Door Timezone  5 – Invalid Lockdown Reader Timezone  6 – Invalid Card Only Timezone  7 – Invalid PIN Only Timezone  8 – Invalid Card and PIN Timezone  9 – Invalid Card or PIN Timezone  10 – Invalid Card Only Priority  11 – Invalid PIN Only Priority Release 6. For more information on the card details. see the NetAXSDoorInfoProperties.Communication Server API Functionalities Note For NetAXS 123 Panels.2 57 © 2012 Honeywell International .

WIN-PAK SE/PE Communication Server API Public Interface Document Parameters Description  12 – Invalid Card and PIN Priority  13 – Invalid Card or PIN Priority Return Type The HRESULT value is returned.2 58 © 2012 Honeywell International . Return Type The HRESULT value is returned. Return Code S_OK Description For a successful operation. [out. Return Code S_OK Description For a successful operation. Parameters Parameters lHID lDeviceType lStatusID Description The hardware device ID. GetStatus Description Returns the status for the specified device ID and the device type. For more information on the device status. The following table displays the return codes. The following table displays the return codes. Release 6. The output parameter that contains the status ID of the device. Visual C++ Signature HRESULT GetStatus ( [in] long lHID. The type of hardware device. [in] long lDeviceType. see Abstract Devices Status Definitions. retval]long* lStatusID). the value zero is returned. the value zero is returned.

Status ID 300 301 302 303 304 35* 401 402 403 404 405 406 408 409 405 45* Description Null String Entrance Unknown Entrance Alarm Entrance OK Entrance Trouble Shunted Input Unknown Input Alarm Door Ajar Input Normal Input Trouble Entry in Progress Exit in Progress Input Trouble Cut Input Trouble Short Shunted Release 6. The following code is a sample of the information sent to the client. <NLZ> <ADV_Status>StatusID</ADV_Status> <ADV_HID>HID2</ADV_HID> <ADV_DeviceType>DeviceType</ADV_DeviceType> <ADV_DeviceName>DeviceName</ADV_DeviceName> </NLZ> Abstract Devices Status Definitions The GetStatus() function returns the status ID of the specified type of hardware device. The following table lists the different status IDs and their descriptions.Communication Server API Functionalities Remarks If the client calls the GetStatus function by passing the parameters HID and DeviceType.2 59 © 2012 Honeywell International . the StatusID and other additional information is sent to the client.

2 60 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Status ID 501 502 503 504 801 802 803 901 902 91* 92* 93* 94* 95* 96* 97* 98* 99* 903 601 602 603 1001 1002 1003 Description Output Unknown Output Deenergized Output Energized Output Trouble Server Unknown Server Trouble Server OK Panel Unknown Panel Alarms Panel Communication AUX Port Primary Power Panel Tamper Ground Fault Low Voltage Ext 5V Poll Response Remote Panel OK Loop Unknown Loop Alarm Loop OK NetAXS IO or P-Series SIO Board Unknown NetAXS IO or P-Series SIO Board OK NetAXS IO or P-Series SIO Board Trouble Release 6.

However. EXAMPLE The status sent from the API is 452. This status ID can be interpreted as follows: 45*= Shunted and 402 = Input Alarm Hence the status description for the StatusID 452 is Shunted Input Alarm. the status ID 452 does not exist. Event Code List The event code is an event ID to identify the status of events/alarms generated from the panels.Communication Server API Functionalities Status ID 701 702 703 Description Device Unknown Device Alarm Device OK Note The * in the status ID field indicates that it can hold any number. The following table lists the different event IDs and their descriptions. Event ID 101 102 103 104 105 106 107 201 202 203 Description Server OK Server Trouble Check Point: Out of Sequence Check Point: Missed Check Point: Early Arrival Check Point: Late Arrival Check Point: Checked Loop OK Loop Alarm Loop Remote Dial-Up Successful Release 6.2 61 © 2012 Honeywell International .

WIN-PAK SE/PE Communication Server API Public Interface Document Event ID 204 301 302 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 Description Loop Remote Dial-Up Failed Modem Pool OK Modem Pool Trouble Panel Communication Alarm Panel Communication Normal Auxiliary Port Alarm Auxiliary Port Normal Primary Power Failure Primary Power Normal Poll Response Alarm Poll Response Normal Tamper Switch Alarm Tamper Switch Normal Ground Fault Alarm Ground Fault Normal Low Voltage Alarm Low Voltage Normal External 5 Volt Alarm External 5 Volt Normal Panel Reset Panel configuration error Incorrect Password Panel Remote Dial-Up Failed Panel Remote Dial-Up Successful Unsupported Panel version Release 6.2 62 © 2012 Honeywell International .

2 63 © 2012 Honeywell International . door used Release 6.Communication Server API Functionalities Event ID 423 424 425 426 427 428 429 430 431 501 502 503 504 505 506 507 508 601 602 603 701 702 703 704 705 Description Unsupported SIO Board Version Panel Restarted Panel DB Updated Panel DB Deleted Panel Common DB Updated Panel Common DB Deleted Panel Time Changed Panel switched to Hybrid Mode Panel Process Watcher restated Input Alarm Input Normal Input Trouble Input Trouble Cut Input Trouble Short Ajar State Input Exit Delay Input Entry Delay Output De-energized Output Energized Output Trouble Valid Card Trace Card Door Unlocked Site code verified. door not used Site code verified.

door used Valid Card. door used Host Grant. door not used Valid Card. door not used Duress.2 64 © 2012 Honeywell International . Card downloaded Invalid Time Zone Card Not Found Invalid PIN Invalid Site Code Anti-Passback Violation Door Normal Door Forced Open Door Ajar Door Trouble Invalid Format Invalid Format. door not used APB violation. reverse read Door locked Issue code Duress request denied Never allowed at this door No second card presented Floor Called Release 6.WIN-PAK SE/PE Communication Server API Public Interface Document Event ID 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 Description APB violation. Door unlocked Host Grant. door used Duress.

2 65 © 2012 Honeywell International . door not verified Free Egress. door not used Free Egress. door used Hard Anti-passback Violation Soft Anti-passback Violation Site Code Violation Duress PIN Entered Card Expired VIP Card Found Supervisor Card Found Supervisor Mode not Enabled Supervisor card required Supervisor Authenticated Soft Piggy-bagging Hard Piggy-bagging Supervisor mode Enabled Supervisor mode disabled Temporary card expired by usage limit Temporary card expired by Date Basic Panel Initialization ended Time Date sending ended Sending cards ended Sending Command Files Ended Release 6.Communication Server API Functionalities Event ID 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 1001 1002 1003 1004 Description Floor Selected Floor Select Timeout Free Egress.

Note The status of the Door in the interlock with a Group of Output as the Direct Point will be shown “Door Opened” always Parameters Parameters lHID Description The device ID of the door Release 6.WIN-PAK SE/PE Communication Server API Public Interface Document Event ID 1005 1006 1007 1008 1009 1101 1102 1103 1104 1105 1106 Description Sending Holidays ended Sending Timezones ended Sending Inputs ended Sending Outputs ended Sending Groups ended NetAXS I/O Board Power Alarm NetAXS I/O Board Power Normal NetAXS I/O Board Tamper Alarm NetAXS I/O Board Tamper Normal NetAXS I/O Board Poll Response Alarm NetAXS I/O Board Poll Response Normal GetDoorStatus2 Description Returns the physical status for the specified Door whether is it open or not. Visual C++ Signature HRESULT GetStatus ( [in] long lReaderHID.2 66 © 2012 Honeywell International . [out] BOOL* bDoorStatus).

Remarks If the client calls the GetDoorStatus2 function by passing the parameters HID. the bDoorStatus is sent to the client and also the client is subscribed to the door status change notifications through the callback protocol. <NLZ> <Door_IsOpen>DoorOpenStatus</Door_IsOpen> <Door_IsShunted>DoorShuntStatus</Door_IsShunted> <Door_ForcedOpen>DoorForcedOpenStatus</Door_ForcedOpen> <Door_Ajar>DoorAjarStatus</Door_Ajar> <ADV_Hid>ADVHID</ADV_Hid> <ADV_DeviceName>DeviceName</ADV_DeviceName> </NLZ> Release 6. the value zero is returned. The following code is a sample of the information sent to the client. Return Type The HRESULT value is returned. The following table displays the return codes.Communication Server API Functionalities Parameters bDoorStatus Description The output Boolean parameter that contains the status of the Door. Return Code S_OK Description For a successful operation.2 67 © 2012 Honeywell International .

COM+.2 68 © 2012 Honeywell International . Using this interface. In this Chapter Protocol Process Notification Message Tags Page Number 69 70 Release 6. The callback mechanism allows the client application to pass an interface to the server. and DCOM components of ActiveX controls. the server notifies the client about the events/alarms generated by the hardware devices. The following sections explain the callback protocol process and the notification messages.Chapter 3 COMMUNICATION SERVER CALLBACK PROTOCOL Overview The Communication Server API uses the asynchronous callback protocol mechanism provided by COM.

the server notifies the client about errors in the server using the method ServerErrors(sErrorMessage).dll contains the compiled WIN-PAK SE/PE communication server APIs. The communication server wrapper ACCW. The server responds to the call using the GotMessage(sMessage) method to notify the client of any events. In addition.… ) method.dll sends information about any events as a parameter in the GotMessage() method.2 . 69 © 2012 Honeywell International 2 3 Release 6. These APIs act as the interface between the client and the communication server. The ACCW. The communication server collects the information about the events generated in the hardware panels.MTSCBServer::InitServer method and passes the reference of the class that implements the IWPAVCallBack interface. the GotMessage() and ServerError() methods.Communication Server Callback Protocol Protocol Process The client application initiates the connection to the WIN-PAK SE/PE by passing a reference using the InitServer(IDispatch* Caller. The client calls the ACCW. Process Flow Diagram The procedural steps for comuunication between the ActiveX enabled client application and the server are as follows: 1 The client derives the IWPAVCallBack interface and implements its methods.

2 70 © 2012 Honeywell International . The following is an example of the sMessage parameter. The information about events/alarms is sent as the sMessage parameter of the GotMessage method.WIN-PAK SE/PE Communication Server API Public Interface Document Notification Message Tags The WIN-PAK SE/PE communication server informs the client about the events generated in the hardware panels through the notification messages. and the information each tag contains is listed in the following table. <NLZ> <AckStatus>1</AckStatus> <Idx>1</Idx> <TranID>1</TranID> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>4</DeviceID> <HID>23</HID> <Prio>1</Prio> <Date>2/16/07</Date> <Time>18:46:00</Time> <Cnt>1</Cnt> <Note>An operator note</Note> <SS>1</SS> <Status>Valid Card</Status> <EventID>701</EventID> <HIDSubType1>51</HIDSubType1> <Point>1008</Point> <Site>NCI</Site> <Account>NCI</Account> <CardNumber>1234</CardNumber> <FullName>Bunny Bugs</FullName> <RP>Panel 1 .Read 1</RP> </NLZ> Tag Descriptions The notification message tags. Indicates the end of the message. Release 6. Tags <NLZ> </NLZ> Description Indicates the beginning of the message. The information about the events/alarms is in different tags of the notification message.

Communication Server Callback Protocol Tags <AckStatus>. Point is the ID of device locations for multipoint devices such as a panel.</HID> The device ID can be a PanelID or a LoopID.</Point> The point ID. Note For a panel. If the user interface is configured to multiple communication servers.</TranID> <CommSrvID>. Priorities are assigned to events and alarms. Release 6. 2 indicates an acknowledged alarm.</CommSrvID> For internal use. <DeviceID>.</DeviceID> <HID>. 1 indicates a new alarm. -1 indicates an event.</Prio> The event priority. and performs many other functions based on the priority of the events.</Time> The date of the alarm/event. HID is the unique identifier for the devices configured in the WIN-PAK SE/PE suite of products. The HID tag in the notification message helps to identify the origin of the event. The time of the alarm/event. the point ID is based on the panel type. The hardware device ID. <Idx>. The WIN-PAK SE/PE acknowledges alarms. <Prio>. The identification number of the communication server that routes the alarm. • • A value greater than 0 indicates an alarm. <Point>. <TranID>.</Idx> Indicates if the message is an alarm or event. <Date>. this tag identifies the communication server that has sent the alarm.</AckStatus> Description The status of the alarm.2 71 © 2012 Honeywell International . • • • 0 indicates alarm is cleared. clears alarms.</Date> <Time>.

</Status> Additional information added by an operator.</Site> The site to which the device belongs.</Oper> Description The number of occurrences of the same type of alarm or event. EXAMPLE < EventID >405</ EventID > For more information on EventIDs. see Event Code List. The following is an example of an event that indicates Primary Power Failure.</TranType> The transaction type.2 72 © 2012 Honeywell International . Release 6. The WIN-PAK SE/PE operator. The WIN-PAK SE/PE operator logically groups the devices for easy monitoring/operating. <Site>.WIN-PAK SE/PE Communication Server API Public Interface Document Tags <Cnt>. The alarm status displays the reason for triggering of the alarm. The status of the alarm.</Cnt> <Oper>. EXAMPLE <Status>PrimaryPowerFailure </Status> <EventID>. <TranType>.</Note> <Status>. These logical groups are called sites.</EventID> The ID of the event/alarm generated from the panel. The operator is the person who acknowledges or clears the alarm/event. The transaction type can be any of the following: • • • Operator Note Alarm Ack Alarm Clr Note A new alarm does not have this tag in the notification message. <Note>.

</ADV_Status> <ADV_HID>. ".</RP> <HIDSubType1>. WIN-PAK SE/PE supports multiple accounts where the card and card holder information is partitioned.2 73 © 2012 Honeywell International . The name of the device. </HIDSubType1> <SS>. The field value is used for displaying alarms in the alarm window. The sub device type ID.Communication Server Callback Protocol Tags <Account>.. Sample Code to Extract Information from the Notification Messages An example of the message that the server sends to a simple parser is as follows: While (sInput <> "") sStr = GetStringFromTran(sInput) //Add sStr to Alarm/Event View using GetFieldFromTran(see GetStringFromTran) //. <CardNumber>. The type of device. 0) End If Wend where the GetStringFromTran function is as follows: Release 6. TRUE (any value other than 0) indicates the alarm must be replaced with an existing alarm FALSE (a zero) indicates the alarm must not be replaced and must be appended to the UI <ADV_Status>.</FullName> <RP>. "Internal Error: lCntr > cMaxLoopCnt..</SS> The card number. "". Len(sStr) + 1) lCntr = lCntr + 1 If lCntr > cMaxLoopCnt Then 'TODO. 'Error? '//Call MessageBox(0.</CardNumber> <FullName>.. The full name of the card holder.</ADV_DeviceName> The status ID of the device. The device HID..</ADV_DeviceType> <ADV_DeviceName>.</ADV_HID> <ADV_DeviceType>.</Account> Description The name of the account. The reader/point is the source of the alarm. sInput = Mid(sInput.

sFieldName As String) As String Dim lTmpB As Long Dim lTmpE As Long Dim sTmp As String On Error Resume Next GetFieldFromTran = "" lTmpB = InStr(sInTran. lTmpE (lTmpB + Len("<" + sFieldName + ">"))) End If End If End Function Release 6.WIN-PAK SE/PE Communication Server API Public Function GetStringFromTran(sInTran As String) As String Dim lTmpB As Long Dim lTmpE As Long Dim sTmp As String On Error Resume Next Public Interface Document GetStringFromTran = "" lTmpB = InStr(sInTran. lTmpB + Len("<" + sFieldName + ">"). lTmpE . "<NLZ>") lTmpE = InStr(sTmp. lTmpB) lTmpB = InStr(sTmp. you can use the following function. Public Function GetFieldFromTran(sInTran As String.2 74 © 2012 Honeywell International . lTmpB + Len("<NLZ>"). "<NLZ>") If lTmpB > 0 Then sTmp = Mid(sInTran. "<" + sFieldName + ">") If lTmpB > 0 Then sTmp = Mid(sInTran. "</NLZ>") If lTmpE > 0 And (lTmpB < lTmpE) Then GetStringFromTran = "<NLZ>" + Mid(sTmp.(lTmpB + Len("<NLZ>"))) + "</NLZ>" End If End If End Function To get multiple parameters from the message string. "</" + sFieldName + ">") If lTmpE > 0 And (lTmpB < lTmpE) Then GetFieldFromTran = Mid(sTmp. lTmpB) lTmpB = InStr(sTmp. "<" + sFieldName + ">") lTmpE = InStr(sTmp.

Reader 2</RP> </NLZ> Inference The source of the event is Pro2200 Reader 2. Release 6.2 75 © 2012 Honeywell International . Reader and Output Events Message String Example 1: <NLZ> <AckStatus>2</AckStatus> <Idx>-1</Idx> <CommSrvID>3</CommSrvID> <Account>Test</Account> <DeviceID>4</DeviceID> <HID>74</HID> <Prio>20</Prio> <Date>11/22/2007</Date> <Time>16:28:26</Time> <Cnt>2</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Door Ajar</Status> <EventID>721</EventID> <Point>1</Point> <Site>Pro-2200</Site> <RP>Pro-2200 .Communication Server Callback Protocol Examples of Panel Notification Messages A few examples of different types of alarm/event panel notification messages are listed in the following tables.

2 76 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Example 2: <NLZ> <AckStatus>2</AckStatus> <Idx>-1</Idx> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>31</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>14:47:02</Time> <Cnt>2</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Door Ajar</Status> <EventID>721</EventID> <Point>1</Point> <Site>PW-5000 2200</Site> <RP>Loop 2 Panel 1 R2-Output</RP> </NLZ> The source of the event is Loop 2 Panel 1 R2-Output. Release 6.

2 77 © 2012 Honeywell International . Example 4: <NLZ> <AckStatus>2</AckStatus> <Idx>1</Idx> <TranID>1</TranID> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>31</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>14:47:02</Time> <Cnt>2</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Door Ajar</Status> <EventID>721</EventID> <HIDSubType1>43</HIDSubType1> <Point>1</Point> The source of the alarm is Loop 2 Panel 1 R2-Output and the device sub type is HID_OUTPUT_PW5000.Communication Server Callback Protocol Reader and Output Alarms Message String Example 3: <NLZ> <AckStatus>1</AckStatus> <Idx>2</Idx> <TranID>1</TranID> <CommSrvID>3</CommSrvID> <Account>Test</Account> <DeviceID>4</DeviceID> <HID>74</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>14:43:10</Time> <Cnt>1</Cnt> <Note></Note> <SS>1</SS> <Status>Door Normal</Status> <EventID>719</EventID> <HIDSubType1>53</HIDSubType1> <Point>1</Point> <Site>Pro-2200</Site> <RP>Pro-2200 .Reader 2</RP> </NLZ> Inference The source of the alarm is Pro2200 Reader 2 and the device sub type is HID_ENTRANCE_PW5000_DOOR. Release 6.

Input Event Message String Example 5: <NLZ> <AckStatus>2</AckStatus> <Idx>-1</Idx> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>39</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>14:48:01</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Input Alarm</Status> <EventID>501</EventID> <Point>4</Point> <Site>PW-5000</Site> <RP>N1000 – In4</RP> </NLZ> Inference The source of the event is from Input 4 of the N1000 panel.2 78 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Message String <Site>PW-5000 2200</Site> <RP>Loop 2 Panel 1 R2-Output</RP> </NLZ> Inference Note Using the Idx tag you can differentiate an alarm or an event notification message. Release 6. A positive value in the Idx tag indicates an alarm. a -1 in the Idx tag indicates an event. However.

Release 6.Communication Server Callback Protocol Message String Example 6: <NLZ> <AckStatus>2</AckStatus> <Idx>-1</Idx> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>4</DeviceID> <HID>52</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>14:48:01</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Input Alarm</Status> <EventID>501</EventID> <Point>4</Point> <Site>PW-5000</Site> <RP>N1000 – In4</RP> </NLZ> Inference The source of the event is from Input 4 of the N1000 panel. Input Alarm Message String Example 7: <NLZ> <AckStatus>2</AckStatus> <Idx>1</Idx> <TransID>1</TransID> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>39</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>22:48:01</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Input Alarm</Status> <EventID>501</EventID> <HIDSubType1>34</HIDSubType1> <Point>4</Point> Inference The source of the alarm is from Input 4 of the N1000 panel and the device sub type is HID_INPUT_PW5000_SUPER.2 79 © 2012 Honeywell International .

WIN-PAK SE/PE Communication Server API Public Interface Document Message String <Site>PW-5000</Site> <RP>N1000 – In4</RP> </NLZ> Inference Example 8: <NLZ> <AckStatus>2</AckStatus> <Idx>1</Idx> <TransID>1</TransID> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>4</DeviceID> <HID>52</HID> <Prio>20</Prio> <Date>2/16/2007</Date> <Time>22:48:01</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>Input Alarm</Status> <EventID>501</EventID> <HIDSubType1>34</HIDSubType1> <Point>4</Point> <Site>PW-5000</Site> <RP>N1000 – In4</RP> </NLZ> The source of the alarm is from Input 4 of the N1000 panel and the device sub type is HID_INPUT_PW5000_SUPER. Release 6.2 80 © 2012 Honeywell International .

2 81 © 2012 Honeywell International . Release 6.Communication Server Callback Protocol Panel Event Message String Example 9: <NLZ> <AckStatus>2</AckStatus> <Idx>-1</Idx> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>38</HID> <Prio>10</Prio> <Date>2/16/2007</Date> <Time>22:47:07</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>PollResponseNormal</Status> <EventID>408</EventID> <Point>0</Point> <Site>PW-5000</Site> <RP>PW-5000</RP> </NLZ> Inference The source of the event is from the PW-5000 panel.

2 82 © 2012 Honeywell International .WIN-PAK SE/PE Communication Server API Public Interface Document Panel Alarm Message String Example 10: <NLZ> <AckStatus>2</AckStatus> <Idx>1</Idx> <TransID>1</TransID> <CommSrvID>1</CommSrvID> <Account>Test</Account> <DeviceID>3</DeviceID> <HID>38</HID> <Prio>10</Prio> <Date>2/16/2007</Date> <Time>22:47:07</Time> <Cnt>1</Cnt> <Oper>Admin</Oper> <TranType>Ack</TranType> <Note></Note> <Status>PollResponseNormal</Status> <EventID>408</EventID> <HIDSubType1>29</HIDSubType1> <Point>0</Point> <Site>PW-5000</Site> <RP>PW-5000</RP> </NLZ> Inference The source of the alarm is from the PW-5000 panel. Release 6. Note The zero value in the Point tag indicates that the panel is the source of the alarm/event. Device Status Message String Example 11: <NLZ> <ADV_Status>603</ADV_Status> <ADV_Hid>20</ADV_Hid> <ADV_DeviceType>16</ADV_DeviceType> <ADV_DeviceName>Loop</ADV_DeviceName> </NLZ> Inference The status of the abstract device is Loop OK.

2 83 © 2012 Honeywell International .39. Communication Server Lost Connection Message String Example 1: <NLZ> <Message>LOST_CONNECTION <CommSrvID>1</CommSrvID> <CommSrvName>CommServer</CommSrvName> <SrvMachineName>199. Examples of WIN-PAK SE/PE Notification Messages A few examples of different types WIN-PAK SE/PE notification messages are listed in the following tables. Release 6.63.58</SrvMachineName> <Date>07/20/2007</Date> <Time>16:47:21</Time> </Message> </NLZ> Inference The Communication Server 1 lost connection.Communication Server Callback Protocol Schedule Server Status Message String Example 12: <NLZ> <ADV_Status>803</ADV_Status> <ADV_Hid>43</ADV_Hid> <ADV_DeviceType>3</ADV_DeviceType> <ADV_DeviceName>SchServer</ADV_DeviceName> </NLZ> Inference The status of the abstract device is Loop OK.

39.58</SrvMachineName> <Date>07/20/2007</Date> <Time>16:47:21</Time> </Message> </NLZ> Inference The Communication Server 1 regained the lost connection. Database Server Regained Connection Message String Example 4: <NLZ> <Message>REGAINED_CONNECTION <DatabaseSrvID>1</DatabaseSrvID> <DatabaseSrvName>CommServer</DataSrvName> <SrvMachineName></SrvMachineName> <Date>07/20/2007</Date> <Time>16:47:21</Time> </Message> </NLZ> Inference The Database Server 1 regained the lost connection.63.2 84 © 2012 Honeywell International . Database Server Lost Connection Message String Example 3: <NLZ> <Message>LOST_CONNECTION <DatabaseSrvID>1</DatabaseSrvID> <DatabaseSrvName>CommServer</DataSrvName> <SrvMachineName></SrvMachineName> <Date>07/20/2007</Date> <Time>16:47:21</Time> </Message> </NLZ> Inference The Database Server 1 lost connection. Release 6.WIN-PAK SE/PE Communication Server API Public Interface Document Communication Server Regained Connection Message String Example 2: <NLZ> <Message>REGAINED_CONNECTION <CommSrvID>1</CommSrvID> <CommSrvName>CommServer</CommSrvName> <SrvMachineName>199.

When an input is unshunted. and protocols can be accommodated on the low-speed side. The location of the peripheral device connected to the control panel. The ADVs can be associated with any hardware device. usually synchronous channels. usually asynchronous channels and one or more highspeed. A functional unit that permits a common path to handle more data sources than the channels currently available within the path. including communication interfaces. A peripheral device connected to the control panel that reads and sends the card information to the control panel. The low-speed channels usually operate in contention and require buffering. physical changes of state are not recognized. The pulse time is the amount of time the output point is energized when triggered.Glossary Abstract Device A logical representation of a physical device. alarm points and entrances. codes.2 85 © 2012 Honeywell International . Concentrator Point Pulse Reader Shunt and UnShunt Release 6. A concentrator usually provides communication capability between many low-speed. all physical changes of state (openings and closures) are recognized. When an input is shunted. Input points or Alarm points have software states of UNSHUNTED (active) and SHUNTED (not active). Usually different speeds. panels.

........... 32........................ 25.................................................................... 46 Communication Server Lost Connection .........................................................................................................Index A Abstract Devices Status Definitions .................. 56............... 42 EntryPointUnLockByID ........................ 44 Event Code List ........ 24 Device ............................ 38......... 34... 52.................................................... 26 HIDType............40 AddNote......... 16 CommunicationAPIServer ............................. 48 DeEnergize ................................................... 45 Description ........................................... 82 Input Alarm ............ 43 Enumeration Types HIDSubType1 .................. 54............................ 35...................................... 32............................................. 33......................... 29........... 69 Installing ........49 EntryPointLockByID ............. 84 G GetDetailsByID................. 31................ 59 ACCW........................ 27 P PulseByHID ............... 55 DoneServer ..................... 58...................................................................... 24 L ListConnectedDevices .. 53........................... 28 CardNumber(get).......................................................40 Communication Server API Functionalities .......... 51....................................................... 24 O Object Specifications........................................... 30.... 70 C CallBack Protocol ... 79 Input Event ........... 43 AlarmUnShuntByHID ............. 39 DoorModeByHID ........ 68 Card Properties .............................................................................. 29...... 48 N Notification Message Tag Descriptions ................. 24 Enumeration Types ....................................................... 69 AckAlarm ............................................................................ 78 S ServerErrors. 37 I InitServer .......................... 30.................................... 38 Component Model Diagram.......................... 66 GotMessage....................... 11 Connecting API Client and Server ................................ 70 E Energize ............. 50........................................ 84 Database Server Regained Connection ...........49....... 69 Release 6.................. 83 Communication Server Regained Connection .. 44 Panel Alarm .. 34.... 38.......................................................... 84 Database Server Lost Connection............................................................................................... 36 CardNumber(put) 28............ 21 D Data Structures................................. 81 Reader and Output Alarms ... 25 wpviewTYPE ..............................................................................dll . 42 GetStatus..... 70 Tags ...................................................................... 75 Schedule Server Status ...................... 12 ClrAlarm .................. 33.................. 12 IWPAVCallBack ......... 35. 69..................... 83 Examples of WIN-PAK CS Notification Messages ........................................ 83 B BufferByHID ....................................................................................................... 61 Event ID Examples of Notification Messages ...................................................................... 28... 69 CommunicationAPIClient ...... 82 Panel Event ............................. 75 R RestoreTZByHID .......................................2 86 © 2012 Honeywell International ..................41 AlarmShuntByHID ...................... 36........ 77 Reader and Output Events ............... 61 Device Status ...................................... 31.. 54......

.................................................................................................................................................................................... 70 <Note>............................ 72 T Tag Descriptions ................................. 73 <ADV_HID>.................... 71 <ADV_DeviceName> ............. 73 <Cnt> ......................... 71 <TranType> ...................................................................................... 71 <Date> ............ 71 <NLZ> .............................. 72 <Time>...................................................................................... 72 <FullName> ......................................................................... 71 TimedPulseByHID.............................. 72 <Oper>.......................................................................................................................................................... 71 <TranID> ......................... 71 <Prio> ........... 73 <Status>........ 71 <EventID> .......................................................... 73 <ADV_DeviceType>.. 73 <Idx>..... 73 <AckStatus>............................................................................... 72 <SS> ....... 59 <HIDSubType1>.............................................................................................. 47 Release 6....................................................................... 11 Descriptions................................................................ 71 <RP> ................... 73 <HID> .............................. 72 <CommSrvID> ........ 73 <CardNumber> .............................................................. 73 <ADV_Status>....................................... 70 <Account> .......................................................................................................................................................................................................2 87 © 2012 Honeywell International ........................... 72 <Point> .....................Index Status ID Supported Operating Systems...................................................................................... 71 <DeviceID> .................................................................................. 44 U UnBufferByHID ....................................................... 73 <Site>................

.

.S.com Honeywell Access Systems Charles Avenue. WI 53154 U.K Tel: +44 (0)1444 251180 Fax: +44 (0)1444 871074 Specifications subject to change without notice. RH15 9UF U. All rights reserved.A Tel: 800-323-4576 Fax: 414-766-1798 Office Hours: 7 AM to 7 PM (CST) E-mail: HASsupport@honeywell.honeywellaccess.com URL: http://www. © 2012 Honeywell International. Burgess Hill West Sussex.Honeywell Access Systems 135 West Forest Hill Avenue Oak Creek.

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.