📄 readme
字号:
Package: net.tinyos.codeGUIDescription: GUI and command line tools for network reprogramming.Author: Philip Levis, Rob Szewczyk <{pal,szewczyk}@cs.berkeley.edu>This package provides GUI and command line tools for networkreprogramming. It will only work with motes that have TinyOS imagescontaining a network reprogramming component.Executables: net.tinyos.codeGUI.CodeGUI, net.tinyos.codeGUI.CodeInjectornet.tinyos.codeGUI.CodeGUI usage: java net.tinyos.codeGUI.CodeGUI descr: A GUI for programmable networks. One can query the network to see which motes are present, upload a TinyOS image, check to see if the image was correctly installed, start the program installed (flash it and boot), and load files. This GUI is fairly outdated (it uses a deprecated command interface for turning LEDs on and off for demonstration of the interface viability). We recommend that you use the command line tool, which is up-to-date and being actively developed.net.tinyos.codeGUI.CodeInjector usage: java.net.tinyos.codeGUI.CodeInjector descr: A command line tool for reprogramming mote networks. It has a fairly helpful "usage" message. Reprogramming a mote takes four steps; the first is to "new" the mote, preparing it for programming. One must specify a mote image (.srec) and a mote ID. Next, one "write"s the same .srec to the same mote ID. This is done once. Then one runs "check" repeatedly until the mote acknowledges all code capsules having arrived. Once all of them have arrived, the mote can be "start"ed. "id" allows you to query the network for which motes that have reprogramming installed can hear you. In addition, there is the "multiprog" option, which allows for reprogramming of multiple motes at once.Test Programs: noneClasses:CodeGUI.javaTop level GUI class. Uses an instance of CodeInjector for acting onthe network.CodeInjector.javaClass that actually interfaces and communicates with thenetwork. CodeInjector often uses an synchronous interface to thenetwork; a separate Thread reads than writes. Issuing a command to thenetwork will return immediately, while its result might be recieved ashort time later (e.g. query).MultihopInjector.javaClass that queries and injects code into a multihop RF network. Motesmust have the MULTIHOP_PROG component installed.CodeGUIMenuBar.java, LogPanel.java, MoteInfo.java, MotePanel.java,TOSFileFilter.javaClasses for the different parts of the GUI.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -