1 Jul 2006 09:53

### Installed Sensorboard ?

```Hi, I would like to know if there is a way to know at runtime which
sensorboard (if any) has been installed on a Mica2 mote. The program I'm
writing basically shows the topology of the network and allows the user
to read a sensor value from a chosen mote; however not all motes have a
sensorboard installed and in future the sensorboards may be changed so
it is necessary for me to know at runtime the sensorboard id (or any
other data that may help in identifying the installed sensorboard).
Thank you.

Alessandro.
```
2 Jul 2006 04:29

hi,everyone:

Recently i have read the manual "TOSSIM: A Simulator for Tinyos Network" . In section 3.2 about Bit Error and Packet Errors,the original text i attached below.

The formula for calculating packet error rates (Ep) from bit error rates (Eb) for the mica RFM 40Kb stack with SecDed encoding is:
Ep = 1 -(Ss · (Se)^d)
Ss = (1 -Eb)^9
Se = (1 -Eb)^8 + (8 · Eb · (1 -Eb)^12)
Ep = 1 -((1 -Eb)^9 · ((1 -Eb)^8 + (8 · Eb · (1 -Eb)12))^d)

I have problem about these formulas.

for example ,in the formula 2, why is the exponent 9.

so can anyone give a more detailed material  to understand this formula?

thank you !

zhiqiang form PRC
```<div>
<br clear="all"><div>hi,everyone:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; Recently i have read the manual "TOSSIM: A Simulator for Tinyos Network" . In section 3.2 about Bit Error and Packet Errors,the original text i attached below.</div>
<div>&nbsp;</div>
<div>The formula for calculating packet error rates (Ep) from bit error rates (Eb) for the mica RFM 40Kb stack with SecDed encoding is:</div>
<div>Ep = 1 -(Ss &middot; (Se)^d)<br>Ss = (1 -Eb)^9<br>Se = (1 -Eb)^8 + (8 &middot; Eb &middot; (1 -Eb)^12)<br>Ep = 1 -((1 -Eb)^9 &middot; ((1 -Eb)^8 + (8 &middot; Eb &middot; (1 -Eb)12))^d)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>I have problem about these formulas. </div>
<div>&nbsp;</div>
<div>for example ,in the formula 2, why is the exponent 9.</div>
<div>&nbsp;</div>
<div>so can anyone give a more detailed material&nbsp; to understand this formula?</div>
<div>&nbsp;</div>
<div>thank you !</div>
<div>&nbsp;</div>
<div>zhiqiang form PRC</div>
</div>
```
2 Jul 2006 08:41

### Re: #ifdef support in nesc.

```You need to also wire the components' interface together. For example,
do you have in your configuration sth like

#ifdef CHIRP_ENABLE
SurgeM.StdControl -> Sounder;
#endif /* CHIRP_ENABLE */

- Dongyan

On 6/29/06, Tehn Yit Chin <tehn-yit.chin <at> greyinnovation.com> wrote:
>
> Philip Levis wrote:
> > On Jun 29, 2006, at 5:33 PM, Tehn Yit Chin wrote:
> >
> >> Hi,
> >>
> >> Does anyone know if #ifdef is supported in nesc?
> >
> >
> > The full C preprocessor is supported. Your bug is that you are not
> > wiring the Sounder. You need to include it in the configuration.
> >
>
> In Surge.nc, I was wiring Sounder as
>
> implementation {
>    components Main, SurgeM, TimerC, LedsC, NoLeds, Photo as Sensor,
> RandomLFSR,
>      GenericCommPromiscuous as Comm, Bcast, MultiHopRouter as multihopM,
> QueuedSend;
>
> #ifdef CHIRP_ENABLE
>    Components Sounder;
> #endif /* CHIRP_ENABLE */
>
> ....
> }
>
> Is this valid? Must all components be specify in one statement?
>
> thanks,
> tyc
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
```
2 Jul 2006 10:15

### how to let mote sleep

hi, buddies.
now i want to let sensor sleep or stop to work after received my message.
but as i know , just call  timer.stops();right??

and we know that when we write a program ,we need to write :stdControl.stop().
but if i want to stop my sensors ,how could i do ??

anyone own the experiene??
if u want to let sensor sleep or stop , what  way do you choose??

