PROTOCOL OVERVIEW
PRODUCT REFERENCE GUIDE 44
PROTOCOL OVERVIEW
The client sends a command to the Smart-VS and receives a reply with the result. The
Smart-VS (server) is able to process only one command at a time. There are two types of
commands:
1. Device control commands
2. Commands for Upload and Download of binary files
Figure 21: Example of communication
Description of available features
There are two macro-groups of features:
1. Synchronous features: begins features that require short execution times. The
result will be available directly in the reply.
2. Asynchronous features: begins features that take long execution times. The result
must be requested once the completion of the task has been verified. In the event
that the task is immediately finalized without previously verifying that the status
has ended, the call will be blocked and the reply will be sent at the end of the task
execution.
Use of synchronous features
When a synchronous feature is performed, the reply is sent at the end of the execution.
See example in the figure.
Figure 22: Example of using a synchronous feature
If the feature requires results to be sent, they will be contained in the reply.
Client
System Controller
or
PC
Smart-VS
(Server)
Command
Reply
Smart-VS
(Server)
Client
Smart-VS
(Server)
Synchronous t
ask start comm
and
Reply
EX
EC
UT
IO
N