NeXTTool Documentation

NeXTTool - USB & Bluetooth NXT communication utility
C:\winapps\projects\BricxCC>nexttool -help
NeXTTool version 1.0 (1.0.3.5, built May 11 2006 17:54:00)
Copyright (c) 2006 John Hansen
Usage: NeXTTool [options] [actions]
Options:
/COM=port: specify port name (COMn, usb, resource string, or alias)
/BT[=name]: use bluetooth (selects the first brick found or the named brick)
/HEX: use hexidecimal for numeric output
/Duration=<n>: specify the tone duration for the playtone action
/Inbox=<n>: use inbox number n when sending or reading a message
/Loop: loop when playing sound files
/Relative: reset output position relative
/Empty: empty mailbox when reading
Actions:
-listbricks : list resource names of all found NXT bricks
-clear : erase all items on the brick
-battery : return the battery level
-input=<N> : read input N (0-2, 0-3 for NXT)
-output=<N> : read the status of output N (0-2)
-mute : stop playing sounds
-playtone=<frequency> : play a tone for the specified duration
-run=<filename> : run the specified program
-runningprogram : return the name of the currently running program
-stop : stop the currently running program
-playfile=<filename> : play the specified sound file
-firmware=<filename> : download firmware
-download=<filename> : download the specified file to the NXT
-upload=<filename> : upload the specified file from the NXT
-listfiles[=<pattern>] : list the files matching the pattern (or *.*)
-listmodules[=<pattern>] : list the modules matching the pattern (or *.*)
-delete=<filename> : delete the specified file from the NXT
-keepalive : return the current sleep time limit
-msg=<string> : send the specified message to the NXT
-msgread=<box> : read the message from the specified box
-resetoutputposition=<port> : reset the position for the specified port
-resetinputsv=<port> : reset the input scaled value for the specified port
-setname=<new_name> : set the name of the NXT
-getname : return the name of the NXT
-versions : return the NXT firmware and protocol versions
-deviceinfo : return all NXT device information
-freemem : return the amount of free memory
-lsstatus=<port> : return the low speed status for the specified port
-btnstate=<btn> : return the button state for the specified button
-resetbtnstate=<btn> : reset the button state for the specified button
-boot : reset the NXT into SAMBA mode (usb only)
-btreset : reset the NXT bluetooth to factory settings (usb only)
General:
-help : display command line options