Extron electronic DVS 304 A Serial Communication, cont’d, Command, ASCII Telnet, Response, Wcc

Models: DVS 304 DVS 304 A DVS 304 D DVS 304 AD

1 96
Download 96 pages 15.78 Kb
Page 62
Image 62
Listing connections

3-22 DVS 304 • Serial Communication

Command/response table for IP control port commands (continued)

Command

ASCII (Telnet)

URL Encoded (Web)

Response

Additional description

 

(host to processor)

(host to processor)

(processor to host)

 

 

 

 

 

 

Listing connections

 

 

 

 

Get connection listing

E CC }

WCC

(See below.)

 

Remote client IP address: port number, time/date when connection was made, total connection time ]

Remote client IP address: port number, time/date when connection was made, total connection time ]

Remote client IP address: port number, time/date when connection was made, total connection time ]

...

Total clients • connections available ]]

Unit Web 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 Direct Access port map

E MD }

WMD

{port#} ]

 

Get listing

E DF }

WDF

(See below.)

Retrieve a list of files stored in the DVS 304.

 

 

 

 

Each line of the response lists a different file

 

 

 

 

name and its corresponding file size. The

Unit Telnet text responses: Unit Web 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_remaining • Bytes left ]]

file [n] = ‘filename n, date n, filesize n’;

 

file [n + 1] = ‘space remaining, Bytes left’

Serial Communication, cont’d

Page 62
Image 62
Extron electronic DVS 304 A manual Serial Communication, cont’d, Command, ASCII Telnet, URL Encoded Web, Response, Wcc