3-23
DVS 304 • Serial Communication
Command ASCII (Telnet
(host to processor
URL Encoded (Web
(host to processor
Response
(processor to host
Additional description
Stream files via port 80
Load file to user flash memory Use POST on port 80 followed by the delimited data to be written to the flash file memory.
Retrieve file from user flash
memory
Send a page GET on port 80 followed by: WSF | {Responds with raw unprocessed data in file.}
Example: http://192.168.254.254/mypage.html?cmd=WSF
|
Stream files via Telnet or RS-232
Load file to user flash
memory
E + UF filesize,
filename
}
{Raw unprocessed data
in file up to filesize}
Upl
]
Retrieve file from user flash
memory
E filename SF }
1B filename 52 46 0D {Responds with raw unprocessed data in file + 1 byte checksum.}
Directory commands
Change/create directory
E{path}/{directory}/CJ}
W {path}/{directory}/CJ|
Dir•{path}/{directory}/
]
N A directory does not actually exist until a file has been copied into the path.
Move back to root directory
E / CJ}
W%2FCJ|
Dir•/
]
Move up one directory
E ..CJ}
W%2E%2ECJ| Dir•{path}/{direc-
View current directory
E CJ}
WCJ|
{path}/{directory}/
]
File erase commands
Erase user-supplied
Web page/file
24, 28
E {filename} EF}
W {filename} EF|
Del • {lename}
]
Erase current directory and
its files
24, 28
E/EF}
W/EF|
Ddl
]
Erase current directory and
subdirectories
24, 28
E//EF}
W//EF|
Ddl
]