Talk To NXT (t2n)
 
    (last revision 2024.04.15)
 
    
    
    
    
    t2n (Talk to Nxt) is a command line tool for communicating with the
    NXT brick through the USB port.
    In particular it allows to upload, list, remove nxc files to/from
    the brick.
    Pre-compiled versions are provided for Linux x86_64.
    Sources are provided under GPL licence; code may compile on any
    unix-like, requires libusb and gcc.
    
    t2n version 0.0
    usage: t2n [options] | t2n -help
    recognized options:
      -b          :
    check battery level
      -i          :
    print nxt info
      -ls         : list
    files
      -put <file.rxe> : upload file
      -get <file.rxe> : download file
      -v          :
    verbose
      -vv         : more verbose
      -vvv        : even more versbose
      -help       : print help and
    return
      -version    : print version and return
    
    
    Download here  sources and Linux
    executables.
    
    Note that:
    
      - Your linux must have USB support (libusb, libusb-dev)
      - However a binary is distributed, it is strongly recommended to
        compile the tool from the source: in this case you will need the
        gnu/g++, gnu/make and libusb-dev packages installed.
      - t2n last version is developped in Ubuntu 22.04.4 LTS
It (probably) compiles and run on
    older 32 bits systems.
      - Setting rights for USB may be tricky. udev mechanism seems to
        work well in many Linuces:
        
          - copy 72-lego.rules in
            "/etc/udev/rules.d" (must be root)
- warning: the ".rules" syntax depends on the udev version:
            you may have to fix it.
 
 
Links
    
      Official Lego Mindstorm page
    
    
    Nbc/Nxt page