campbell
--------------------------------------------------------------------------------------------------------
SNARC
Sensor Networks and Application Research Center
http://snarc.gucas.ac.cn/index.htm

Our Mission
To be one of the best groups in the area of sensor networks research
, by successful completion of key projects
, publishing high quality papers and transferring technologies
and know-how to industries
--------------------------------------------------------------------------------------------------------
```<div>
<div>hi, buddies.</div>
<div>now i want to let sensor sleep or stop to work after received my message.</div>
<div>but as i know , just call&nbsp; timer.stops();right??</div>
<div>&nbsp;</div>
<div>and we know that when we write a program ,we need to write :stdControl.stop().</div>
<div>but if&nbsp;i want to&nbsp;stop my sensors ,how could i do ??</div>
<div>&nbsp;</div>
<div>anyone own the experiene??</div>
<div>if u want to let sensor sleep or stop ,&nbsp;what &nbsp;way do you choose??<br clear="all"><br><br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;campbell<br>--------------------------------------------------------------------------------------------------------
<br>SNARC<br>Sensor Networks and Application Research Center<br><a href="http://snarc.gucas.ac.cn/index.htm">http://snarc.gucas.ac.cn/index.htm</a><br><br>Our Mission <br>To be one of the best groups in the area of sensor networks research
<br>, by successful completion of key projects<br>, publishing high quality papers and transferring technologies <br>and know-how to industries<br>--------------------------------------------------------------------------------------------------------
</div>
</div>
```
2 Jul 2006 12:33

### error "Direct Parallel Access not defined"

hi all
when i type "make mica2 reinstall,1 mib510,COM1" or   "make mica2 reinstall,1 mib510,/dev/ttyS0"
I get the error " Direct Parallel Access not defined".

why ,anyone know it ??

--

高学彬(campbell)
--------------------------------------------------------------------------------------------------------
SNARC
Sensor Networks and Application Research Center
http://snarc.gucas.ac.cn/index.htm

Our Mission
To be one of the best groups in the area of sensor networks research
, by successful completion of key projects
, publishing high quality papers and transferring technologies
and know-how to industries
--------------------------------------------------------------------------------------------------------
```<div>
<div>hi all</div>
<div>when i type "make mica2 reinstall,1 mib510,COM1" or&nbsp;&nbsp;&nbsp;"make mica2 reinstall,1 mib510,/dev/ttyS0"<br>I get the error "<span>
Direct</span> <span>Parallel</span> <span>
Access</span> <span>not </span>defined".
</div>
<div>&nbsp;</div>
<div>why ,anyone know it ??<br><br clear="all"><br>-- <br>&#31069;&#22909;&#65292;&#27492;&#33268;<br>&#25964;&#31036;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39640;&#23398;&#24428;(campbell)<br>--------------------------------------------------------------------------------------------------------<br>SNARC
<br>Sensor Networks and Application Research Center<br><a href="http://snarc.gucas.ac.cn/index.htm">http://snarc.gucas.ac.cn/index.htm</a><br><br>Our Mission <br>To be one of the best groups in the area of sensor networks research
<br>, by successful completion of key projects<br>, publishing high quality papers and transferring technologies <br>and know-how to industries<br>--------------------------------------------------------------------------------------------------------
</div>
</div>
```
2 Jul 2006 12:36

### uisp: Direct Parallel Access not defined

Hi,

I am using mica2 motes and installed tinyos on Debian. When I try to
install the application using uisp (make mica2 reinstall.0
mib510,/dev/ttyS0), I get the error "Direct Parallel Access not
defined".

Could any one help me to solve the above problem?

Regards,
zhiqiang

```<div><p>Hi,<br><br>I am using mica2 motes and installed tinyos on Debian. When I try to<br>install the application using uisp (make mica2 reinstall.0<br>mib510,/dev/ttyS0), I get the error "Direct Parallel Access not<br>defined".
<br><br>Could any one help me to solve the above problem?<br><br>Regards,<br>zhiqiang
</p></div>
```
2 Jul 2006 18:58

### Re: how to let mote sleep

Whenever there are no more tasks to run, TinyOS automatically sleeps.

HTH,
Tim

On 7/2/06, campbell gao <campbellgao <at> gmail.com> wrote:
hi, buddies.
now i want to let sensor sleep or stop to work after received my message.
but as i know , just call  timer.stops();right??

