![Avonic AV-REC200 Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/avonic/av-rec200/av-rec200_user-manual_3033804046.webp)
API Commands
The API can be used to control the REC200 using a TCP/IP connection. To make this work, you need a TCP/IP
supported application like
Hercules Setup Utility
or
Packet Sender
.
How to use the API
The API has the functionality to send text commands to the REC200. The camera will in return send you its
feedback. Using the REC200 in this way, you can easily enable/ disable audio, recording and streaming and read
out its network and system settings for example.
Follow instructions below:
1.
Open your TCP/IP supported application like
Hercules
or
Packet Sender
.
2.
Fill in the REC200 IP address (see WebGUI) and the TCP/IP port number (default 55555). Click the
button Connect.
3.
Fill in the commands (from the API list below) to be sent to the REC200. Because you send
commands in a text format, HEX should NOT be enabled.
4.
Click on "send" and the camera will sent you:
• The command sent (in pink)
• The output received from the command sent (in black). This could be a status report (picture on
the
right
), or the same command as confirmation (picture on the
left
).
• An error in case that the command is incorrect (as in the picture on the
left
)
5.
You double check this in the WebGUI of the REC200".
Commands should be sent using TCP/IP. The default port for TCP is
55555.
• Do not change capitalization, spacing, or lettering! Each command is terminated with
a carriage return.
• If the command fails, or is incorrect the feedback should be
“Error: unknown cmd”
.
Command with returned feedback
Incorrect command (Error)/ (correct) command
with confirmation
46