FrontPage 

Fuego 1.1 wiki

Login or create account

function ov transport get in 'raw' format

= NAME =
ov_transport_get

= SYNOPSIS =
 * ov_transport_get <source> <destination>

= DESCRIPTION =
ov_transport_put is an internal function used to transfer directories and files to the target.

It used information from the board file to select the correct method to use
to transfer files to the target.  Currently supported transports are:
 * ssh
 * serial
 * ttc


= EXAMPLES =
See [[function_get#EXAMPLES|the get function]] for examples of arguments used with this function.

= ENVIRONMENT and ARGUMENTS =
The following environment variables are used by ov_transport_put:
 * $TRANSPORT - specifies the type of transport used to communication with the board.  This should be one of "ssh", "serial", "ttc".
 * $LOGIN 
 * $PASSWORD

If $TRANSPORT is "ssh":
 * $DEVICE - the network name of the target device

If $TRANSPORT is "serial":
 * $SERIAL
 * $BAUD
 * $IO_TIME_SERIAL

If $TRANSPORT is "ttc":
 * $TTC_TARGET

For details about the meaning of the environment variables used here, see
[[Adding_a_board#TRANSPORT_parameters|the TRANSPORT parameters section on the page Adding a board]]

The arguments are passed unchanged to the particular transport function
selected by the TRANSPORT variable.
 * the first argument should be the source filename on the target.  The filename should be a full path (specified from the root)




= RETURN =
Returns non-zero on error

= SOURCE =
Located in ''overlays/base/base-board.fuegoclass''

= SEE ALSO =
 * [[function_get|get]], [[function_ov_transport_put|ov_transport_put]]






TBWiki engine 1.8.3 by Tim Bird