Beruflich Dokumente
Kultur Dokumente
EasyInner SDK
MD EasyInner-01-03-07/13/2007
Index
! "#
$%
!
&
$'
("
"
))
'(
+
+
!
!" #
$ % &
$
&
!
) *! &
$ %
! &
$
! &
$ % &
$
&
&
$'
$*
,
,
,
,
,
Description of Functions:
- . * &
/
/
/
/
/
23
23
23
23
23
2%
2%
2%
*&
$
*
.* .* *
.
.
.
.
.
.(
+ !0 .
&
- 1. &
1. &
&
&
- &
&
'
! &
45
! &
'
! &( ! &
45
! &( ! &
4
! &
0 .
&
,
*
*
6
&
&
-$
0 .
0 .
! 6
*
*
*
*
*
7'
%
7
7
.
.
% 0
.
0
!* '
!*
)(
)(
9 : 4
9 :
.
;
!! *
;
!!
( ;
!+
(
* $(
*
$*
) *!
$*
+
.
.
.* $
.*
- <
+
4=
.
!!
)
+
+
*
+
'(
4
4
7
'(
7
!
&
- > !
$
6
! 0 .
$
*
? * !
.
6
7'
4
'(
*
&
.
'( $
'( 6
7+
* &
>
7
7 7+ 7
76 7+
&
7 &
7+ &
76
7+
%
7
74 * !
&
76
&
7+
&
83
7
83
* 6
"#$ %%&'
2
2
2
22
22
22
22
22
28
28
28
28
28
2
2
2
2
2
2
2
2
2
2
2,
2,
2,
2/
2/
2/
&
) )
Description of Functions:
&
6
'( 6
6
&
76
7+
8
8
.
* .
&
9
'( 6
&
.
&
.
'( +
'( +
*
*
'(
7'
&
7'
)
&
6 7+
74 * ! 7
&
7+@ 7
7.
7-
7;
7;
74
74
&
76
&
8/
'%
74
/"
&
&
!7
'
7
!7
'
7+ 7
76
!7
3
7
%
+ !
0 .
'
! + !
+
*
!
+
*
!
'
! + !
*
*
+
'$
%74
)
33 &
&
"#$ %%&'
7+
.
*
*
8,
!7
8,
8,
'(
8
8
8
8
8
8
8
8
'
! 0 .
&
7; !
!7
!
! 0 .
&
70 * 7
74 * !
'
, )
'(
'( +
'( +
88
88
76
&
. 4
!
3
*
7+
0 1 22
4
4
&
7+
* '
!0 .
'
7+
*
* 4 !0 .
'
7+
*
*
! 0 .
'
7+
*
*
0 .
+
* 7
76
* 0 .
&
* 0 .
&
*
7
7$ %7$
*
&
.
* 6
6
*
'( 6
0 .
&
0 .
.
+
+
+
+
'( +
* +
82
82
82
!76
74
,
7+
7+
'*
*
2
2
5
0 .
6
7
0 .
! 7.
%7.
7
+ !
0 .
'
7+
*
+ !
0 .
'
7+
*
0 .
'
!
!0 .
* 7'
A7
!
0 . 0 .
&
'
8
8
8
) )
Description of Functions:
/ "
'6
B
=
1 !!
4
+ ! - &
$
+ ! - &
70 . 7+ !
4
>
- &
$
>
- &
70 . 7>
7>
4
;
!!9
- &
$
;
!!9
- &
70 . 7;
!!
4
9
!
!- &
79
$
9
!
!- &
70 . 7
4
'
9
&
79
9
'
! &
70 .
&
9
.
- &
7
79
$
!&
9
.
- &
70 .
$
!>
&
70 .
: &
!
- &
$
!&
!
&
70 . 79
4
.
&
$
.
&
70 . 7
*
- &
76
&
!
76
>
$
!
*
- &
70 .
'( 9
- &
7
9
'( ! &
70 .
* .
&
7
$
!
* .
&
70 .
&
9
4
* '( . 9
4
* - &
4
- .* .*
3
&
4
$
$
:
.
9
*6
&
,
,
,
,
/
- &
79
6%
' ( 4 *&
. -A + !
+ !
"#$ %%&'
2
2
2
8
8
8
. 9
9
. 9
.
&
9
5 #)
,
,
,
/
/
/
/
3
3
3
%
+ !
74 7
4 #
7
7&
3
3
3
) !)
3 9
Description of Functions:
Revision History
: 3
%
!
3C
3C
3
23C
3C
3
(
D*
$
%2C
3C
3
D*
!
(
E
E
E
E
E
!
&
&
&
&
E&
!
E&
E&
"#$ %%&'
!
!
!
!
!
!
!
!
"
!
A =
*
4
! !
+
!
!
*
1
! *
!
!
=
&
) )
Introduction
Description of Functions:
"#$ %%&'
) )
Description of Functions:
TCP/IP Mode:
In this operating mode, the inner receives all settings needed from the software and starts operating
independently, without having to be connected to the PC. The transactions made by users are stored in
the equipments memory, being necessary to collect them later.
"#$ %%&'
) )
Operation Modes
Description of Functions:
On Line Mode
In this operating mode, the inner operates totally dependent on the software, as a dumb terminal. All
actions must be taken in real time by the software and sent to the inner.
When under online mode, the software should run a sequence of basic steps to operate properly. Such
steps are:
1 - Open the communication port.
2 Connect to inner.
4 - Send inner'
s Online standard message.
5 Setup Online data entry forms.
7 When receiving some data, you may perform some validations, send a
temporary message, activate inners beep, etc. Go back to step 4.
"#$ %%&'
) )
Description
Status Machine
of Functions:
Status Machine
We recommend your program follows what we agreed to call the Status Machine. The Status
Machine is no more than a routine which loops testing a variable we call Status. Depending on the current
status, we run some procedures and, then, change the status that is to be checked by the status machine
again in the next step of the loop.
As a result, the program makes the understanding and maintenance of the code easier. To better make
an example of the concept, open the On-Line example software that comes with this SDK.
In case you are using Visual Basic, the example can be found in the "Exemplos\VB\On-Line folder.
In case you are using Delphi, the example can be found in the "Exemplos\Delphi\On-Line folder.
In case you are using Java, the example can be found in the "Exemplos\Java\On-Line folder.
Connecting
Set up
Send Standard
Message
Set up Online
Entries
Receive Online
Data - Polling
Note that the status sequence follows a logic order, thus making it easier to comprehend the
operation of the process as a whole. Such example is a functional and may be used as basis for its
development.
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
}
5: //Runs step 5 for current Inner, keeps polling
if(ReceberDadosOnLine(InnerAtual, Origem, Complemento, Cartao, Dia,
Mes, Ano, Hora, Minuto, Segundo) = 0){
//Runs necessary tasks, such as saving to database,
sending a beep, etc.
//Sets current Inner to the next status
VetorInners[InnerAtual] = 4;
}
OutroPasso:
//Insert other steps here, as many as you find necessary
}
"#$ %%&'
Description of Functions:
"#$ %%&'
Declarations
Description in
of Visual
Functions:
Basic
"#$ %%&'
Declarations
Basic
Description in
of Visual
Functions:
Public Declare Function HabilitarTeclado Lib "EasyInner.dll" (ByVal Habilita As Byte, ByVal Ecoar As
Byte) As Byte
Public Declare Function ConfigurarAcionamento1 Lib "EasyInner.dll" (ByVal Funcao As Byte, ByVal
Tempo As Byte) As Byte
Public Declare Function ConfigurarAcionamento2 Lib "EasyInner.dll" (ByVal Funcao As Byte, ByVal
Tempo As Byte) As Byte
Public Declare Function ConfigurarTipoLeitor Lib "EasyInner.dll" (ByVal Tipo As Byte) As Byte
Public Declare Function ConfigurarLeitor1 Lib "EasyInner.dll" (ByVal Operacao As Byte) As Byte
Public Declare Function ConfigurarLeitor2 Lib "EasyInner.dll" (ByVal Operacao As Byte) As Byte
Public Declare Function DefinirCodigoEmpresa Lib "EasyInner.dll" (ByVal Codigo As Long) As Byte
Public Declare Function DefinirNivelAcesso Lib "EasyInner.dll" (ByVal Nivel As Byte) As Byte
Public Declare Function UtilizarSenhaAcesso Lib "EasyInner.dll" (ByVal Utiliza As Byte) As Byte
Public Declare Function DefinirTipoListaAcesso Lib "EasyInner.dll" (ByVal Tipo As Byte) As Byte
Public Declare Function DefinirQuantidadeDigitosCartao Lib "EasyInner.dll" (ByVal Quantidade As Byte)
As Byte
Public Declare Function AvisarQuandoMemoriaCheia Lib "EasyInner.dll" (ByVal Avisa As Byte) As Byte
Public Declare Function DefinirPorcentagemRevista Lib "EasyInner.dll" (ByVal Porcentagem As Byte) As
Byte
Public Declare Function RegistrarAcessoNegado Lib "EasyInner.dll" (ByVal TipoRegistro As Byte) As
Byte
Public Declare Function CartaoMasterLiberaAcesso Lib "EasyInner.dll" (ByVal Libera As Byte) As Byte
Public Declare Function DefinirLogicaRele Lib "EasyInner.dll" (ByVal Logica As Byte) As Byte
Public Declare Function DesabilitarBloqueioCatracaMicroSwitch Lib "EasyInner.dll" (ByVal Desabilita As
Byte) As Byte
Public Declare Function DefinirFuncaoDefaultLeitoresProximidade Lib "EasyInner.dll" (ByVal Funcao As
Byte) As Byte
Public Declare Function DefinirNumeroCartaoMaster Lib "EasyInner.dll" (ByVal Master As String) As Byte
Public Declare Function DefinirFormasPictogramasMillenium Lib "EasyInner.dll" (ByVal Forma As Byte)
As Byte
Public Declare Function DesabilitarBipCatraca Lib "EasyInner.dll" (ByVal Desabilita As Byte) As Byte
Public Declare Function DefinirEventoSensor Lib "EasyInner.dll" (ByVal Sensor As Byte, ByVal Evento
As Byte, ByVal Tempo As Byte) As Byte
Public Declare Function PermitirCadastroInnerBioVerid Lib "EasyInner.dll" (ByVal Permite As Byte) As
Byte
Public Declare Function ReceberDataHoraDadosOnLine Lib "EasyInner.dll" (ByVal Recebe As Byte) As
Byte
Public Declare Function InserirQuantidadeDigitoVariavel Lib "EasyInner.dll" (ByVal Digito As Byte) As
Byte
Public Declare Function ConfigurarWiegandDoisLeitores Lib "EasyInner.dll" (ByVal Habilita As Byte,
ByVal ExibirMensagem As Byte) As Byte
Public Declare Function DefinirFuncaoDefaultSensorBiometria Lib "EasyInner.dll" (ByVal Funcao As
Byte) As Byte
Public Declare Function EnviarConfiguracoes Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
"#$ %%&'
) !)
Declaraes
Visual Basic
Descriptionem
of Functions:
Public Declare Function ApagarHorariosAcesso Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function InserirHorarioAcesso Lib "EasyInner.dll" (ByVal Horario As Byte, ByVal
DiaSemana As Byte, ByVal FaixaDia As Byte, ByVal Hora As Byte, ByVal Minuto As Byte) As Byte
Public Declare Function EnviarHorariosAcesso Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ApagarListaAcesso Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function InserirUsuarioListaAcesso Lib "EasyInner.dll" (ByVal Cartao As String, ByVal
Horario As Byte) As Byte
Public Declare Function EnviarListaAcesso Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function EnviarMensagemPadraoOnLine Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
ExibirData As Byte, ByVal Mensagem As String) As Byte
Public Declare Function EnviarMensagemTemporariaOnLine Lib "EasyInner.dll" (ByVal Inner As Long,
ByVal ExibirData As Byte, ByVal Mensagem As String, ByVal Tempo As Byte) As Byte
Public Declare Function DefinirMensagemEntradaOffLine Lib "EasyInner.dll" (ByVal ExibirData As Byte,
ByVal Mensagem As String) As Byte
Public Declare Function DefinirMensagemSaidaOffLine Lib "EasyInner.dll" (ByVal ExibirData As Byte,
ByVal Mensagem As String) As Byte
Public Declare Function DefinirMensagemPadraoOffLine Lib "EasyInner.dll" (ByVal ExibirData As Byte,
ByVal Mensagem As String) As Byte
Public Declare Function DefinirMensagemFuncaoOffLine Lib "EasyInner.dll" (ByVal Mensagem As String,
ByVal Funcao As Byte, ByVal Habilitada As Byte) As Byte
Public Declare Function EnviarMensagensOffLine Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ApagarMensagensOffLine Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ApagarHorariosSirene Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function InserirHorarioSirene Lib "EasyInner.dll" (ByVal Hora As Byte, ByVal Minuto As
Byte, _
ByVal Segunda As Byte, ByVal Terca As Byte, ByVal Quarta As Byte, ByVal Quinta As Byte, _
ByVal Sexta As Byte, ByVal Sabado As Byte, ByVal DomingoFeriado As Byte) As Byte
Public Declare Function EnviarHorariosSirene Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ColetarBilhete Lib "EasyInner.dll" (ByVal Inner As Long, ByRef Tipo As Byte,
ByRef Dia As Byte, ByRef Mes As Byte, ByRef Ano As Byte, ByRef Hora As Byte, ByRef Minuto As Byte,
ByVal Cartao As String) As Byte
"#$ %%&'
Declarations
Basic
Description in
of Visual
Functions:
Public Declare Function EnviarFormasEntradasOnLine Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
QtdeDigitosTeclado As Byte, ByVal EcoTeclado As Byte, ByVal FormaEntrada As Byte, ByVal
TempoTeclado As Byte, ByVal PosicaoCursorTeclado As Byte) As Byte
Public Declare Function ReceberDadosOnLine Lib "EasyInner.dll" (ByVal Inner As Long, ByRef Origem
As Byte, ByRef Complemento As Byte, ByVal Cartao As String, ByRef Dia As Byte, ByRef Mes As Byte,
ByRef Ano As Byte, ByRef Hora As Byte, ByRef Minuto As Byte, ByRef Segundo As Byte) As Byte
Public Declare Function LerSensoresInner Lib "EasyInner.dll" (ByVal Inner As Long, ByRef
StatusSensor1 As Byte, ByRef StatusSensor2 As Byte, ByRef StatusSensor3 As Byte) As Byte
Public Declare Function EnviarMensagemImpressora00 Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
Mensagem As String) As Byte
Public Declare Function EnviarMensagemImpressoraFF Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
Mensagem As String) As Byte
Public Declare Function DefinirConfiguracoesFuncoes Lib "EasyInner.dll" (ByVal Funcao As Byte, ByVal
Catraca As Byte, ByVal Rele1 As Byte, ByVal Rele2 As Byte, ByVal Lista As Byte, ByVal Biometria As
Byte) As Byte
Public Declare Function EnviarConfiguracoesFuncoes Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function SolicitarModeloBio Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ReceberModeloBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal OnLine As
Byte, ByRef Modelo As Long) As Byte
Public Declare Function SolicitarVersaoBio Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
"#$ %%&'
Declarations
Basic
Description ofVisual
Functions:
Public Declare Function ReceberVersaoBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal OnLine As
Byte, ByRef VersaoAlta As Long, ByRef VersaoBaixa As Long) As Byte
Public Declare Function SolicitarQuantidadeUsuariosBio Lib "EasyInner.dll" (ByVal Inner As Long) As
Byte
Public Declare Function ReceberQuantidadeUsuariosBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
OnLine As Byte, ByRef Quantidade As Long) As Byte
Public Declare Sub InicializarColetaListaUsuariosBio Lib "EasyInner.dll" ()
Public Declare Function SolicitarListaUsuariosBio Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ReceberPacoteListaUsuariosBio Lib "EasyInner.dll" (ByVal Inner As Long) As
Byte
Public Declare Function ReceberUsuarioLista Lib "EasyInner.dll" (ByVal Inner As Long, ByVal Usuario As
String) As Byte
Public Declare Function TemProximoUsuario Lib "EasyInner.dll" () As Long
Public Declare Function TemProximoPacote Lib "EasyInner.dll" () As Long
Public Declare Sub SetarBioLight Lib "EasyInner.dll" (ByVal Light As Long)
Public Declare Function SolicitarUsuarioCadastradoBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
Usuario As String) As Byte
Public Declare Function ReceberUsuarioCadastradoBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
OnLine As Byte, ByVal Template As String) As Byte
Public Declare Function SolicitarExclusaoUsuario Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
Usuario As String) As Byte
Public Declare Function UsuarioFoiExcluido Lib "EasyInner.dll" (ByVal Inner As Long, ByVal OnLine As
Byte) As Byte
Public Declare Function InserirUsuarioLeitorBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal Tipo As
Byte, ByVal Usuario As String) As Byte
Public Declare Function ResultadoInsercaoUsuarioLeitorBio Lib "EasyInner.dll" (ByVal Inner As Long,
ByVal OnLine As Byte) As Byte
Public Declare Function FazerVerificacaoBiometricaBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
Usuario As String) As Byte
Public Declare Function ResultadoVerificacaoBiometrica Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
OnLine As Byte) As Byte
Public Declare Function FazerIdentificacaoBiometricaBio Lib "EasyInner.dll" (ByVal Inner As Long) As
Byte
Public Declare Function ResultadoIdentificacaoBiometrica Lib "EasyInner.dll" (ByVal Inner As Long,
ByVal OnLine As Byte, ByVal Usuario As String) As Byte
Public Declare Function SolicitarTemplateLeitor Lib "EasyInner.dll" (ByVal Inner As Long) As Byte
Public Declare Function ReceberTemplateLeitor Lib "EasyInner.dll" (ByVal Inner As Long, ByVal OnLine
As Byte, ByVal Template As String) As Byte
Public Declare Function ConfigurarBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
HabilitaIdentificacao As Byte, ByVal HabilitaVerificacao As Byte) As Byte
Public Declare Function ResultadoConfiguracaoBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal
OnLine As Byte) As Byte
Public Declare Function EnviarUsuarioBio Lib "EasyInner.dll" (ByVal Inner As Long, ByVal Template As
String) As Byte
Public Declare Function UsuarioFoiEnviado Lib "EasyInner.dll" (ByVal Inner As Long, ByVal OnLine As
Byte) As Byte
Public Declare Function CompararDigitalLeitor Lib "EasyInner.dll" (ByVal Inner As Long, ByVal Template
As String) As Byte
Public Declare Function ResultadoComparacaoDigitalLeitor Lib "EasyInner.dll" (ByVal Inner As Long,
ByVal OnLine As Byte) As Byte
Public Declare Function IncluirUsuarioSemDigitalBio Lib "EasyInner.dll" (ByVal Cartao As String) As Byte
Public Declare Function EnviarListaUsuariosSemDigitalBio Lib "EasyInner.dll" (ByVal Inner As Long) As
Byte
"#$ %%&'
Description of Functions:
"#$ %%&'
Description
Declarations
of Functions:
in Delphi
"#$ %%&'
Declarations
in Delphi
Description
of Functions:
"#$ %%&'
Declarations
in Delphi
Delphi
Description
Declaraes
ofem
Functions:
Function ColetarBilhete( Inner:Integer; Tipo, Dia, Mes, Ano, Hora, Minuto: Pointer; Cartao:PChar):Byte;
stdcall; external '
EasyInner.dll'
;
Function EnviarFormasEntradasOnLine(
Inner:Integer;QtdeDigitosTeclado,EcoTeclado,FormaEntrada,TempoTeclado,PosicaoCursorTeclado:Byte
):Byte; stdcall; external '
EasyInner.dll'
;
Function ReceberDadosOnLine( Inner:Integer; Origem, Complemento: Pointer; Cartao: PChar; Dia, Mes,
Ano, Hora, Minuto, Segundo:Pointer):Byte; stdcall; external '
EasyInner.dll'
;
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
"#$ %%&'
) !)
Description of Functions:
These values are exclusive to each function; their meaning is specific to each function. These values are
explained in the descriptions for each function of the dll, under the item Specific responses.
Direct commands
DefineConnectionType (Type)
Description: Defines which type of connection (comm type) will be used by the dll, if it will be serial or
TCP/IP.
Parameters:
Type:
0 Serial communication.
1 TCP/IP communication using variable port.
2 TCP/IP communication using fixed port.
3 Communication using modem.
- For TCP/IP communication with variable port, the inners will connect to the following
ports:
Inner 01 Connects to port 3570.
Inner 01 Connects to port 3571.
Inner 03 Connects to port 3572.
Inner 04 Connects to port 3573.
And so on. This process will be visible to the application.
The port number sent by the OpenCommPort function will be ignored
by the dll.
- For the TCP/IP communication using a fixed port, all the inners will connect to a single
port, whose number is specified using function OpenCommPort.
General responses: Yes.
Specific responses: None.
OpenCommPort (Port)
Description: Opens the desired communication port. This function must be called before initiating any
data transmission or receiving process with the Inner.
Parameters: Port number of serial or TCP/IP port.
General responses: Yes.
Specific responses: None.
"#$ %%&'
Description of Functions:
CloseCommPort ()
Description: Closes the previously opened communication port, whether it is serial or TCP/IP.
Parameters: None.
General responses: None.
Specific responses: None.
DefineCardStandard (Standard);
Description: Defines which card standard is to be used by the inners, topdata or free standard. The
topdata standard is described in the manual for the equipment and is used only with the inners in Offline
mode. In free standard all card digits are considered as registration ones. It can be used in Online or
Offline mode.
Parameters:
Standard:
0 Topdata standard.
1 Free standard.
"#$ %%&'
Description of Functions:
ActivateShortBeep (Inner)
Description: Makes inner sound a short beep (sound alarm).
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
Description: Releases turnstile movement opposite to inners standard entry direction so that the user
may turn it. For ReceiveDataOnLine function, the value for the Complement parameter will be an exit
type.
Parameters: Inner Number of the desired inner.
General responses: Yes.
Specific responses: None.
ReleaseTurnstileExitInverted (Inner)
Description: Releases turnstile movement opposite to inners standard exit direction so that the user may
turn it. For ReceiveDataOnLine function, the value for the Complement parameter will be an entry type.
Parameters: Inner Number of the desired inner.
General responses: Yes.
Specific responses: None.
ReleaseTurnstileBothDirections (Inner)
Description: Releases turnstile movement so that user may turn it toward both directions.
Parameters: Inner Number of the desired inner.
General responses: Yes.
Specific responses: None.
GoBackOnLine (Inner)
Description: After inner goes offline and retrieves connection, this command initializes inner to online
mode without having to send the settings command again.
Parameters: Inner Number of the desired inner.
General responses: Yes.
Specific responses: None.
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
Function:
0 Not used
1 Entrance and exit
2 Entrance
3 Exit
4 Buzzer
5 Search
6 Entry turnstile, with free exit
7 Exit turnstile, with free entry
8 Turnstile with free movement in both directions
9 Turnstile with free movement in both directions and record is
generated according to the direction.
Tempo:
0 to 50 seconds.
SetReaderType (Type)
Description: Sets the type of reader the inner is using, if it is a bar code, magnetic, or proximity reader.
Parameters:
Type:
Operation:
0 Deactivated reader.
1 Entrance only.
2 Exit only.
3 Entrance and exit.
4 Inverted entrance and exit.
"#$ %%&'
Description of Functions:
Code: 0 to 999.
Nvel: 0 to 9.
Use:
Type:
"#$ %%&'
Description of Functions:
Parameters:
Quantity: 4 to 16 digits.
Percentage:
0 to 100.
RecordType:
Release:
"#$ %%&'
) !)
Description of Functions:
Disable:
0 Enables block.
1 Disables automatic block.
Function:
0 Disabled.
1 to 9 Record as an inners keyboard function.
10 Always record as an entry.
11 Always record as an exit.
12 Releases turnstile movement in both directions and records
the register according to direction of movement.
Master:
"#$ %%&'
Description of Functions:
Shape:
Value
0
1
2
3
4
5
6
7
8
Side 1
Arrow
Arrow
Denied
Denied
Arrow
Erased
Denied
Erased
Erased
Side 2
Arrow
Denied
Arrow
Denied
Erased
Arrow
Erased
Denied
Erased
Disable:
1 Disables beep.
0 Does not disable beep.
"#$ %%&'
Description of Functions:
Sensor:
Event:
Time:
Receive:
"#$ %%&'
Description of Functions:
Function:
0 disabled.
1 to 9 functions from 1 to 9.
10 entrance.
11 exit.
12 releases turnstile for both directions and records register
according to the turn.
Inner:
"#$ %%&'
Description of Functions:
Inner:
Day:
Month:
Year:
Hour:
Minute
Second:
1 to 31.
1 to 12.
0 to 99.
0 to 23.
0 to 59.
0 to 59.
Inner:
StartDay:
StartMonth:
StartYear:
StartHour:
StartMinute:
1 to 31.
1 to 12.
0 to 99.
0 to 23.
0 to 59.
EndDay:
EndMonth:
EndYear:
EndHour:
EndMinute:
1 to 31.
1 to 12.
0 to 99.
0 to 23.
0 to 59.
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
Inner:
Inner:
"#$ %%&'
Description of Functions:
Inner:
Card:
Time:
Inner:
"#$ %%&'
Description of Functions:
Inner:
ShowDate:
Message:
Inner:
ShowDate:
Message:
Time:
"#$ %%&'
Description of Functions:
ShowDate:
Message:
ShowDate:
Message:
"#$ %%&'
ShowDate:
Message:
) !)
Description of Functions:
Menssage:
Function:
0 to 9.
Enabled:
Inner:
Inner:
"#$ %%&'
Description of Functions:
Description: Individually sets the inners reaction to each function, that is, if the inner is to activate relay 1
and request biometry when using function 0, for example.
The settings will be stored in a buffer inside the dll and will be sent only after DefineSettingsFunctions
function is called.
Parameters:
Function:
0 to 9.
Turnstile:
Relay1:
Relay2:
List:
Biometry:
Inner:
"#$ %%&'
Description of Functions:
Inner:
Hour:
0 to 23.
Minute:
0 to 59.
Other parameters:
Inner:
"#$ %%&'
Description of Functions:
Inner:
Type:
Day:
1 to 31.
Month:
1 to 12.
Year:
0 to 99.
Hour:
0 to 23.
Card:
"#$ %%&'
Description of Functions:
Inner:
KeyboardDigitsQuantity:
0 to 20 digits.
KeyboardEcho:
0 for no
1 for yes
2 echo *
InputMethod:
KeyboardTime:
1 to 50.
KeyboardCursorPosition:
1 to 32.
"#$ %%&'
)! )
Description of Functions:
ReceiveDataOnLine (Inner, Origin, Complement, Card, Day, Month, Year, Hour, Minute, Second)
Description: Collects an OnLine register in case the user has passed or typed some card into the Inner.
Returns the card information in the function'
s parameters. In order to return the OnLine register date/time,
the inner must have previously been set using ReceiveDateTimeDataOnLine function.
Parameters:
Inner:
Card:
Day:
1 to 31.
Month:
1 to 12.
Year:
0 to 99.
Hour:
0 to 23.
Minute:
0 to 59.
Second:
0 to 59.
"#$ %%&'
)! )
Description of Functions:
Inner:
Other parameters:
"#$ %%&'
)! )
Description of Functions:
Inner:
Message:
Inner:
Message:
"#$ %%&'
)! )
Description of Functions:
Enable:
Time:
Keyboard:
Reader1, Reader2:
Turnstile:
0 deactivated
1 entrance only
2 exit only
3 entrance and exit
4 exit and entrance
"#$ %%&'
ShowDate:
Message:
)! )
Description of Functions:
ShowDate:
Message:
Input:
"#$ %%&'
Digits:
0 to 20 digits.
EchoDisplay:
0 no echo
1 for yes
2 echo *
) !!)
Description of Functions:
Time:
1 to 50.
CursorPosition:
1 to 32.
SendSettingsAutomaticSwitchOnLineOffLine (Inner)
Description: Sends buffer with settings of automatic change from OnLine to OffLine mode.
Parameters:
Inner:
"#$ %%&'
)! )
Description of Functions:
RequestModelBio (Inner)
Description: Requests the model of Inner bio. To receive the result from this operation, you should call the
ReceberModeloBio function while the operation is processed.
Parameters:
Inner:
"#$ %%&'
)! )
Description of Functions:
Inner:
OnLine:
Model:
Inner:
Inner:
OnLine:
HighVersion:
LowVersion:
"#$ %%&'
)! )
Description of Functions:
Inner:
Inner:
OnLine:
Quantity:
Inner:
User:
"#$ %%&'
)! )
Description of Functions:
Description: Returns the result obtained with RequestRegisteredUserBio command and the template
containing both fingerprints from user registered in Inner Bio. The template is returned by reference in the
function parameters.
Parameters:
Inner:
OnLine:
Template:
Inner:
User:
Inner:
OnLine:
"#$ %%&'
Description of Functions:
Description: Requests Inner Bio to insert a user using the biometric reader. The reader will lit the red light
and, after the user inserts fingerprint, he/she will automatically be registered in the Inner Bio with the card
number used in the User parameter.
Parameters:
Inner:
Type:
User:
General responses:
Yes.
Specific responses:
Inner:
OnLine:
"#$ %%&'
Inner:
User:
Description of Functions:
Inner:
OnLine:
Inner:
Inner:
OnLine:
User:
"#$ %%&'
Description of Functions:
RequestTemplateReader (Inner)
Description: Requests a template containing only one fingerprint to Inner Bio. When this function is
performed, Inner Bio'
s biometric reader will lit and the fingerprint inserted will be sent directly to the
application, without being stored in the database.
It is necessary to call ReceiveTemplateReader function to receive the fingerprint.
Parameters:
Inner:
Inner:
OnLine:
Template:
Inner:
"#$ %%&'
EnableIdentification:
0 Disables.
1 Enables.
EnableVerification:
0 Disables.
1 Enables.
Description of Functions:
Inner:
OnLine:
Inner:
Template:
Inner:
OnLine:
"#$ %%&'
Description of Functions:
Inner:
Template:
Inner:
OnLine:
Card:
"#$ %%&'
) !)
Description of Functions:
Description: Sends buffer containing non-fingerprint user list to Inner. After running command, the buffer
is cleaned by the dll.
Parameters:
Inner:
SetBioLight (Light)
Description: Defines that the inner used in the moment is a bio light inner, instead of a bio 1000/4000
inner. This function must be called whenever necessary before RequestRegisteredUserBio,
RequestDeleteUser, InsertUserReaderBio, and PerformBiometricVerificationBio functions.
Parameters:
Light:
"#$ %%&'
Description of Functions:
"#$ %%&'
Description of Functions:
RequestUserListBio (Inner)
Description: Requests the current Inner Bios user list package.
Parameters:
Inner:
Inner:
Inner:
User:
"#$ %%&'
Description of Functions:
Specific responses:
0 No user.
1 There are users.
ThereisNextPackage ()
Description: Returns 1 if there are more packages in the user list to be received from Inner Bio.
Parameters: None.
General responses: None.
Specific responses:
"#$ %%&'
Description of Functions:
-1 Processing.
1, 5, 10, or 12 Connected modem.
3 No answer from modem.
6 No dial tone.
7 Busy.
"#$ %%&'
-3 Invalid telephone.
-2 Invalid initialization string.
-1 Processing.
1, 5, 10, or 12 Connected modem.
Description of Functions:
"#$ %%&'