QuercusVL Programming Manual
4. Communications protocol
Each unit can receive and send information through a simple, binary UDP protocol. The
messages will be sent to the unit through port 8051 (can be modified with the setup), and the
unit will send messages to port 8050 of the address configured as central system (can be
modified with the setup), where the client application is running.
There are two main groups of messages in the communications between the unit and the
central system:
●
Events.
●
Requests (and their responses).
An Event is defined as a message sent by the unit to notify the central system of a happening
(arrival of an incidence, activation of a digital output, etc.). An event must be responded to by
the central system within a limited period of time (can be modified in the setup) with an ACK,
so that the unit knows that the message has been successfully received. Otherwise, the
message will be sent again until the ACK is received or the maximum number of retries is
exceeded (can also be modified in the setup). If an event is answered with a NAK, it will also
be sent again until the maximum number of retries is exceeded.
Example of Events:
A message of Request type is a message sent by the client application to a unit to obtain
Quercus Technologies
125
Unit
Central system
ACK
Event 1
Event 4
NAK
Event 3
Event 2
Event 2
NAK
Event 3
Timeout