and we know that when we write a program ,we need to write :stdControl.stop().
but if i want to stop my sensors ,how could i do ??

anyone own the experiene??
if u want to let sensor sleep or stop , what  way do you choose??

campbell
--------------------------------------------------------------------------------------------------------
SNARC
Sensor Networks and Application Research Center
http://snarc.gucas.ac.cn/index.htm

Our Mission
To be one of the best groups in the area of sensor networks research
, by successful completion of key projects
, publishing high quality papers and transferring technologies
and know-how to industries
--------------------------------------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

```<div>
<div>Whenever there are no more tasks to run, TinyOS automatically sleeps.</div>
<div>&nbsp;</div>
<div>HTH,</div>
<div>Tim<br><br>&nbsp;</div>
<div>
<span class="gmail_quote">On 7/2/06, campbell gao &lt;<a href="mailto:campbellgao <at> gmail.com">campbellgao <at> gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote">
<div>
<div>hi, buddies.</div>
<div>now i want to let sensor sleep or stop to work after received my message.</div>
<div>but as i know , just call&nbsp; timer.stops();right??</div>
<div>&nbsp;</div>
<div>and we know that when we write a program ,we need to write :stdControl.stop().</div>
<div>but if&nbsp;i want to&nbsp;stop my sensors ,how could i do ??</div>
<div>&nbsp;</div>
<div>anyone own the experiene??</div>
<div>if u want to let sensor sleep or stop ,&nbsp;what &nbsp;way do you choose??<br clear="all"><br><br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;campbell<br>--------------------------------------------------------------------------------------------------------
<br>SNARC<br>Sensor Networks and Application Research Center<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://snarc.gucas.ac.cn/index.htm" target="_blank">http://snarc.gucas.ac.cn/index.htm</a><br><br>Our Mission <br>To be one of the best groups in the area of sensor networks research <br>, by successful completion of key projects<br>, publishing high quality papers and transferring technologies <br>and know-how to industries
<br>-------------------------------------------------------------------------------------------------------- </div>
</div>
</a><br><br><br>
</blockquote>
</div>
<br>
</div>
```
2 Jul 2006 19:06

### Deluge on TelosB - no ping response

Hello,

I've done many reinstallations of TinyOS trying to get Deluge to work on my TelosB motes with no luck.  My latest configuration was a manual installation of TinyOS 1.1.15 with the Cygwin environment updated accordingly.  I followed the instructions here for setting up Deluge:

I get no response when I run deluge --ping.  In fact, the TX LEDon the TelosB doesn't even light up.  Is there anything obvious that I might be missing?

Tim
```<div>
<div>Hello,</div>
<div>&nbsp;</div>
<div>I've done many reinstallations of TinyOS&nbsp;trying to get Deluge to work on my TelosB motes with no luck.&nbsp; My latest configuration was a manual installation of TinyOS 1.1.15 with the Cygwin environment updated accordingly.&nbsp; I followed the instructions here for setting up Deluge:
</div>
<div><a href="http://www.cs.berkeley.edu/~jwhui/research/deluge/deluge-manual.pdf">http://www.cs.berkeley.edu/~jwhui/research/deluge/deluge-manual.pdf</a></div>
<div>&nbsp;</div>
<div>I get no response when I run deluge --ping.&nbsp; In fact, the TX LEDon the TelosB doesn't even light up.&nbsp; Is there anything obvious that I might be missing?</div>
<div>&nbsp;</div>
<div>Tim</div>
</div>
```
2 Jul 2006 19:44

### Re: how to let mote sleep

```On Jul 2, 2006, at 9:58 AM, Timothy Strongton wrote:

> Whenever there are no more tasks to run, TinyOS automatically sleeps.
>

To be specific, when there are no tasks to run, TinyOS sleeps the
processor. But the processor is often a small part of the overall
energy budget. There's also the radio, sensors, etc.

Phil
```
2 Jul 2006 21:24

### Event Generation

Hello All,
I am trying to simulate events in TOSSIM. For example, I want a mote to start chirping and all its neighbors are going to listen and then broadcast a message. How can I do this?
Thanks
Kn

```<div><p>Hello All,<br>
I am trying to simulate events in TOSSIM. For example, I want a mote to
start chirping and all its neighbors are going to listen and then
broadcast a message. How can I do this?<br>
Thanks<br>
Kn<br></p></div>
```

Gmane