nxt-push1
Push files to a nxt brick
Usage
nxt-push [–backend
NAME]
[–config
NAME]
[–config-filename
PATH]
[–name
NAME]
[–host
ADDRESS]
[–server-host
HOST]
[–server-port
PORT]
[–filename
FILENAME]
[–log-level
LEVEL]
FILE…
Overview
nxt-push uploads files to a connected NXT brick file system.
The NXT brick can be connected using USB, Bluetooth or over the network.
Options
- FILE…
-
Names of files to send to the NXT brick.
--log-levelLEVEL-
Set the log level. One of DEBUG, INFO, WARNING, ERROR, or CRITICAL. Messages whose level is below the current log level will not be displayed.
Options
Those options are common to programs using NXT-Python.
--backendNAME-
Enable given backend. Can be used several times to enable several backends. One of usb, bluetooth, socket or devfile.
--configNAME-
Name of configuration file section to use.
--config-filenamePATH-
Path to configuration file. Can be used several times to use several configuration files.
--nameNAME-
Name of NXT brick (for example: NXT). Useful to find the right brick if several bricks are connected.
--hostADDRESS-
Bluetooth address of the NXT brick (for example: 00:16:53:01:02:03).
--server-hostHOST-
Server address or name to connect to when using socket backend.
--server-portPORT-
Server port to connect to when using socket backend.
--filenameFILENAME-
Device filename (for example:
/dev/rfcomm0), when using ~nxt.backend.devfile backend.
See nxt-python.conf(5) documentation for better explanation of the options to find the NXT brick.
Examples
- nxt-push --host 00:16:53:01:02:03 MotorControl22.rxe
-
Sends the
MotorControl22.rxefile to a connected NXT using its Bluetooth address to find it.