User Manual

VIVOTEK
User's Manual - 391
© 2020 VIVOTEK INC. All Right Reserved
260
data <hex decimal
data>[,<hex decimal
data>]
The <hex decimal data> is a series of digits from 0 ~ 9, A ~
F. Each comma separates the commands by 200
milliseconds.
flush yes,no yes: Receive data buffer of the COM port will be cleared
before read.
no: Do not clear the receive data buffer.
wait
1 ~ 65535
Wait time in milliseconds before read data.
read
1 ~ 128
The data length in bytes to read. The read data will be in
the return page.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <system information length>\r\n
\r\n
<hex decimal data>\r\n
Where hexadecimal data is digits from 0 ~ 9, A ~ F.
8.16 Storage Managements (capability_storage_dbenabled > 0)
Method: GET and POST
Note: This request requires administrator privileges.
In the past time, all the recorded files could be searched/updated/deleted independently. However,
this implementation provides no abstraction of recorded video clips, and which is not easy to use.
Thus edge storage API try to provide a higher abstraction of these video clips.
Ability to change database content from lsctrl.cgi was removed, lsctrl.cgi is changed to read-only.
P
LEASE REFER TO EDGE STORAGE API
Syntax:
http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=<cmd_type>[&<parameter>=<value>…]
The commands usage and their input arguments are as follows.
PARAMETER VALUE DESCRIPTION
cmd_type <string> Required.
Command to be executed, including search and
queryStatus.
© 2020 VIVOTEK INC. All Right Reserved
261
Command: search
PARAMETER VALUE DESCRIPTION
label <integer primary key>
Optional.
The integer primary key column will automatically be
assigned a unique integer.
triggerType <text> Optional.
Indicate the event trigger type.
Please embrace your input value with single quotes.
Ex. triggerType=’vi’
mediaType <text> Optional.
Indicate the file media type.
Ex. mediaType=videoclip
* logical “OR” is not supported for this parameter.
destPath <text> Optional.
Indicate the file location in camera.
Please embrace your input value with single quotes.
Ex. destPath =’/mnt/auto/CF/NCMF/abc.mp4’
resolution <text> Optional.
Indicate the media file resolution.
Please embrace your input value with single quotes.
Ex. resolution=’800x600’
isLocked <boolean> Optional.
Indicate if the file is locked or not.
0: file is not locked.
1: file is locked.
A locked file would not be removed from UI or cyclic
storage.
triggerTime <text> Optional.
Indicate the event trigger time. (not the file created
time)
Format is “YYYY-MM-DD HH:MM:SS”
Please embrace your input value with single quotes.
Ex. triggerTime=’2008-01-01 00:00:00’
If you want to search for a time period, please apply
TO” operation.
Ex. triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01
23:59:59’ is to search for records from the start of Jan 1
st
2008 to the end of Jan 1
st
2008.