n3c Client Description

General Overview

The client controls the n3c programmer (server) with a set of protocol-commands that are described in the n3cProtocol.html. User-commands behave more like macros which the client translates to protocol-commands and sends to the server. Client also translates the cryptic replies from the server into a more readable form.

Command Description

command layout: command' '[param1' 'param2' '...paramX]

Command
hide
Aliases
hide
Parameters
hide
Description
hide
upload up label file\n Upload file to the server. The server will store the file and use the label as its reference name. The file paremeter is the relative location (to pwd) of the file that should be uploaded. NOTE: upload will overwrite files when same label is used twice.
delete del label\n Delete a file from the server which has the label as defined in parameter.
lsfl ls, listfiles \n List labels of all files which are on the server.
play label ????\n Plays file referenced by label over fpga. (program chip)
lsdv listdevices [????]\n Prints number of devices. NOTE: initially this was designed to list all devices but there were some limitations with hardware.
ping \n Sends a ping command to the server. If server see it then it should respond with a pong. Used to check if server/connection is alive.
repeat rep count interval command\n Sends command to server every interval seconds a total of count times. Interval is measured in seconds but can also be fractions of one (ie: .5). Command is a whole command, with any parameters it requires.
quit q \n Close connection and quit client.
dsht datasinkinghost dshost hostname port\n Sets the address to which data sinking events are sent. The hostname can be either an ip.
dsst datasinkingstart dsstart \n Stars sending datasinking events to host.
dssp datasinkingstop dsstop \n Stops sending datasinking events to host.
test \n Used for debugging, functions and parameters change.
show all columns