readme

来自「无线传感器网络操作系统源代码」· 代码 · 共 45 行

TXT
45
字号
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 + =
减小字号Ctrl + -
显示快捷键?