Serial communication, cont’d – Extron electronic Digital Video Scaler Series DVS 304 AD User Manual

Page 62

Advertising
background image

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’

Advertising