📄 readme
字号:
Package: net.tinyos.amhandlerDescription: Classes to export an AM-like interface up to javaAuthor: Sam Madden (madden@cs.berkeley.edu)These classes export an AM-like interface into java. By extending AMHandler,a java program can receive notification amout messages received over theUART via a generic base mote. AMInterface allows active-messages to besent over the UART via a generic base. CRC is supported.These classes are utility classes used by the schema and calibrate packages,and in the IDF demo and are (yet another) way to access the serial portindependently of SerialForwarder.Executables: noneTest Programs: AMTestnet.tinyos.amhandler.AMTest usage: java net.tinyos.amhandler.AMTest descr: Test the AMInterface by repeatedly sending out requests for database motes to report their schemas, and printing those schemas out when they arrive.Classes:AMInterface.javaThe core class. Receives messages from the UART, multiplexes themto the java classes which have called registerHandler for that particular AM id. Allows motes to send active messages via thesendAM method. Will compute CRCs for outgoing messages if the "crc"flag is set to true in the constructor. Uses javax.comm to interface to the serial port (not SerialForwarder!)AMHandler.javaInterface which classes must implement iof they wish to use theregisterHandler mechanism for accepting messages.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -