DEVICE PROCEDURE CONTROL COMMANDS
PRODUCT REFERENCE GUIDE 66
Scenario 2
The finalization of the task is requested without verifying the actual end of the task.
Protocol exceptions
In the case of syntax errors, two exceptions can be generated by the protocol.
The format of the exceptions is the same as the format of the replies to the
\upload\download
control commands (see “
).
There are two return codes dedicated to the case of exceptions in the protocol:
• Code 13 (ProtocolError) → indicates a syntax error on the command, such as the
presence of an unexpected separator or an unnecessary parameter
• Code 14 (UnknownMethod) → the protocol is syntactically correct but the
required functionality does not exist.
Smart-VS
(Server)
Client
Smart-VS
(Server)
Start file prepar
ation command
PREPARING
BUFFER
RECEIVING FILE
Reply
Richiesta finali
zzazione prepar
azione
Reply file size
PREPARING
FILE
Reply
Binary file download c
ommand