SmartLink Reference Manual DN1327-1004
SmartLink Reference Manual DN1327-1004
Reference Manual
Reference Manual
DN1327-1004
EntraPass SmartLink Reference Manual
TABLE OF CONTENTS
DN1327-1004 I
5.28 HardResetController ...................................................................................... 34
5.29 SoftResetController ....................................................................................... 34
5.30 ForgiveController ........................................................................................... 35
5.31 ReloadController ............................................................................................ 35
5.32 LockDoor ....................................................................................................... 35
5.33 UnlockDoor .................................................................................................... 36
5.34 UnlockTempoDoor ......................................................................................... 36
5.35 ReturnScheduleDoor ..................................................................................... 36
5.36 ToggleDoorStrike ........................................................................................... 37
5.37 LockDoorGroup ............................................................................................. 37
5.38 UnlockDoorGroup .......................................................................................... 37
5.39 UnlockTempoDoorGroup ............................................................................... 38
5.40 ReturnScheduleDoorGroup ........................................................................... 38
5.41 ArmDoor ........................................................................................................ 39
5.42 DisarmDoor ................................................................................................... 39
5.43 ArmDoorGroup .............................................................................................. 39
5.44 DisarmDoorGroup ......................................................................................... 40
5.45 DeactivateRelay ............................................................................................ 40
5.46 ActivateRelay ................................................................................................. 40
5.47 ActivateTempoRelay ..................................................................................... 41
5.48 ReturnScheduleRelay .................................................................................... 41
5.49 ToggleRelayActivation ................................................................................... 42
5.50 DeactivateRelayGroup .................................................................................. 42
5.51 ActivateRelayGroup ....................................................................................... 42
5.52 ActivateTempoRelayGroup ........................................................................... 43
5.53 ReturnScheduleRelayGroup .......................................................................... 43
5.54 UnshuntInput ................................................................................................. 44
5.55 ShuntInput ..................................................................................................... 44
5.56 ShuntInputTempo .......................................................................................... 44
5.57 SuperviseInput ............................................................................................... 45
5.58 ReturnScheduleInput ..................................................................................... 45
5.59 ToggleInputShunt .......................................................................................... 46
5.60 UnshuntInputGroup ....................................................................................... 46
5.61 ShuntInputGroup ........................................................................................... 46
5.62 ShuntTempoInputGroup ................................................................................ 47
5.63 SuperviseInputGroup ..................................................................................... 47
5.64 ReturnScheduleInputGroup ........................................................................... 48
5.65 EnableDoor .................................................................................................... 48
5.66 DisableDoor ................................................................................................... 48
5.67 EnableDoorGroup .......................................................................................... 49
5.68 DisableDoorGroup ......................................................................................... 49
5.69 LockElevatorDoor .......................................................................................... 50
5.70 UnlockElevatorDoor ....................................................................................... 50
5.71 UnlockTempoElevatorDoor ........................................................................... 50
5.72 ReturnScheduleElevatorDoor ........................................................................ 51
5.73 LockElevatorDoorGroup ................................................................................ 51
5.74 UnlockElevatorDoorGroup ............................................................................. 52
5.75 UnlockTempoElevatorDoorGroup ................................................................. 52
5.76 ReturnScheduleElevatorDoorGroup .............................................................. 52
5.77 EnableElevatorDoor ...................................................................................... 53
5.78 DisableElevatorDoor ...................................................................................... 53
5.79 EnableElevatorDoorGroup ............................................................................ 54
II DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 III
5.132 DeleteSite .................................................................................................... 82
5.133 AddController (ExpressSetup) ..................................................................... 82
5.134 GetController ............................................................................................... 85
5.135 ModifyController .......................................................................................... 85
5.136 DeleteController ........................................................................................... 86
5.137 GetDoor ....................................................................................................... 86
5.138 ModifyDoor .................................................................................................. 90
5.139 DeleteDoor .................................................................................................. 90
5.140 GetRelay ...................................................................................................... 90
5.141 ModifyRelay ................................................................................................. 91
5.142 DeleteRelay ................................................................................................. 91
5.143 GetInput ....................................................................................................... 91
5.144 ModifyInput .................................................................................................. 92
5.145 DeleteInput .................................................................................................. 93
5.146 GetOutput .................................................................................................... 93
5.147 ModifyOutput ............................................................................................... 94
5.148 DeleteOutput ............................................................................................... 94
5.149 GetSiteStructure .......................................................................................... 94
5.150 GetSiteCard ................................................................................................. 95
5.151 AddAccount ................................................................................................. 95
5.152 GetAccount .................................................................................................. 96
5.153 ModifyAccount ............................................................................................. 97
5.154 DeleteAccount ............................................................................................. 97
5.155 SwitchAccount ............................................................................................. 97
6.0 - SmartDll................................................................................... 99
7.0 - Appendix #1, Error messages............................................. 108
8.0 - Appendix #2, EntraPass events .......................................... 111
IV DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 V
VI DN1327-1004
EntraPass SmartLink Reference Manual
1.0 - Introduction
The SmartLink option is available with EntraPass Corporate and Global editions and provides optimal
automated monitoring tools to security, monitoring, configuration and automation administrators.
One of the main features consists in creating SmartLink instructions (events generator) through which,
for example, e-mails are s ent to a p redefined recipient when predetermined alarm events such as a
“door forced” or “card trace”occur.
From the Entra Pass interface, the SmartLi nk oper ation ca n be invoked through the De finition t ab |
Event Trigger.
The figure below indicates a SmartLink command being requested after an event has been initiated:
The Event Trigger feature sends the task to be executed to the SmartLink application:
DN1327-1004 1
Below is the main window of the SmartLink application, in which SmartLink tasks are executed:
2 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 3
4 DN1327-1004
EntraPass SmartLink Reference Manual
EntraPass Server
SmartLink
Id = 2000
Network Id = 1000 Id = 3000 Id = 4000
RS-232
Modem
Pager
Disk or CD
DN1327-1004 5
3.1 List of Message Variables
Variable Description
$a Year (4 characters)
$b Month (2 characters)
$c Day (2 characters)
$d Hour (2 characters)
$e Minute (2 characters)
$f Second (2 characters)
$g Event number (4 characters)
$h Event text (up to 50 characters)
$l1 Number of indexes #1 fixed (2 characters)
$m1 Text of index #1
$n1 Number of fields #1
$o 1 Text of field #1
$l2 Number of indexes #2 (2 characters)
$m2 Text of index #2
$n2 Number of fields #2
$o2 Text of field #2
$l3 Number of indexes #3 (2 characters)
$m3 Text of index #3
$n3 Number of fields #3
$o3 Text of field #3
$l4 Number of indexes #4 (2 characters)
$m4 Text of index #4
$n4 Number of fields #4
$o4 Text of field #4
$z0 Card number
$z1 Card user name
$z2 Card Information field #1
$z3 Card Information field #2
$z4 Card Information field #3
$z5 Card Information field #4
$z6 Card Information field #5
$z7 Card Information field #6
$z8 Card comment field
$z9 Card Information field #7
$za Card Information field #8
$zb Card Information field #9
$zc Card Information field #10
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
6 DN1327-1004
EntraPass SmartLink Reference Manual
Here is a list of the possible values for the index number and the index text
DN1327-1004 7
Index Number Index Text
23 Input group
24 Instruction
25 Trigger
26 Roll call report
35 Video record
36 Panel
37 Panel component
39 Muster report
41 Tenant
42 Camera
43 Message view
44 EntraPass Application
45 Operator
46 Security level
47 Output
48 Video trigger
49 Relay
50 Relay group
51 Archival Report
52 Schedule
53 Site
54 Time and attendance report
55 Tenant list
57 Account
58 Workspace
59 Task builder
60 Badging
61 DVR
62 Video view
63 Area group
8 DN1327-1004
EntraPass SmartLink Reference Manual
Variable Description
$p Save SmartLink actual mode
This command allows sending data over the network via TCP-IP (SmartDll.dll). A value
corresponding to an identifier is included with this command, the value should range between 0 and
$r 65000 inclusive.
ex : $r25$r
$r begins and ends the command. If the identifier’s value = 0, then send to all clients
Reset of the serial output and communication speed for bidirectional
$s ex : $s com1:9600$s
$s begins and ends the command
$t Restore SmartLink mode previously saved
Reset of the serial output and communication speed for unidirectional
ex : $u com1:9600$u
$u
$u begins and ends the command
This command activates the serial output mode
Defines a file for future writing use
ex : $vc:\ep_2000.inf$v
$v the file is c:\ep_2000.inf
$v begins and ends the command
This command activates the disk writing mode
$w Close the file previously opened with $v....$v
Write the data on the hard disk Forced writing of the opened file (close / open)
$x
if the disk writing mode is not enabled, nothing will be processed
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
DN1327-1004 9
3.3 Secondary Commands
Command Description
<xxxx> Processing of a numeric value (xxxx = numeric value to be inserted fully)
“text” Processing of a character string (all characters between quotation marks (“) will be inserted fully)
|: Insert a carriage return and a line feed
The following commands must be inserted between the character $ and the command’s letter.
Command Description
Processes characters on the left only (xxx = indicates the number of characters to keep in the
[xxx command’s characters string)
Ex: $[15h, only the first 15 characters from the left will be kept
Processes characters on the right only (xxx = indicates the number of characters to keep in the
]xxx command’s characters string)
Ex: $[10z1 only the first 10 characters from the right will be kept
{ Deletes spaces at right of text
Increments the command’s numeric value
+
Ex: $+c the current day’s value is incremented of 1
Decrements the command’s numeric value
-
Ex: $-g the event’s number value is decremented of 1
~w”xxxxxxx Delay of xxxxxxxxxx in tenth of seconds before the next character is sent, in serial output sending
xx” mode. If this command is received in disk writing mode, it will be ignored
Language selection to interpret instructions
~l”x”
x = 1 (first language) or 2 (second language)
:
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
10 DN1327-1004
EntraPass SmartLink Reference Manual
3.4 Emailing
Command Description
~e Indicates the beginning of an email
The email sender’s address
Must include < “> at the beginning and at the end of the address
~f”xxxxx” xxxxx = email address
On some sites, this address must be valid on the email server account in order to send the email
out of the local network.
The email addressee’s address
Must include < “> at the beginning and at the end of the address
~a”xxxxx”
xxxxx = email address
Multiple addresses can be defined (see example below)
The email CC’s address
Must include < “> at the beginning and at the end of the address
~o”xxxxx”
xxxxx = email address
Multiple addresses can be defined (see example below)
The email’s subject
~t”xxxxx” Must include < “> at the beginning and at the end of the subject (title)
xxxxx = subject content (title)
The email’s content (text)
Must include < “> at the beginning and at the end of the subject
~c”xxxxx” xxxxx = email content
Each command of this type corresponds to a distinct line of text in the email (see example
below)
~s Indicates the end of the email and triggers an immediate sending
DN1327-1004 11
Example 1:
Single address email
Example 2:
Multiple addresses email, with no address in CC.
Example 3:
Single address email with primary i nstructions included in the tex t. Year, month and current day are
added at the end of email title. The text section can be empty in a email.
Example 4:
To define the email, all the primary commands previously defined can be used to build the email title or
content.
Important: An email instru ction must begin with the < ~e > command and
end with < ~s >. The order of commands inserted between the
beginning and end of the email is irrelevant. This instruction can
contain multiple address commands (a ddressees and CC), an d
also many commands of < ~c > type corresponding to a distinct
line of text in the email.
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
12 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 13
3.5 Modem and Pager
Command Description
Modem start-up and initialization for the selected serial output
x = serial output 1 to xx
yyyy = modem speed in baud rates (default : 19200)
xxxxxxxx = characters string for the modem initialization.
~m”x:yyyy :xxxxxxxx” The characters string for the modem initialization can be omitted. In this case,
the modem will use the default characters string.
ex : ~m”1:9600” (modem initialization for COM 1 serial output at the speed of
9600 bauds)
ex : ~m”1:9600 :ATX4M1V1E0” (modem initialization for COM 1 serial output at
the speed of 9600 bauds with a characters string)
Dialing of phone number xxxxxxx. z is the number of redial attempts in case of
~dz”xxxxxxx”
failure.
Send a numeric message to a pager.
xxxxxxxx : phone number to dial
~p”xxxxxxx:yyyy:zzzzzzzzzzzz”
yyyy: delay before sending the message
zzzzzzzzzzzz : message (numeric only)
Modem connection delay :
~b”xxxx:yyyy” xxxx = connection delay (dial) in seconds
yyyy = delay in seconds between each connection trial in case of failure.
~h Hang-up the line for the modem in use
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
14 DN1327-1004
EntraPass SmartLink Reference Manual
3.6 Network
In ’Message Mode’, the instructions used to send data via the network can be redirected to a specific
client application or to all the client applications connected to the SmartLink network. The result of a n
instruction depe nds on th e identi fier included in the message, the last selected identifier or th e
identifier defined during the initialization process.
Example:
ID = 0 ($r0$r), this instruction in ‘MessageMode’ returns the result to all the clients actually connected
to the SmartLink server. The identifier 0 indicates a sending to all connected clients.
ID = xx ($r25$r), this instruction in ‘MessageMode’ returns the result to a client with an identifier #25.
If no client application with this identifier is connected, the system will put the information on stand-by
until the application is reconne cted. As soon as the application is reconnected, all the information on
DN1327-1004 15
stand-by will be sent. If more th an one person is connected using the same identifier, the system will
keep only the last connected one.
Note: The information on stand-by wil l be d eleted if SmartLink is stopp ed be fore the client
application with this identifier was connected.
The EntraPass Command Editor can be used to generate the code needed to execute the operation.
16 DN1327-1004
EntraPass SmartLink Reference Manual
4.1.1 IP Network
A co mmand re ceived vi a the IP Netwo rk is tre ated Immediately. SmartLi nk is cap able of re ceiving
many simultaneous commands but processes them in chronological order. The data format, explained
in the following sections, relates to the data that pass through the SmartDll as a packet.
The formatted packet must always begin with an STX byte to iden tify its starting point. The command
is then pre ceeded w ith “ Command=”. Th e FS byte delimiter must fo llow the comma nd an d any
provided p arameters. Th e last byte within th e fo rmatted packet must be an ETX that specifies the
ending point. The parameters are optional and may be placed in any order since keywords are used.
All keywords must be followed with an equ al sign. The characters are not case sensitive. Spaces are
not allowed within the command or operator keywords.
In both cases, the command format is identical for the IP Network and the Serial Port.
DN1327-1004 17
4.3.1 Serial Port
The whole result and the optional parameters are returned as described here:
4.3.1 IP Network
The result is returned by the DLL function call in two parts:
a. Integer value returned from the DLL function call return.
b. Optional parameters returned by the DLL within a provided buffer according to this format:
18 DN1327-1004
EntraPass SmartLink Reference Manual
5.0 - Commands
This section provides details on each command that can be sent to SmartLink.
DN1327-1004 19
Commands Description Paragraph
EnableFloorElevatorDoorGroup1 Enable floor group for a group of cabs (door) 2.83
ExecuteTask Call all gateway sites with modified data 2.102
ForgiveController Reset the Anti-Passback 2.30
GatewayStatus Receive the gateway status 2.86
2 Get access level description 2.109
GetAccessLevelDescription
GetCardAccessGroup2 Get card access group information 2.108
GetCardInfo Retrieve card specific information 2.9
GetCardInfoPicture1 Retrieve card specific information and Picture 2.10
GetCardPicture2 Retrieve card Picture 2.11
GetCardSignature2 Retrieve card Signature 2.13
GetCountUsage Get the maximum number of a card usages 2.17
GetDescription2 Get the description of a specific component 2.105
2 Get a list of component specific parameters 2.115
GetFind
GetFindNext2 Get a list of component specific parameters (next) 2.116
20 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 21
Commands Description Paragraph
ToggleDoorStrike1 Toggle the Door Strike 2.36
1 Recently added.
2 SDK only.
3 Not yet supported.
Commands Description
Add an access level to the system. A maximum of 250 access levels can be
AddAccessLevel
programmed per site.
AddController Add a controller to the system. Can create relay, input, door, output in the same way as
(ExpressSetup) the ExpressSetup utility
AddHoliday Add a holiday
AddSchedule Add a schedule to the system. A maximum of four intervals can be configured
Add a site to the system. Can create controllers in the same way as the fastSetup
AddSite (FastSetup)
utility
DeleteAccessLevel Delete an access level to the system
DeleteController Delete a Controller within the system according to its reference number
DeleteDoor Delete a door in the system according to its reference
DeleteHoliday Delete a holiday
DeleteInput Delete an input in the system according to its reference
DeleteOutput Delete an output in the system according to its reference
DeleteRelay Delete a relay in the system according to its reference
DeleteSchedule Delete a schedule in the system
DeleteSite Delete a site in the system according to its reference number
GetAccessLevel Get access level details
22 DN1327-1004
EntraPass SmartLink Reference Manual
Commands Description
GetController Get controller details
GetDoor Add a door to the system
GetHoliday Get holiday details
GetInput Add an input in the system
GetOutput Add an output in the system
GetRelay Add a relay in the system
GetSchedule Get schedule details
GetSite Get site details
GetSiteCard Advanced command to retrieve all cards from a specific site
Advanced command to retrieve all component references from a specific site. Allow
GetSiteStructure
MAS to make the component association
ModifyAccessLevel Modify an access level in the system
ModifyController Modify a controller in the system according to its reference number
ModifyDoor Modify a door in the system according to its reference
ModifyHoliday Modify a holiday
ModifyInput Modify an input in the system according to its reference
ModifyOutput Modify an output in the system according to its reference
ModifyRelay Modify a relay in the system according to its reference
ModifySchedule Modify a schedule in the system
ModifySite Modify a site in the system according to its reference number
5.3 Login
This comma nd all ows a new use r to reque st a conn ection to the netw ork acco rding to the p rovided
username and password. All commands (except for lo gin and logoff) need Login executed first to be
processed successfully.
Returned data :
5.4 Logout
This command allows the operator to disconnect from the SmartLink network.
DN1327-1004 23
Returned data :
5.5 ConnectionState
This command allows the operator to disconnect from the SmartLink network.
Returned data :
5.6 AddCard
This command a dds a card in the syste m. If the ca rd a lready exist s, then the correspon ding error
message is displayed.
24 DN1327-1004
EntraPass SmartLink Reference Manual
5.7 ModifyCard
This command modifies a card in the system.
DN1327-1004 25
Field Keyword & format Detail
See section 17: Returned
Format Most common returned values:
Result for format details. 0 = SMARTLINK_COMMAND_OK (granted)
See Appendix #1 for all returned 38 = SMARTLINK_INVALIDCARDNOTEXIST
codes.
5.8 DeleteCard
This command deletes a card in the system according to its number.
Returned data:
5.9 GetCardInfo
This command retrieves a card information according to its number.
Returned data:
26 DN1327-1004
EntraPass SmartLink Reference Manual
Note: The pi cture data associated to the card is of JPEG fo rmat an d is re turned wh en
invoking the SendDataPicture() to be saved as a file according to the filename provided
as an argument to the function.
5.10 GetCardInfoPicture
This command retrieves a card information and picture according to its number
Returned data:
DN1327-1004 27
Note: The pi cture data associated to the card is of JPEG fo rmat an d is re turned wh en
invoking the SendDataPicture() to be saved as a file according to the filename provided
as an argument to the function.
5.11 GetCardPicture
This command retrieves a card Picture according to its number
Returned data:
5.12 SetCardPicture
This command changes a card picture according to its number
Returned data:
5.13 GetCardSignature
This command gets a card Signature according to its number
Returned data:
28 DN1327-1004
EntraPass SmartLink Reference Manual
5.14 SetCardSignature
This command sets a card signature according to its number
Returned data:
5.15 GetNip
This command gets the PIN of a card in the system according to its number.
Returned data:
5.16 SetNip
This command changes the PIN of a card in the system according to its number.
DN1327-1004 29
Field Keyword & format Detail
Command Command
= SetNip
CardNumber=xxxx :xxxx OR x format is based on system definition
Parameter1
CardId=y y is the unique system based number (PkData)
Parameter1 8000NIP=x x is the card PIN
Returned data:
5.17 GetCountUsage
This command gets the count usage of a card in the system according to its number.
Returned data:
5.18 SetCountUsage
This command sets the count usage of a card in the system according to its number.
Returned data:
30 DN1327-1004
EntraPass SmartLink Reference Manual
5.19 SetCountUsageManual
This command sets the count usage of a card and set the manual operation in the system.
Returned data:
5.20 DecCountUsage
This command removes 1 from the count usage of a card in the system.
Returned data:
5.21 IncCountUsage
This command adds 1 to the count usage of a card in the system.
DN1327-1004 31
Field Keyword & format Detail
Command Command
= IncCountUsage
CardNumber=xxxx :xxxx OR x format is based on system definition
Parameter1
CardId=y y is the unique system based number (PkData)
Returned data:
5.22 ResetCountUsage
This command restarts count usage to 0 of a card in the system.
Returned data:
5.23 GetLastAddedCard
This command retrieves the last added card ID.
Returned data:
32 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
Returned data:
Returned data:
DN1327-1004 33
5.27 AreaMoveCard (Global only)
This command moves a card to a specific area.
Returned data:
5.28 HardResetController
This command performs a hard reset on a controller.
Returned data:
5.29 SoftResetController
This command performs a soft reset on a controller.
Returned data:
34 DN1327-1004
EntraPass SmartLink Reference Manual
5.30 ForgiveController
This command clears the Anti-Passback.
Returned data:
5.31 ReloadController
This command reloads the controller database.
Returned data:
5.32 LockDoor
This command locks a door according to its identifier.
Returned data:
DN1327-1004 35
5.33 UnlockDoor
This command unlocks a door according to its identifier.
Returned data:
5.34 UnlockTempoDoor
This command temporarily unlocks a door according to its identifier.
Returned data:
5.35 ReturnScheduleDoor
This command returns a door to the normal schedule.
Returned data:
36 DN1327-1004
EntraPass SmartLink Reference Manual
5.36 ToggleDoorStrike
This command toggles the door strike.
Returned data:
5.37 LockDoorGroup
This command locks a group of doors according to its identifier.
Returned data:
5.38 UnlockDoorGroup
This command unlocks a group of doors according to its identifier.
DN1327-1004 37
Field Keyword & format Detail
Command Command
= UnlockDoorGroup
Parameter1 DoorGroupId=x x is the door group reference ID
Returned data:
5.39 UnlockTempoDoorGroup
This command temporarily unlocks a group of doors according to its identifier.
Returned data:
5.40 ReturnScheduleDoorGroup
This command returns a group of doors to the normal schedule.
Returned data:
38 DN1327-1004
EntraPass SmartLink Reference Manual
5.41 ArmDoor
This command arms the alarm on a door. Only available with the Corporate edition.
Returned data:
5.42 DisarmDoor
This command disarms the alarm on a door. Only available with the Corporate edition.
Returned data:
5.43 ArmDoorGroup
This command arms a group of doors according to its identifier.
Returned data:
DN1327-1004 39
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.44 DisarmDoorGroup
This command disarms a group of doors according to its identifier.
Returned data:
5.45 DeactivateRelay
This command deactivates a relay according to its identifier
Returned data:
5.46 ActivateRelay
This command activates a relay according to its identifier
40 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.47 ActivateTempoRelay
This command temporarily activates a relay according to its identifier
Returned data:
5.48 ReturnScheduleRelay
This command returns a relay to its normal schedule according to its identifier
Returned data:
DN1327-1004 41
Field Keyword & format Detail
See section 17: Returned Format
for format details. Most common returned values:
Result
See Appendix #1 for all returned 0 = SMARTLINK_COMMAND_OK
codes.
5.49 ToggleRelayActivation
This command toggles the relay state according to its identifier.
Returned data:
5.50 DeactivateRelayGroup
This command deactivates a group of relays according to its identifier.
Returned data:
5.51 ActivateRelayGroup
This command activates a group of relays according to its identifier.
42 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.52 ActivateTempoRelayGroup
This command temporarily activates a group of relays according to its identifier.
Returned data:
5.53 ReturnScheduleRelayGroup
This command returns a group of relays to normal schedule according to its identifier.
Returned data:
DN1327-1004 43
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.54 UnshuntInput
This command forces an input to be monitored according to its identifier.
Returned data:
5.55 ShuntInput
This command prevents an input from being monitored according to its identifier.
Returned data:
5.56 ShuntInputTempo
This command temporarily prevents an input from being monitored according to its identifier.
44 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.57 SuperviseInput
This command continuously supervises an input according to its identifier.
Returned data:
5.58 ReturnScheduleInput
This command returns an input to its normal schedule according to its identifier.
Returned data:
DN1327-1004 45
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.59 ToggleInputShunt
This command toggles shunt or unshunt an input according to its identifier.
Returned data:
5.60 UnshuntInputGroup
This command forces a group of inputs to be monitored according to its identifier.
Returned data:
5.61 ShuntInputGroup
This command prevents a group of inputs from being monitored according to its identifier.
46 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.62 ShuntTempoInputGroup
This command temporarily prevents a group of inputs from being monitored according to its identifier.
Returned data:
5.63 SuperviseInputGroup
This command continuously supervises a group of inputs according to its identifier.
Returned data:
DN1327-1004 47
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.64 ReturnScheduleInputGroup
This command returns a group of inputs to normal schedule according to its identifier.
Returned data:
5.65 EnableDoor
This command enables a door according to its identifier.
Returned data:
5.66 DisableDoor
This command disables a door according to its identifier.
48 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.67 EnableDoorGroup
This command enables a group of doors according to its identifier.
Returned data:
5.68 DisableDoorGroup
This command disables a group of doors according to its identifier.
Returned data:
DN1327-1004 49
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.69 LockElevatorDoor
This command locks an elevator door according to its identifier.
Returned data:
5.70 UnlockElevatorDoor
This command unlocks an elevator door according to its identifier.
Returned data:
5.71 UnlockTempoElevatorDoor
This command temporarily unlocks an elevator door according to its identifier.
50 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.72 ReturnScheduleElevatorDoor
This command returns an elevator door to normal schedule.
Returned data:
5.73 LockElevatorDoorGroup
This command locks a group of elevator doors according to its identifier.
Returned data:
DN1327-1004 51
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.74 UnlockElevatorDoorGroup
This command unlocks a group of elevator doors according to its identifier.
Returned data:
5.75 UnlockTempoElevatorDoorGroup
This command temporarily unlocks a group of elevator doors according to its identifier.
Returned data:
5.76 ReturnScheduleElevatorDoorGroup
This command returns a group of elevator doors to normal schedule.
52 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.77 EnableElevatorDoor
This command enables an elevator door according to its identifier.
Returned data:
5.78 DisableElevatorDoor
This command disables an elevator door according to its identifier.
Returned data:
DN1327-1004 53
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.79 EnableElevatorDoorGroup
This command enables a group of elevator doors according to its identifier.
Returned data:
5.80 DisableElevatorDoorGroup
This command disables a group of elevator doors according to its identifier.
Returned data:
5.81 EnableFloorElevatorDoor
This command enables a floor elevator door according to its identifier.
54 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.82 DisableFloorElevatorDoor
This command disables a floor elevator door according to its identifier.
Returned data:
5.83 EnableFloorElevatorDoorGroup
This command enables a group of floor elevator doors according to its identifier.
Returned data:
DN1327-1004 55
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.84 DisableFloorElevatorDoorGroup
This command disables a group of floor elevator doors according to its identifier.
Returned data:
5.85 WorkstationStatus
This command gets the status of a workstation according to its identifier.
Returned data:
5.86 GatewayStatus
This command gets the state of a Gateway according to its identifier.
56 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.87 SiteStatus
This command gets the status of a site according to its identifier.
Returned data:
5.88 ControllerStatus
This command gets the status of a controller according to its identifier.
Returned data:
DN1327-1004 57
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Controller defined, x can be:
Parameter1 Exist=x • No
• Yes
Communication failure, x can be:
Parameter2 Failure=x • No
• Yes
Controller is in hard reset, x can be:
Parameter3 HardReset=x • No
• Yes
AC power failure, x can be:
Parameter4 AcAlarm=x • No
• Yes
Tamper is in alarm, x can be:
Parameter5 TamperAlarm=x • No
• Yes
Valid AC schedule, x can be:
Parameter6 AcSchedule=x • No
• Yes
Valid tamper schedule, x can be:
Parameter7 TamperSchedule=x • No
• Yes
Parameter8 Version=xx.xx Controller version
5.89 DoorStatus
This command gets the status of a door according to its identifier.
Returned data:
58 DN1327-1004
EntraPass SmartLink Reference Manual
5.90 RelayStatus
This command gets the status of a relay according to its identifier.
Returned data:
DN1327-1004 59
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Controller defined, x can be:
Parameter1 ControllerExist=x • No
• Yes
Controller failure, x can be:
Parameter2 ControllerFailure=x • No
• Yes
Relay is defined, x can be:
Parameter3 RelayExist=x • No
• Yes
Relay State, x can be:
• Deactivate
• ActivateOperator
• ActivateSchedule
• ActivateInput
• ActivateArea
• ActivateEvent
• ActivateAlarmSystem
Parameter4 State=x • ActivateAlarmSystemStatus
• ActivateAlarmSystemPostpone
• ActivateAlarmSystemEntryDelay
• ActivateAlarmSystemExitDelay
• ActivateAlarmSystemArmingDelay
• ActivateAlarmSystemPreventArming
• ActivateAlarmSystemAlarm1
• ActivateAlarmSystemAlarm2
• ActivateAlarmSystemBell
Relay temporarily activated, x can be:
Parameter5 ActivateTempo=x • No
• Yes
x is the alarm system ID. When the relay is not
Parameter6 AlarmSystemID=x
activated by an alarm system, the value is 0.
5.91 InputStatus
This command gets the status of an input according to its identifier.
Returned data:
60 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
DN1327-1004 61
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Parameter1 ALARMSYSTEMEXIST=x Define alarm system, x = Yes or No
Parameter2 Armed=x System is armed, x = Yes or No
Parameter3 Alarm1=x Alarm #1 activated, x = Yes or No
Parameter4 Alarm2=x Alarm #2 activated, x = Yes or No
Parameter5 ArmingSchedule=x Arming schedule, x = VALID or INVALID
Parameter6 DisarmingSchedule=x Disarming schedule, x = VALID or INVALID
Parameter7 StatusRelay=x Status relay activated, x=Yes or No
Parameter8 EntryDelay=x Entry delay, x=0 to 65535
Parameter9 ExitDelay=x Exit delay, x=0 to 65535
Parameter10 ArmingDelay=x Arming delay, x = 0 to 65535
Parameter11 Postponedelay=x Postponement delay, x = 0 to 65535
Returned data:
Returned data:
62 DN1327-1004
EntraPass SmartLink Reference Manual
5.96 GetLastTransactionCard
This command gets the … TBD
Returned data:
5.97 GetReportEmail
This command gets the … TBD
Returned data:
DN1327-1004 63
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.98 ConnectSite
This command sends a connection request to a site.
Returned data:
5.99 DisconnectSite
This command sends a disconnection request to a site.
Returned data:
5.100 UpdateRemoteSite
This command calls one site with modified data.
Returned data:
64 DN1327-1004
EntraPass SmartLink Reference Manual
5.101 UpdateRemoteSiteGateway
This command calls all sites on a specific gateway with modified data.
Returned data:
5.102 UpdateAllSite
This command calls all gateway sites with modified data.
Returned data:
5.103 ExecuteTask
This command asks the server to execute a specific task.
Returned data:
DN1327-1004 65
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
5.104 BatchModify
This command modifies a batch of cards.
Returned data:
5.105 GetDescription
This command gets the description of a specific component.
Returned data:
66 DN1327-1004
EntraPass SmartLink Reference Manual
5.106 EmailPassword
This command emails a password.
Returned data:
5.107 ChangePassword
This command changes the password for a specific operator.
Returned data:
5.108 GetCardAccessGroup
This command gets the card access group information.
Returned data:
DN1327-1004 67
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Return the card access group description in the current
Parameter1 Description=x
language.
x = Reference Id for the Gateway global or the site
Parameter2 AccessLevel= “x \t y”
y = Reference Id for the Access Level
ParameterN AccessLevel=… … repeat for each access level as required
5.109 GetAccessLevelDescription
This command gets the access level description of a specific component.
Returned data:
5.110 AddToTrigger
This command adds a component filter to a trigger.
Returned data:
68 DN1327-1004
EntraPass SmartLink Reference Manual
5.111 RemoveFromTrigger
This command removes a component filter to trigger.
Returned data:
5.112 GetList
This command gets a list of component.
Returned data:
DN1327-1004 69
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Parameter1 PkData=x x is the Component element reference ID
Parameter2 Description=x x is the Component element description
ParameterN PkData=… … repeat for each element as required
ParameterN+1 Description=… … repeat for each element as required
5.113 GetListOwnerBy
This command gets a list of components.
Returned data:
5.114 GetListGraphicUrl
This command gets a list of graphic Urls.
70 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data:
5.115 GetFind
This command gets a list of component specific parameters.
DN1327-1004 71
Returned data:
5.116 GetFindNext
This command gets a list of component (next) specific parameters.
Returned data:
5.117 AddHoliday
This command adds a holiday in the system.
72 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data :
5.118 GetHoliday
This command modifies a holiday to the system according to its reference number.
Returned data
DN1327-1004 73
5.119 ModifyHoliday
This command modifies a holiday in the system according to its reference number.
Returned data
5.120 DeleteHoliday
This command deletes a holiday within the system according to its reference number.
Returned data:
5.121 AddSchedule
This command adds a schedule to the system. A ma ximum of four interva ls can be configu red. Each
interval must be preceeded with the “Interval=” keyword.
74 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data :
5.122 GetSchedule
This command gets a schedule from the system.
DN1327-1004 75
Field Keyword & format Detail
Command Command=GetSchedule
Parameter1 ScheduleID=x x is the Schedule ID reference number
Returned data :
5.123 ModifySchedule
This command modifies a schedule in the system.
Returned data :
5.124 DeleteSchedule
This command deletes a schedule in the system.
Returned data :
76 DN1327-1004
EntraPass SmartLink Reference Manual
5.125 AddAccessLevel
This command ad ds an access le vel i n the system. A maximum of 250 access le vels can b e
programmed in a site.
Returned data :
5.126 GetAccessLevel
This command gets an access level from the system.
Returned data :
DN1327-1004 77
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0= SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Parameter1 AccessLevelID=x Returns the access level ID reference number
0 = No
Parameter2 AllValid=x
1 = Yes
Parameter3 to
Corresponds to parameter 4 to N in section 77: AddAccessLevel
ParameterN
5.127 ModifyAccessLevel
This command modifies an access level in the system.
Returned data :
5.128 DeleteAccessLevel
This command deletes an access level in the system.
Returned data :
78 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 79
Optional ReportEventsAutomatically=x Int Links to schedule ID
Optional FailToReportAfter=x Int 60 to 3599 seconds, default is 300
Miscellaneous
0 = no call
Optional CallbackForConnection=x UChar
1= call (default)
Optional FailToCallbackDelay=x Int 60 to 300 seconds, default is 90
Optional PrimaryHostModem=x UChar Gateway Modem list
Optional SecondaryHostModem=x UChar Gateway Modem list
0 = don’t stay on line
Optional AfterReceptionStayOnLineFor=x UChar
1= Stay on line (default)
Optional DisconnectLineAfter=x Int 60 to 86399 seconds, default is 180
0 = no call
Optional CallImmediatelyWhenSlaveFailure=x UChar
1 = call (default)
0 = no call
Optional CallImmediatelyWhenbuffer70Full=x UChar
1 = call (default)
Setup timings
1 to 40,
Default in DIALUP = 7
Optional ResponseTimeoutRatio=x Int
Default in TCPIP =5
Default in RS232 = 1
0 to 40
Optional PollingFrequency=x Int Default in TCPIP =5
Default in DIALUP or RS232 = 1
Optional ControllerFailureTimer=x Int 0 to 255 cc, default = 10
Optional PollDelay1=x Int 0 to 255 cc, default = 20
Optional PollDelay2=x Int 0 to 255 cc, default = 80
Optional PollDelay3=x Int 0 to 255 cc, default = 100
Modem Timing
Optional DelayBeforeSendInitString=x UChar 0 to 255 cc, default is 150
Optional DelayDtrLow=x UChar 0 to 255 cc, default is 250
Optional DelayForWaitingResponse=x UChar 0 to 255 cc, default is 250
Optional DelayBeforePickupLine=x UChar 0 to 255 cc, default is 30
Optional DelayforRetryDial=x UChar 0 to 255 cc, default is 10
Optional DelayReceiveCall=x UChar 0 to 255 cc, default is 8
Optional MaximumDelayForSynchronization=x UChar 0 to 255 cc, default is 30
Optional DelayDcdOnReceiveCall=x UChar 0 to 255 cc, default is 30
Optional DelayDcdOnDial=x UChar 0 to 255 cc, default is 50
Optional DelayOfFirstSynchronizationByte=x UChar 0 to 255 cc, default is 8
Optional DelayBetweenSynchronizationBytes=x UChar 0 to 255 cc, default is 150
Optional DelayBeforeCallback=x UChar 0 to 255 cc, default is 4
Fast Setup Optional
Optional field, default is taken from
FastSetup 1 ReaderDriverName=x Str[40]
the server file DefCorReaDriver.DRV.
Optional (repeat for as many
Controllers (part of FastSetup)
controllers as needed)
80 DN1327-1004
EntraPass SmartLink Reference Manual
1
Parameters that can also be used for the FastSetup utility (as per the workstation).
Returned data :
5.130 GetSite
This command gets the site of the system according to its reference number.
Returned data
5.131 ModifySite
This command modifies a site to the system according to its reference number.
DN1327-1004 81
Field Keyword & format Detail
Command Command=ModifySite
Parameter1 SiteID=x x is the site ID reference number
Optional Same as for the optional parameter fields in section 79: AddSite (FastSetup)
Returned data
5.132 DeleteSite
This command deletes a site in the system according to its reference number.
Returned data
82 DN1327-1004
EntraPass SmartLink Reference Manual
0 = KT-200
1 = KT-300 (Default and the only one supported for
now)
Optional ControllerKtType=x UChar
2 = KT-100
3 = KT-NCC
4 = Unknown
0 = Controller enabled
Optional DisableController=x UChar
1 = Controller disabled
Name of the first reader type, the field is optional. If
Optional ReaderDriverName=x Str[40] nothing is provided, the default reader will be taken
from the server file DefCorReaDriver.DRV.
Name of the second reader type, the field is
optional. If nothing is provided, the default reader
Optional ReaderDriverName2=x Str[40]
will be taken from the server file
DefCorReaDriver.DRV.
0 = KP-1003H
1 = KP-500, KP-2000, KP-2500, KP-3000
Optional KeypadType=x UChar 2 = P555KP, KP-1000, SH-2KP, HID-PR5355KP
3 = POL-2KP 5 digits Integrated Keypad
4 = None
KT-300
Field is optional. If nothing is provided, the default
Optional SerialNumber=x Str[8]
is 00000000
Optional PowerFailureLocalActivation=x Int Links to relay
0 = No Call
Optional PowerFailurePriorityCall=x UChar 1 = Immediate call
2 = Scheduled call
Optional CombusFailureLocalActivation=x Int Links to relay
0 = No Call
Optional CombusFailurePriorityCall=x UChar 1 = Immediate call
2 = Scheduled call
CombusTroubleLocalActivation=
Optional Int Links to relay
x
0 = No Call
Optional CombusTroublePriorityCall=x UChar 1 = Immediate call
2 = Scheduled call
Optional WaitForSecondAccessCard=x UChar 1 to 127
0 = None
1 = 0 to 10 = 9,
Optional KeypadEscapeKey=x UChar
11 = *
12 = #
0 = No resistor
Optional InputResistorType=x Int
1 = Single resistor
Options
0 = No duress
Optional DuressOnAccessGranted=x UChar
1 = Duress
0 = No duress
Optional DuressOnAccessDenied=x UChar
1 = Duress
0 = None
Optional TypeAntiPassback=x UChar 1 = Soft anti-passback
2 = Hard anti-passback
Optional ForgiveSchedule=x Int Links to schedule
Optional EnableFailsoftDelay=x Int 10 to 255
DN1327-1004 83
Optional CardFamily32Bits=x UChar 2 hexdigits
Optional MaximumCards=x Int 0 to 65535
Optional ActivateRelay=x Int Links to relay
Schedule
Optional PowerSupervisionSchedule=x Int Links to relay
Basic and
Express
Setup
0 = Don’t force all controller’s components (default)
Setup SelectAll=x UChar
1 = Force all controller’s components
Basic
Express Optional
Setup
Defines the components as per Express Setup.
This field is optional. Same as in Workstation.
ExpressSetup= SameDoor, SameDoor: 0=No (Default), 1 or non 0=Yes
Basic1 Door1Contact, Door1Rex, Door1Contact: 0=No (Default), 1 or non 0=Yes
Door2Contact, Door2Rex Door1Rex: 0=No (Default), 1 or non 0=Yes
Door2Contact : 0=No (Default), 1 or non 0=Yes
Door2Rex: 0=No (Default), 1 or non 0=Yes
Advanced
Express Optional
Setup
Defines the door as per Advanced Express Setup
This field is optional, repeat for as many doors.
Number: specifies the door (1 or 2)
PrimaryName: optional, 40 char max.
Door=number,PrimaryName,
SecondaryName: optional, 40 char max.
Advance SecondaryName,Type,Lock,
Type: 0=Access (default), 1=Entry, 2=Exit
Contact,RequestExit
Lock (device): 0=doorLock (default),
1=MagneticLock
Contact: 0=No, 1=Yes
RequestExit: 0=No, 1=Yes
Defines the input as per Advanced Express Setup
This field is optional, repeat for as many inputs.
Number: specifies the Input (1 to 8)
Input=Number,PrimaryName,
PrimaryName: optional, 40 char max.
Advance SecondaryName,State,
SecondaryName: optional, 40 char max.
MonitoringSchedule
State: optional, 0=Closed (default), 1=Opened
MonitoringSchedule: optional, specifies the
schedule ID, the default is always.
Defines the output as per Advanced Express Setup
This field is optional, repeat for as many outputs
Number: specifies the Output (1 to 4)
PrimaryName: optional, 40 char max.
Output=Number, PrimaryName,
Advance SecondaryName: optional, 40 char max.
SecondaryName, Mode, Door
Mode of operation (optional): 0=Normal (default),
1=Inversed
Door (optional): 0=Door#1 (default), 1=Door#2,
2=Door#1 & #2
84 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data :
5.134 GetController
This command gets the controller of the system according to its reference number.
Returned data
5.135 ModifyController
This command modifies a controller in the system according to its reference number.
Returned data
DN1327-1004 85
Field Keyword & format Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0 = SMARTLINK_COMMAND_OK (granted)
See Appendix #1 for all returned
codes.
5.136 DeleteController
This command deletes a controller in the system according to its reference number.
Returned data
5.137 GetDoor
This command gets a door from the system.
Returned data :
86 DN1327-1004
EntraPass SmartLink Reference Manual
0 = No Elevator Cab
Parameter ElevatorCab=x UChar
1 = Elevator Cab
Parameter ExtendedUnlockTime=x UShort 1 to 255
Parameter ExtendedOpenTime=x UShort 1 to 255
Parameter UnlockSchedule=x Int Links to schedule
Parameter Graphic=x Int Links to graphic
Parameter VideoView=x Int Links to video view
Keypad
0 = Reader Only
Parameter ReaderKeypad=x UChar 1 = Keypad Only
2 = Reader and Keypad
Parameter ScheduleCardAndNip=x Int Links to schedule
Parameter RelayActivatedByPoudKey=x Int Links to relay
Parameter RelayActivatedByStarKey=x Int Links to relay
Contact
Parameter DoorContact=x Int Links to input
0 = No read
Parameter DoorOpenReading=x UChar
1 = Read
0 = No read
Parameter DoorUnlockReading=x UChar
1 = Read
0 = No Pre-alarm
Parameter PreAlarmOnDoorOpenTooLong=x UChar
1 = Pre-Alarm
0 = On Door Opening
Parameter OnAccessRelock=x UChar
1 = On Door Closing
Rex
0 = On Door Opening
Parameter OnRexRelock=x UChar
1 = On Door Closing
Parameter RexContact=x Int Links to input
Parameter RexSchedule=x Int Links to schedule
0 = No unlock
Parameter UnlockOnRex=x UChar
1 = Unlock
0 = No restart
Parameter ResettableRexFunction=x UChar
1 = Restart
Parameter SecondaryRexContact=x Int Links to input
Parameter SecondaryRexSchedule=x Int Links to schedule
0 = No unlock
Parameter SecondaryUnlockOnRex=x UChar
1 = Unlock
0 = No restart
Parameter SecondaryResettableRexFunction=x UChar
1 = Restart
Miscellaneous
Parameter InterlinkContact=x Int Links to input
0 = No duress
Parameter EnableDuressFunction=x UChar
1 = Duress
0 = Unlock,
Parameter NoUnlockByInputWhenArmed=x UChar
1 = No unlock
Parameter InterlockSchedule=x Int Links to schedule
Parameter SuspendReportDelayOnDoorRelock=x Int 4 to 255 sec.
Parameter ShuntInputs=x Int 0 to 0xffff
Elevator
DN1327-1004 87
Parameter UnlockSchedule1=x Int Links to schedule
Parameter FloorsGroup1=x Int Links to floor group
Parameter UnlockSchedule2=x Int Links to schedule
Parameter FloorsGroup2=x Int Links to floor group
Options and alarm system
0 = Supervised
Parameter SuperviseDoorLockDevice=x UChar
1 = not supervised
0 = No unlock
Parameter UlockDoorBySchedulesAfterFirstManIn=x Int
1 = Unlock
Parameter MotorLockDelay=x UChar 0 to 255
Parameter RequireSecondCardSchedule=x Int Links to schedule
Door events
Parameter DoorForcedOpenLocalActivation=x Int Links to relay
0 = do not call
Parameter DoorForcedOpenPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter DoorOpenTooLongLocalActivation=x Int Links to relay
0 = do not call
Parameter DoorOpenTooLongPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter DoorAlarmOnRelockLocalActivation=x Int Links to relay
0 = do not call
Parameter DoorAlarmOnRelockPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Access Events
Parameter AccessGrantedLocalActivation=x Int Links to relay
0 = do not call
Parameter AccessGrantedPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter CardTracedLocalActivation=x Int Links to relay
0 = do not call
Parameter CardTracedPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter InvalidCardStatusLocalActivation=x Int Links to relay
0 = do not call
Parameter InvalidCardStatusPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter BadAccessLevelLocalActivation=x Int Links to relay
0 = do not call
Parameter BadAccessLevelPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter OtherAccessDeniedLocalActivation=x Int Links to relay
0 = do not call
Parameter OtherAccessDeniedPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Parameter DuressAlarmLocalActivation=x Int Links to relay
0 = do not call
Parameter DuressAlarmPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
ExtendedDoorAccessDelayLocalActivation=
Parameter Int Links to relay
x
88 DN1327-1004
EntraPass SmartLink Reference Manual
0 = do not call
Parameter ExtendedDoorAccessDelayPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
Arming Request
Parameter ArmingRequestInput=x Int Links to input
0 = No wait
Parameter WaitForAccessGrantedToArm=x UChar
1 = Wait
0 = No relock
Parameter RelockDoorOnRequestToArm=x UChar
1 = Relock
0 = Arm
Parameter PreventArmingRequestOnInputStatus=x UChar
1 = Prevent arming
0 = none,
Parameter KeypadButton=x UChar 1=0 to 10=9,
11 = *, 12 = #
Parameter EnableArmingRequestSchedule=x Int Links to schedule
Links to Access level (single or group
Parameter ArmingAccessLevel=x Int
see IdAccesslevelArmRequest)
0 = No component link
Parameter SingleGroupArmRequest=x UChar 1 = Links to single component
2 = Links to group component
Parameter ExitDelay=x UShort 0 to 32767
Parameter EntryDelay=x UShort 0 to 32767
Parameter ExternalAlarmSystemPanel=x Int Links to input
Input
0 = Not supervised
Parameter Supervised=x UShort 1 = Supervised
(for each 16 inputs)
0 = No shunt
Parameter ShuntedOnDisarm=x Int 1 = Shunted
(for each 16 inputs)
0 = No shunt
Parameter ShuntedOnExit=x Int 1 = Shunt
(for each 16 inputs)
0 = unchecked, 1 = checked (for each
Parameter ShuntedOnDelay=x Int
16 inputs)
Postpone Arming
Parameter InputToPostponeArming=x Int Links to input
Parameter EnablePostponeArmingSchedule=x Int Links to schedule
0 = No wait
Parameter WaitForAccessGrantedToPospone=x UChar
1 = Wait
0 = none,
Parameter KeypadButtonPostpone=x UChar 1=0 to 10=9,
11 = *, 12 = #
Links to access level (see
Parameter PostponeOrDisarmAccessLevel=x Int
IdAccesslevelPostpone)
0 = No component link
Parameter SingleGroupAccessLevelPostpone=x UChar 1 = Links to single component
2 = Links to group component
Relay
Parameter AlarmRelay=x Int Links to relay
Relay activated
Parameter ActivationType=x UChar
Relay temporary activated
DN1327-1004 89
0 = No call
Parameter PriorityCallType=x UChar 1 = Immediate call
2 = scheduled call
Parameter InputStatus=x Int Links to relay
0 = No work
Parameter WorkWhenSystemArmed=x UChar
1 = Work
Parameter ArmingAlarmPanel=x Int Links to relay
Parameter PostponeAlarmPanel=x Int Links to relay
Parameter DisarmingAlarmPanel=x Int Links to relay
Parameter SystemArmed=x Int Links to relay
No call
Parameter PriorityCallTypeArm=x UChar Immediate call
scheduled call
5.138 ModifyDoor
This command modifies a controller in the system according to its reference number.
Returned data
5.139 DeleteDoor
This command deletes a door in the system according to its reference number.
5.140 GetRelay
This command gets a relay from the system.
Returned data :
90 DN1327-1004
EntraPass SmartLink Reference Manual
5.141 ModifyRelay
This command modifies a relay in the system according to its reference number.
Returned data
5.142 DeleteRelay
This command deletes a relay in the system according to its reference number.
5.143 GetInput
This command gets an input from the system.
Returned data :
DN1327-1004 91
Field Keyword & format Type Detail
See section 17: Returned
Format
Most common returned values:
Result for format details.
0= SMARTLINK_COMMAND_OK
See Appendix #1 for all returned
codes.
Parameter PrimaryName=x Str[40] default is “New Input” (40 char max)
Parameter SecondaryName=x Str[40] default is “New Input” (40 char max)
Parameter MonitoringSchedule=x Int Links to schedule
Parameter NormalCondition=x UChar 0 = Closed, 1 = Opened
Parameter AlarmResponseTime=x Int 10 to 65535
Parameter RestoreResponseTime=x Int 10 to 65535
Relay and Input
Links to Relay (single or group, see
Parameter ActivateRelay=x Int
IdInputActivateRelay)
0 = No component link
Parameter SingleGroupRelay=x UChar 1 = Links to single component
2 = Links to group component
0 = No activation
Parameter ActivateRelayTemporarily=x UChar
1 = Activation
Parameter KeepRelayActivated=x Int 0 to 65535
Parameter TemoraryShuntTimer=x Int 0 to 32767
Links to input (single or group see
Parameter ShuntInput=x Int
IdInputShuntInput)
0 = None component link
Parameter SingleGroupInput=x UChar 1 = Links to single component
2 = Links to group component
0 = No shunt
Parameter ShuntInputTemporarily=x UChar
1 = Shunt
ResetDelayForShuntTemporarily= 0 = No reset
Parameter UChar
x 1 = Reset
Parameter DelayBeforeUnshunt=x UShort 0 to 32767
Elevator
0 = No Selection
1 = Cab #1
Parameter SelectCab=x UChar
2 = Cab #2
3 = Cab #1 and Cab #2
Parameter FloorsGroup=x Int Links to floor group
Parameter EnableSchedule=x Int Links to schedule
Input Event
Parameter InputInAlarmLocalActivation=x Int
0 = do not call
Parameter InputInAlarmPriorityCall=x UChar 1 = call Immediately
2 = call when scheduled
5.144 ModifyInput
This command modifies an input in the system according to its reference number.
92 DN1327-1004
EntraPass SmartLink Reference Manual
Returned data
5.145 DeleteInput
This command deletes an input in the system according to its reference number.
5.146 GetOutput
This command gets an output from the system.
Returned data :
DN1327-1004 93
x is the event number(0 to31), repeat
for each event
y is the event status:
0 = None
Parameter Event=x,y UChar[32]
1 = Steady Timed
2 = Flash Timed
3 = Steady
4 = Flash
5.147 ModifyOutput
This command modifies an output in the system according to its reference number.
Returned data
5.148 DeleteOutput
This command deletes an output in the system according to its reference number.
5.149 GetSiteStructure
This command returns the structure of all co mponents unde r a sp ecified site. Each co mponent is
described by it s Referen ce n umber ID , its rank and its st atus that determine i f the compo nent is
defined or not within the system.
Returned data :
94 DN1327-1004
EntraPass SmartLink Reference Manual
Eventually could be added: Flo orId, Con trollerGroupId, DoorGroupId, Inpu tGroupID, Re layGroupId,
FloorGroupId, AccessLevelGroupId
5.150 GetSiteCard
This command retrieves all cards from a specific site.
Returned data
5.151 AddAccount
This command adds an account in the system.
DN1327-1004 95
Field Keyword & format Detail
Command Command = AddAccount
Parameter1 GatewayID=x x specifies the gateway reference ID
Parameter2 PrimaryName=x default = “New account” (40 digits max), field is optional
Parameter3 SecondaryName = x default = “New account” (40 digits max), field is optional
Parameter4 Info1 = x Default is empty, field is optional, 50 digits max.
Parameter5 Info2 = x Default is empty, field is optional, 50 digits max.
Parameter6 Info3 = x Default is empty, field is optional, 50 digits max.
Parameter7 Info4 = x Default is empty, field is optional, 50 digits max.
Parameter8 Info5 = x Default is empty, field is optional, 50 digits max.
Parameter9 Info6 = x Default is empty, field is optional, 50 digits max.
Parameter10 Info7 = x Default is empty, field is optional, 50 digits max.
Parameter11 Info8 = x Default is empty, field is optional, 50 digits max.
Parameter12 Info9 = x Default is empty, field is optional, 50 digits max.
Parameter13 Info10 = x Default is empty, field is optional, 50 digits max.
Parameter14 Info11 = x Default is empty, field is optional, 50 digits max.
Parameter15 Info12 = x Default is empty, field is optional, 50 digits max.
Parameter16 Info13 = x Default is empty, field is optional, 50 digits max.
Parameter17 Info14 = x Default is empty, field is optional, 50 digits max.
Parameter18 Info15 = x Default is empty, field is optional, 50 digits max.
Parameter19 Info16 = x Default is empty, field is optional, 50 digits max.
Parameter20 Info17 = x Default is empty, field is optional, 50 digits max.
Parameter21 Info18 = x Default is empty, field is optional, 50 digits max.
Parameter22 Info19 = x Default is empty, field is optional, 50 digits max.
Parameter23 Info20 = x Default is empty, field is optional, 50 digits max.
Parameter24 Comment = x Default is empty, field is optional, 255 digits max.
Returned data :
5.152 GetAccount
This command gets an account from the system according to its reference number.
Returned data
96 DN1327-1004
EntraPass SmartLink Reference Manual
5.153 ModifyAccount
This command modifies an account in the system according to its reference number.
Returned data
5.154 DeleteAccount
This command deletes an account in the system according to its reference number.
Returned data
5.155 SwitchAccount
This comma nd all ows accessi ng componen ts visi ble o nly from an op erator account wi th th e
appropriate rights.
DN1327-1004 97
Field Keyword & format Detail
Command Command
= SwitchSite
x is the account ID reference number. A value of zero
Parameter1 AccountID=x forces a logout of the account. Note that logging out of
SmartLink automatically logout from the account.
Returned data
98 DN1327-1004
EntraPass SmartLink Reference Manual
6.0 - SmartDll
This DLL allows connecting to SmartLink in ord er to execute various commands and also to receive
messages programmed in the software.
Function Description
This function is used to establish communication
between the SmartDll and SmartLink. Once completed,
the DLL will perform an optimized poll of SmartLink to
pick the messages intended for the connection
• theSmartlinkTag : Connection identifier from 0 to
extern "C" __declspec(dllexport) long __stdcall
65000. This identifier is important for programmed
Connect (long theSmartlinkTag, char* theIpAddress)
messages that need to be sent on a specific
connection. Otherwise, this number is useless. Note
that only one occurence of the number will be
allowed
• theIpAddress : SmartLink ’s IP address
Used with ‘SetLoginPassword’, this function indicates
extern "C" __declspec(dllexport) long __stdcall to the DLL to take care of all the connection aspects
AutomaticConnect (long theSmartlinkTag, char* and the authentication to the server. The
theIpAddress) ‘SetLoginPassword’ function will process the usual
authentication command.
extern "C" __declspec(dllexport) long __stdcall This function disconnect the link between the DLL and
Disconnect () SmartLink and ends the requesting process
This function is used to send commands to SmartLink
and also to receive informations. A list of commands is
available in section...
• theLengthSend: Length of the information to be sent
• theBufferSend: Pointer on a memory space that
extern "C" __declspec(dllexport) long __stdcall contains the command to be sent
SendData (long theLengthSend, unsigned char* • theLengthReceive: Receiving space length. Upon
theBufferSend, long* theLengthReceive, unsigned completion, the system will indicate the number of
char* theBufferReceive) characters received.
• theBufferReceive: Pointer on a memory space that
receives information. If the memory space is
unsufficient, the system will return the following error
message:
SMARTLINK_INVALID_OUTPUT_LENGTH.
DN1327-1004 99
Function Description
This function is used to send a command to SmartLink
by including a picture. It can also receive informations. A
list of commands is available in section...
• theLengthSend: Length of the information to be sent
• theBufferSend: Pointer on a memory space that
contains to command to be sent
extern "C" __declspec(dllexport) long __stdcall • theLengthReceive: Receiving space length. Upon
SendDataPicture (long theLengthSend, unsigned completion, the system will indicate the number of
char* theBufferSend, long* theLengthReceive, characters received
unsigned char* theBufferReceive, char* thePicture) • theBufferReceive: Pointer on a memory space that
receives information. If the memory space is
unsufficient, the system will return the following error
message:
SMARTLINK_INVALID_OUTPUT_LENGTH
• thePicture: Name of the file that contains the picture
to be sent
extern "C" __declspec(dllexport) long __stdcall
ShowWorkstation (long* theNTM)
extern "C" __declspec(dllexport) long __stdcall
ShowGateway (long* theGSI)
extern "C" __declspec(dllexport) long __stdcall
ShowSite (long* theSite)
extern "C" __declspec(dllexport) long __stdcall
ShowController (long* theController)
extern "C" __declspec(dllexport) long __stdcall
ShowControllerGroup (long* theControllerGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowDoor (long* theDoor)
extern "C" __declspec(dllexport) long __stdcall
ShowDoorGroup (long* theDoorGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowRelay (long* theRelay)
extern "C" __declspec(dllexport) long __stdcall
ShowRelayGroup (long* theRelayGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowInput (long* theInput)
extern "C" __declspec(dllexport) long __stdcall
ShowInputGroup (long* theInputGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowOutput (long* theOutput)
extern "C" __declspec(dllexport) long __stdcall
ShowFloor (long* theFloor)
extern "C" __declspec(dllexport) long __stdcall
ShowFloorGroup (long* theFloorGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowSchedule (long* theSchedule)
extern "C" __declspec(dllexport) long __stdcall
ShowOperator (long* theOperator)
extern "C" __declspec(dllexport) long __stdcall
ShowSecurityLevel (long* theSecurityLevel)
extern "C" __declspec(dllexport) long __stdcall
ShowCardAccessGroup (long* theCardAccessGroup)
100 DN1327-1004
EntraPass SmartLink Reference Manual
Function Description
extern "C" __declspec(dllexport) long __stdcall
ShowCardType (long* theCardType)
extern "C" __declspec(dllexport) long __stdcall
ShowBadging (long* theBadging)
extern "C" __declspec(dllexport) long __stdcall
ShowAlarmSystem (long* theAlarmSystem)
extern "C" __declspec(dllexport) long __stdcall
ShowArea (long* theArea)
extern "C" __declspec(dllexport) long __stdcall
ShowGuardTour (long* theGuardTour)
extern "C" __declspec(dllexport) long __stdcall
ShowGraphic (long* theGraphic)
extern "C" __declspec(dllexport) long __stdcall
ShowVideoServer (long* theVideoServer)
extern "C" __declspec(dllexport) long __stdcall
ShowCamera (long* theCamera)
extern "C" __declspec(dllexport) long __stdcall
ShowReport (long* theReport)
extern "C" __declspec(dllexport) long __stdcall
ShowAccessLevel (long* theAccessLevel)
extern "C" __declspec(dllexport) long __stdcall
ShowHoliday (long* theHoliday)
extern "C" __declspec(dllexport) long __stdcall
ShowWorkspace (long* theHoliday)
extern "C" __declspec(dllexport) long __stdcall
ShowMusterReport (long* theMusterReport)
extern "C" __declspec(dllexport) long __stdcall
ShowAreaGroup (long* theAreaGroup)
extern "C" __declspec(dllexport) long __stdcall
ShowTaskBuilder (long* theTaskBuilder)
extern "C" __declspec(dllexport) long __stdcall
ShowTrigger (long* theTrigger)
extern "C" __declspec(dllexport) long __stdcall
ShowPanel (long* thePanel)
extern "C" __declspec(dllexport) long __stdcall
ShowPanelComponent (long* thePanelComponent)
The list of above-mentioned functions allow viewing the list of components for a specific type. This list
will be also determined according to parameters that qualify the identified operator. It will be displayed
DN1327-1004 101
in a visibl e page and the returned parameter will be the selected item in the list. This parameter will
allow for the selected component’s ’UniqueID’ to be returned.
Function Description
• theSize: Receiving space length. Upon completion, the system
will indicate the number of characters received
• theCard: Pointer on a memory space that receives information. If
the memory space is insufficient, the system will return the
following error message:
extern "C" __declspec(dllexport) long SMARTLINK_INVALID_OUTPUT_LENGTH
__stdcall ShowCard (long theSize, char* • theSource: Characters string used as a filter. The desired value
theCard, char* theSource, long theIndex) should begin with the characters string
• theIndex: The search index
• 0: ser U name
• 1 to10: Configurable fields
This function can retreive the data of a card and save it in a file
• theFileName: Name of the file that contains the results.
extern "C" __declspec(dllexport) long • theIndex: The search index
__stdcall ShowAllCard (char*
• 0: serU name
theFileName, long theIndex)
• 1 to10: Configurable fields
extern "C" __declspec(dllexport) long
Function that returns the DLL version number
__stdcall About ()
• theLength: Receiving space length
extern "C" __declspec(dllexport) long • theMessageLength : Received message length
__stdcall GetMessageData (long • theMessage: Pointer on a memory space that receives
theLength, long* theMessageLength, information. If the memory space is insufficient, the system will
unsigned char* theMessage) return the following error message:
SMARTLINK_INVALID_OUTPUT_LENGTH
102 DN1327-1004
EntraPass SmartLink Reference Manual
Function Description
• theWnd : Handle of the window that receives messages
• theMsg : Message content
This function saves the window that receives ‘PostMessage’ sent by
extern "C" __declspec(dllexport) long the DLL and gives the number used. During a modification, saving
__stdcall SetPostMessage ( messages allows the automatic reception of the following information:
long theWnd,
• The communication status between the Server and SmartLink
long theMsg)
• The communication status between the DLL and SmartLink
• Operator’s current login/logout connection status
• A new message is available
extern "C" __declspec(dllexport) long
This function can save a login command so the system can reuse it
__stdcall SetLoginPassword (long
automatically in case of a disconnection. Note that the initial
theCommandLength, unsigned char*
connection must be performed with the ‘AutomaticConnect’ command
theCommand)
extern "C" __declspec(dllexport) long
During the development phase, the function ‘EnableViewActivity’ can
__stdcall EnableViewActivity ()
be called to display a window showing the internal process details for
the commands sent. The function ‘DisableViewActivity’ will stop the
extern "C" __declspec(dllexport) long
process
__stdcall DisableViewActivity ()
• theErrorCode : Error code number
• theTextLength : Length of the characters string that holds the
extern "C" __declspec(dllexport) long
error code.
__stdcall GetErrorCodeText (long
theErrorCode, long theTextLength, • theText : Characters string into which the error message text is
unsigned char* theText) copied.
This function is used to receive the text corresponding to a specific
error code
extern "C" __declspec(dllexport) long
__stdcall GetServerState ()
These three functions return the SmartLink status with the server, the
link status between the DLL and SmartLink, and the operator’s
extern "C" __declspec(dllexport) long
identification status. The value 0 indicates an abnormal condition
__stdcall GetSmartLinkState ()
while the value 1 indicates either a normal condition or the operator is
properly identified with the server
extern "C" __declspec(dllexport) long
__stdcall GetLoginState ();
extern "C" __declspec(dllexport) long This function is used to give a name to the connection with SmartLink.
__stdcall SetConnectionName (char* The connection name can be viewed by scrolling the user’s list
theName, long theSize) connected to SmartLink or to a workstation
This function is used to determine the maximum number of messages
extern "C" __declspec(dllexport) long
currently held by SmartLink. There are two types of messages:
__stdcall SetBuffersSize (long
’Untag’ messages’ that identify messages not specifically intended for
theUntagBufferSize, long
‘TagConnection’ and ‘Tag’/’Untag’ that identify messages specifically
theTagBufferSize)
intended for the connection
This function is used to save the next list request in a file. For
example, to place the list of operators in a file, name the file, give a
extern "C" __declspec(dllexport) long value for the field separator and call the ShowOperator function:
__stdcall SetListName (char* theName, • theName : Name of the file to be saved
long theSize, long theSeparator) • theSize : Length of the theName field
• theSeparator : The character used as a field separator. Usually 9
for <Tab> or 44 for a comma
DN1327-1004 103
Function Description
This function retrieves the description of a selected component.
• theDescriptionSize : The theDescription field length. Returns the
extern "C" __declspec(dllexport) long
content length of the field
__stdcall GetComponentDescription
(long* theDescriptionSize, char* • theDescription : Pointer that receives the description of the
theDescription, long* theComponent) selected component
• theComponent : This variable receives the ‘UniqueID’ of the
selected component
extern "C" __declspec(dllexport) long
__stdcall HardResetController (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall SoftResetController (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall ForgiveController (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall ReloadController (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall LockDoor (long theComponent)
extern "C" __declspec(dllexport) long
__stdcall UnlockDoor (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall UnlockDoorTempo (long
theComponent, long theDelay)
extern "C" __declspec(dllexport) long
__stdcall ReturnToScheduleDoor (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall DoorToggleStrike (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall UnshuntInput (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall ShuntInput (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall ShuntInputTempo (long
theComponent, long theDelay)
extern "C" __declspec(dllexport) long
__stdcall ContinuousSuperviseInput
(long theComponent)
extern "C" __declspec(dllexport) long
__stdcall ReturnToScheduleInput (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall InputToggleShunt (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall DeactivateRelay (long
theComponent)
104 DN1327-1004
EntraPass SmartLink Reference Manual
Function Description
extern "C" __declspec(dllexport) long
__stdcall ActivateRelay (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall ActivateRelayTempo (long
theComponent, long theDelay)
extern "C" __declspec(dllexport) long
__stdcall ReturnToScheduleRelay (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall AlarmSystemArm (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall AlarmSystemDisarm (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall AlarmSystemPostpone (long
theComponent, long theDelay)
extern "C" __declspec(dllexport) long
__stdcall MoveCardFromToArea (long
theComponent, long theComponentTo)
extern "C" __declspec(dllexport) long
__stdcall GetCardFromArea (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall ConnectRemoteSite (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall DisconnectRemoteSite (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall UpdateRemoteSite (long
theComponent)
extern "C" __declspec(dllexport) long
__stdcall UpdateRemoteSiteGateway
(long theComponent)
extern "C" __declspec(dllexport) long
__stdcall UpdateAllSite ()
extern "C" __declspec(dllexport) long
__stdcall ExecuteTask (long
theComponent)
These fu nctions are used to e xecute specific t asks on a specific co mponent e asily. However, for al l
these commands, you can always use the ’SendData’ function.
DN1327-1004 105
Function Description
extern "C" __declspec(dllexport) long
__stdcall WorkstationStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall GatewayStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall SiteStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall ControllerStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall DoorStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive) These functions are used to retrieve the status of a specific
extern "C" __declspec(dllexport) long component easily. However, for all these commands, you can
__stdcall DoorStatus (long always use the ’SendData’ function.
theComponent, long* theLengthReceive, • theComponent: ‘UniqueId’ of the component for which the status
unsigned char* theBufferReceive) has to be retreive.
extern "C" __declspec(dllexport) long • theLengthReceive: Length of the variable that holds the
__stdcall RelayStatus (long information. The variable contains the number of characters
theComponent, long* theLengthReceive, received
unsigned char* theBufferReceive) • theBufferReceive: Pointer on a variable into which the received
extern "C" __declspec(dllexport) long data is placed
__stdcall InputStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall OutputStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall AreaStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall AlarmSystemStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
extern "C" __declspec(dllexport) long
__stdcall GuardTourStatus (long
theComponent, long* theLengthReceive,
unsigned char* theBufferReceive)
106 DN1327-1004
EntraPass SmartLink Reference Manual
Function Description
This method allows you to determine the location of the physical
address of a component. For example, if you ask for the description of
door 2 of the third controller in loop 4, you will get:
• Left: (04.02.2) Entry door
extern "C" __declspec(dllexport) long • Right: Entry door (04.02.2)
__stdcall SetPhysicalAddressId (long • None: Entry door
theParameter)
The Parameter: Possible values are:
• SMARTLINK_PHYSICAL_ADDRESS_LEFT = 0
• SMARTLINK_PHYSICAL_ADDRESS_RIGHT = 1
• SMARTLINK_NO_PHYSICAL_ADDRESS = 2
This function is used to determine the maximum waiting delay of a
response per category of process in thousands of seconds.
DN1327-1004 107
7.0 - Appendix #1, Error messages
The following error returned codes are defined within the SmartDll.h file.
108 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 109
Error Code Error Message Description
81 SMARTLINK_NEW_PASSWORD_BAD_SIZE
82 SMARTLINK_REPORT_EMAIL_UNDEFINED
83 SMARTLINK_IMAGE_NOT_SUPPORTED
84 SMARTLINK_CONTROLLER_IN_FAILURE
110 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 111
Event # Event Message Description
66 alarm system not ready - alarm interface
67 alarm system ready - alarm interface
68 Door alarm - alarm interface
69 Door alarm restored- alarm interface
70 Request to disarm - alarm interface
80 Door forced open restored
81 Door closed/normal condition
82 Door forced open
83 Pre-Alarm on Door Open Too Long
84 Door open too long
85 Door alarm on re-lock
86 Request to exit granted
87 Request to exit denied
88 Timeout on REX
89 Timeout on manually unlock
90 Unlock overridden by door armed
91 Waiting for keypad
92 Bad code on keypad
93 Time-out on keypad
96 Door unlocked by schedule
97 Door locked by schedule
98 Request to exit denied by Interlock
99 Door lock device failure
100 Door lock device normal condition
107 Reader or Keypad locked
108 Reader or Keypad unlocked
109 Alarm supervision - reader found
110 Supervision restored
111 Reader low power
112 Reader low power restored
113 Reader's antenna - no voltage
114 Reader restarted
115 Reader's antenna - back to back voltage
116 Reader's antenna - normal voltage
120 Input restored or in normal condition
121 Input in pre-alarm
122 Input in alarm 'Return to service'
123 Input in alarm
124 Input shunted by input
125 Input unshunted by input
126 Input group shunted by input
127 Input group unshunted by input
130 Floor group activated by input
131 Floor group activation by input denied
112 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 113
Event # Event Message Description
243 Invalid family card
244 Waiting second card
245 Timeout on waiting second card
246 Access denied - Waiting second card
247 Access denied - Reader or keypad locked
248 Access denied - Door armed - alarm interface
249 Request to arm granted - alarm interface
250 Request to arm denied - alarm interface
251 Request to postpone granted - alarm interface
252 Request to postpone denied - alarm interface
253 Alarm duress
254 Access schedule invalid
255 Wireless button battery power restored
256 Wireless button battery power failure
257 Wireless button selection number
258 Access denied
270 Card pending on service
271 Card expired
272 Card access level expired
320 Report aborted
321 Report successfully completed
322 Report aborted not enough free disk space
323 Automatic report requested
400 Access level definition modified
401 Access level group definition modified
404 Card definition modified
405 Card Access Group modified
406 Card Archive modified
407 Card Type modified
408 Controller definition modified
409 Controller group definition modified
410 Door definition modified
411 Door group definition modified
412 Event parameter definition modified
414 Floor definition modified
415 Floor group definition modified
416 Graphic definition modified
417 GSI definition modified
419 Holiday definition modified
420 Input definition modified
421 Input group definition modified
422 Instruction definition modified
423 Message view definition modified
424 NTM definition modified
114 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 115
Event # Event Message Description
491 Controller reader/keypad unlocked by operator
492 Controller reader power reset by operator
493 Controller detailed status requested by operator
494 Controller passback forgiven by operator
495 Controller cards in requested by operator
496 Controller cards out requested by operator
497 Controller cards list cancelled by operator
498 controller not assigned requested by operator
500 Door locked by operator
501 Door unlocked by operator
502 Door temporarily unlocked by operator
503 Door group locked by operator
504 Door group unlocked by operator
505 Door group temporarily unlocked by operator
506 Reader enabled by operator
507 Reader disabled by operator
508 Reader group enabled by operator
509 Reader group disabled by operator
520 Relay deactivated by operator
521 Relay activated by operator
522 Relay temporarily activated by operator
523 Relay group deactivated by operator
524 Relay group activated by operator
525 Relay group temporarily activated by operator
530 Input returned to normal by operator
531 Input shunted by operator
532 Input continuous supervision by operator
534 Input group returned to normal by operator
535 Input group shunted by operator
536 Input group continuous supervision by operator
538 Input group shunted temporarily by operator
539 Input shunted temporarily by operator
540 Floor group manually enabled
541 Floor group manually disabled
542 Video Server archive enabled by operator
543 Video Server archive disabled by operator
570 Date and time modified
572 Create a daypass card
575 Card state modified to valid
576 Card state modified to invalid
590 System status request
591 View Workstation status
592 View data explorer
593 View active report
116 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 117
Event # Event Message Description
705 Enroll a connection on Server
706 Modify an enroll connection on Server
707 Swap database description
708 Data backup automatic
709 Archive backup automatic
710 Time and Attendance backup automatic
711 Data backup automatic - Completed
712 Archive backup automatic - Completed
713 Time and Attendance backup automatic - Completed
714 Data backup automatic - Failed
715 Archive backup automatic - Failed
716 Time and Attendance backup automatic - Failed
717 Clean Server database
720 Controller Auxiliary power failure
721 Controller Auxiliary power restored
722 Controller pre-alarm AC power failure
723 Controller pre-alarm AC power restored
724 Controller combus power failure
725 Controller combus power restored
726 Controller reader power failure
727 Controller reader power restored
728 Controller battery power failure
729 Controller battery power restored
730 Controller eprom reading failure
731 Controller date time RTC reading failure
732 Controller execute program parity failure
733 Controller execute program memory startup
734 Controller module failure
735 Controller module restored
736 Controller module tamper alarm
737 Controller module tamper restored
738 Controller module combus power failure
739 Controller module combus power restored
740 Controller module off line
741 Controller module on line
742 Controller module data received
743 Controller module end transmission
744 Controller module battery power failure
745 Controller module battery power restored
746 Controller module AC power failure
747 Controller module AC power restored
748 Controller module auxiliary power failure
749 Controller module auxiliary power restored
750 Controller module phone line #1 failure
118 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 119
Event # Event Message Description
811 Connection for site synchronization
812 Remaining time remove by operator
815 Modem site connection
816 Modem site disconnection
817 Modem site connection failed
818 Modem site callback failed
819 Modem site bad UCK
820 Modem site first initialization
821 Modem site wait for callback
822 Modem site invalid command
823 Modem site callback on schedule
824 Modem site callback priority call
825 Modem site callback on buffer
826 Modem site fail to report
970 Video Server communication failed
971 Video Server communication restored
972 Camera video lost
973 Camera video restored
980 Start recording by video trigger
981 Stop recording by video trigger
982 Stop recording by timer
983 Recording requested by operator
984 Start recording requested by operator
985 Stop recording requested by operator
986 Video sent to Video Vault by operator
987 Video failed to saved
988 Video Vault reach disk space threshold
989 Video Vault no more disk space
1001 Programmable message #1
1002 Programmable message #2
1003 Programmable message #3
1004 Programmable message #4
1005 Programmable message #5
1006 Programmable message #6
1007 Programmable message #7
1008 Programmable message #8
1009 Programmable message #9
1010 Programmable message #10
1501 Camera motion alarm activated
1502 Camera motion alarm restored
1503 Camera alarm activated
1504 Camera alarm restored
1505 Camera perimeter activated
1506 Camera perimeter restored
120 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 121
122 DN1327-1004
EntraPass SmartLink Reference Manual
DN1327-1004 123
124 DN1327-1004