Serial Communication, cont’d
DVS 304 • Serial Communication
3-22
Command/r
esponse table for IP contr
ol port commands (continued
)
Command
ASCII (T
elnet
)
(host to pr
ocessor
)
URL Encoded (W
eb
)
(host to pr
ocessor
)
Response
(pr
ocessor to host
)
Additional description
Listing connections
Get connection listing
E
CC
}
WCC
|
(See below
.)
Remote client IP
addr
ess: port number
, time/date when connection was made, total connection time
]
Remote client IP
addr
ess: port number
, time/date when connection was made, total connection time
]
Remote client IP
addr
ess: port number
, time/date when connection was made, total connection time
]
...
Total
clients
•
connections
available
]]
Unit W
eb responses: HTML
Sample Code
var connections = new
Array ();
connections [1] = ‘Client IP1, timedate 1, uptime 1’;
connections [2] = ‘Client IP2, timedate 2, uptime 2’;
connections [3] = ‘Client IP3, timedate 3, uptime 3’;
...
connections [n] = ‘Client IPn, timedate n, uptime n’;
connections [n + 1] = ‘total clients, connections available’;
File commands
Read Dir
ect
Access port map
E
MD
}
WMD
|
{port#}
]
Get listing
E
DF
}
WDF
|
(See below
.)
Retrieve a list of files stor
ed in the DVS 304.
Each line of the r
esponse lists a dif
fer
ent file
name and its corr
esponding file size. The
Unit T
elnet text responses:
Unit W
eb responses:
filename
x
•
date/time
*
length
]
var file - new
Array ():
filename
x
•
date/time
*
length
]
file [1] = ‘filename 1, date 1, filesize 1’;
filename
x
•
date/time
*
length
]
file [2] = ‘filename 2, date 2, filesize 2’;
filename
x
•
date/time
*
length
]
file [3] = ‘filename 3, date 3, filesize 3’;
...
...
space_r
emaining
•
Bytes
left
]]
file [n] = ‘filename n, date n, filesize n’;
file [n + 1] = ‘space r
emaining, Bytes left’
Содержание Digital Video Scaler Series DVS 304 AD
Страница 1: ...DVS 304 68 1039 01 Rev B 11 08 Digital Video Scaler Series DVS 304 DVS 304 D DVS 304 A DVS 304 AD ...
Страница 8: ...Table of Contents cont d DVS 304 Table of Contents TOC iv PRELIMINARY ...
Страница 9: ...DVS 304 1 Chapter One Introduction About this Manual About the DVS 304 DVS 304 D DVS 304 A DVS 304 AD ...
Страница 41: ...DVS 304 3 Chapter Three Serial Communication SIS Programmer s Guide Control Software for Windows ...
Страница 68: ...Serial Communication cont d DVS 304 Serial Communication 3 28 ...
Страница 69: ...DVS 304 4 Chapter Four Ethernet Control Accessing and Using the Web Server Navigating the Default Web Pages ...
Страница 81: ...DVS 304 A Appendix Menu System DVS 304 Menu System ...
Страница 94: ...Reference Material cont d DVS 304 Reference Material B 8 ...