Scroll to navigation

NXT-PUSH(1) NXT-Python NXT-PUSH(1)

NAME

nxt-push - Push files to a NXT brick

SYNOPSIS

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

DESCRIPTION

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

Names of files to send to the NXT brick.

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.

COMMON OPTIONS

Those options are common to programs using NXT-Python.

Enable given backend. Can be used several times to enable several backends. One of usb, bluetooth, socket or devfile.
Name of configuration file section to use.
--config-filename PATH
Path to configuration file. Can be used several times to use several configuration files.
Name of NXT brick (for example: NXT). Useful to find the right brick if several bricks are connected.
Bluetooth address of the NXT brick (for example: 00:16:53:01:02:03).
Server address or name to connect to when using socket backend.
Server port to connect to when using socket backend.
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.

EXAMPLE

Sends the MotorControl22.rxe file to a connected NXT using its Bluetooth address to find it.

SEE ALSO

nxt-python.conf(5)

NXT-Python documentation <https://ni.srht.site/nxt-python/latest/>

AUTHOR

This program is part of NXT-Python which is currently maintained by Nicolas Schodet.

COPYRIGHT

2021-2025, Nicolas Schodet

January 12, 2025 3.5.1