📄 commands.html
字号:
<BR> Get a unique interrupt ID.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#interruptInFuture(long, int)">interruptInFuture</A></B>(long time, int interruptID)</CODE><BR> Schedule an interrupt event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> net.tinyos.sim.event.VariableRequestResponse</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#requestVariable(long, short)">requestVariable</A></B>(long addr, short length)</CODE><BR> Send a variable request command and return the result value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> net.tinyos.sim.event.VariableResolveResponse</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#resolveVariable(short, java.lang.String)">resolveVariable</A></B>(short moteID, java.lang.String name)</CODE><BR> Send a variable resolve command and return the result.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#sendRadioMessage(short, long, net.tinyos.message.Message)">sendRadioMessage</A></B>(short moteID, long time, net.tinyos.message.Message msg)</CODE><BR> Sends a radio message to the given mote.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#sendUARTMessage(short, long, net.tinyos.message.Message)">sendUARTMessage</A></B>(short moteID, long time, net.tinyos.message.Message msg)</CODE><BR> Sends a UART message to the given mote.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#setADCValue(short, long, byte, short)">setADCValue</A></B>(short moteID, long time, byte port, short value)</CODE><BR> Set the ADC value at the given mote to the specified value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#setDBG(long)">setDBG</A></B>(long dbg)</CODE><BR> Enable the given debug flag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#setEventMask(short)">setEventMask</A></B>(short mask)</CODE><BR> Set the mask for which events are transmitted.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#setLinkBitErrorProbability(short, long, short, double)">setLinkBitErrorProbability</A></B>(short src, long time, short dest, double loss)</CODE><BR> Set the ADC value at the given mote to the specified value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#setSimRate(double)">setSimRate</A></B>(double rate)</CODE><BR> Sets the simulator rate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#turnMoteOff(short, long)">turnMoteOff</A></B>(short moteID, long time)</CODE><BR> Turn off the given mote.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#turnMoteOn(short, long)">turnMoteOn</A></B>(short moteID, long time)</CODE><BR> Turn on the given mote.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#waitFor(long)">waitFor</A></B>(long time)</CODE><BR> Block execution for a specified amount of time. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../net/tinyos/sim/script/reflect/Commands.html#waitUntil(long)">waitUntil</A></B>(long time)</CODE><BR> Block execution until the given simulator time. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="DBG_BOOT"><!-- --></A><H3>DBG_BOOT</H3><PRE>public static final long <B>DBG_BOOT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_BOOT">Constant Field Values</A></DL></DL><HR><A NAME="DBG_CLOCK"><!-- --></A><H3>DBG_CLOCK</H3><PRE>public static final long <B>DBG_CLOCK</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_CLOCK">Constant Field Values</A></DL></DL><HR><A NAME="DBG_TASK"><!-- --></A><H3>DBG_TASK</H3><PRE>public static final long <B>DBG_TASK</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_TASK">Constant Field Values</A></DL></DL><HR><A NAME="DBG_SCHED"><!-- --></A><H3>DBG_SCHED</H3><PRE>public static final long <B>DBG_SCHED</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_SCHED">Constant Field Values</A></DL></DL><HR><A NAME="DBG_SENSOR"><!-- --></A><H3>DBG_SENSOR</H3><PRE>public static final long <B>DBG_SENSOR</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_SENSOR">Constant Field Values</A></DL></DL><HR><A NAME="DBG_LED"><!-- --></A><H3>DBG_LED</H3><PRE>public static final long <B>DBG_LED</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_LED">Constant Field Values</A></DL></DL><HR><A NAME="DBG_CRYPTO"><!-- --></A><H3>DBG_CRYPTO</H3><PRE>public static final long <B>DBG_CRYPTO</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_CRYPTO">Constant Field Values</A></DL></DL><HR><A NAME="DBG_ROUTE"><!-- --></A><H3>DBG_ROUTE</H3><PRE>public static final long <B>DBG_ROUTE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_ROUTE">Constant Field Values</A></DL></DL><HR><A NAME="DBG_AM"><!-- --></A><H3>DBG_AM</H3><PRE>public static final long <B>DBG_AM</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_AM">Constant Field Values</A></DL></DL><HR><A NAME="DBG_CRC"><!-- --></A><H3>DBG_CRC</H3><PRE>public static final long <B>DBG_CRC</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_CRC">Constant Field Values</A></DL></DL><HR><A NAME="DBG_PACKET"><!-- --></A><H3>DBG_PACKET</H3><PRE>public static final long <B>DBG_PACKET</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_PACKET">Constant Field Values</A></DL></DL><HR><A NAME="DBG_ENCODE"><!-- --></A><H3>DBG_ENCODE</H3><PRE>public static final long <B>DBG_ENCODE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_ENCODE">Constant Field Values</A></DL></DL><HR><A NAME="DBG_RADIO"><!-- --></A><H3>DBG_RADIO</H3><PRE>public static final long <B>DBG_RADIO</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_RADIO">Constant Field Values</A></DL></DL><HR><A NAME="DBG_LOG"><!-- --></A><H3>DBG_LOG</H3><PRE>public static final long <B>DBG_LOG</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_LOG">Constant Field Values</A></DL></DL><HR><A NAME="DBG_ADC"><!-- --></A><H3>DBG_ADC</H3><PRE>public static final long <B>DBG_ADC</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_ADC">Constant Field Values</A></DL></DL><HR><A NAME="DBG_I2C"><!-- --></A><H3>DBG_I2C</H3><PRE>public static final long <B>DBG_I2C</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_I2C">Constant Field Values</A></DL></DL><HR><A NAME="DBG_UART"><!-- --></A><H3>DBG_UART</H3><PRE>public static final long <B>DBG_UART</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_UART">Constant Field Values</A></DL></DL><HR><A NAME="DBG_PROG"><!-- --></A><H3>DBG_PROG</H3><PRE>public static final long <B>DBG_PROG</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_PROG">Constant Field Values</A></DL></DL><HR><A NAME="DBG_SOUNDER"><!-- --></A><H3>DBG_SOUNDER</H3><PRE>public static final long <B>DBG_SOUNDER</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_SOUNDER">Constant Field Values</A></DL></DL><HR><A NAME="DBG_TIME"><!-- --></A><H3>DBG_TIME</H3><PRE>public static final long <B>DBG_TIME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_TIME">Constant Field Values</A></DL></DL><HR><A NAME="DBG_SIM"><!-- --></A><H3>DBG_SIM</H3><PRE>public static final long <B>DBG_SIM</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_SIM">Constant Field Values</A></DL></DL><HR><A NAME="DBG_QUEUE"><!-- --></A><H3>DBG_QUEUE</H3><PRE>public static final long <B>DBG_QUEUE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_QUEUE">Constant Field Values</A></DL></DL><HR><A NAME="DBG_SIMRADIO"><!-- --></A><H3>DBG_SIMRADIO</H3><PRE>public static final long <B>DBG_SIMRADIO</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_SIMRADIO">Constant Field Values</A></DL></DL><HR><A NAME="DBG_HARD"><!-- --></A><H3>DBG_HARD</H3><PRE>public static final long <B>DBG_HARD</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_HARD">Constant Field Values</A></DL></DL><HR><A NAME="DBG_MEM"><!-- --></A><H3>DBG_MEM</H3><PRE>public static final long <B>DBG_MEM</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.tinyos.sim.script.reflect.Commands.DBG_MEM">Constant Field Values</A></DL></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -