User's Guide
Guia de usuário Edge-30R+ Autoid / Edge-30R-N+ Autoid
Rev. 13
Copyright © 2022 Acura Technologies
77 de 92
11.2 TCP/IP connection, disconnection, and reconnection logic
Readers have the behavior of a Server, that is, it accepts TCP/IP connections on the user-configured
port. Below are some important points regarding the reader server behavior:
• The reader accepts up to six (6) simultaneous connections on the configured port;
• For reconnection in case of passive disconnection, the Keepalive time interval must be
respected.
• If after an already established connection, the physical link of the network drops (LED LINK of
the PCI Interface erased), that is, there is no more physical connection between the reader and
the host, it is recommended an attempt to reconnect by the host.
For connection/disconnect/reconnection logic it is recommended to constantly check the Keepalive
String + Keepalive end of line sent by the reader constantly even when there is no tag, so it is possible
to check if a connection has been lost. The send interval of keepalive is configured in Keepalive time
interval, it is recommended a timeout interval of receiving data by the host of a time value equal to or
greater than the value configured in this parameter.
Below is a simple flowchart with the host logic of receiving the data sent by the reader.
Makes socket connection on
configured port
Processes the
received data
Connection?
Sim
Não
Sim
Não
Start
Keepalive
or tags?
Destroys the
current
connection