Re: [Tinyos-help] Oscilloscope single mote multiple channel display

2007-05-21 Thread Ferry Cialis

Hi, thanks for the help!
I'm currently using TinyOS-1.x though,
I'm still learning nesC and need more detailed explanations on how to assign
different channel numbers to each sensor. Where exactly do I alter/add these
channel numbers ?

Thanks

On 5/21/07, Firat TARAKTAS <[EMAIL PROTECTED]> wrote:


 Hi,

If you use TinyOS-1.x, you can achieve it with assigning different channel
numbers to each sensor. Oscilloscope application shows the mote id and
channel to eparate each sensor readings.

If you use T2, i wonder the answer and i want to know it. Because in
osilloscope application, there is no channel number.


Firat TARAKTAS

Electrical&Electronics Engineer

Reseracher
*GENETLAB INFORMATION TECHNOLOGIES**
*Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752
Icerenkoy / ISTANBUL / TURKIYE
Phone: +90 (216) 573 00 85 (int.354)
Fax: +90 (216) 469 85 07
[EMAIL PROTECTED]
www.genetlab.com


 --
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Ferry Cialis
*Sent:* Monday, May 21, 2007 11:44 AM
*To:* Tinyos-help@Millennium.Berkeley.EDU
*Subject:* [Tinyos-help] Oscilloscope single mote multiple channel display

Hello,
I'd like to know whether it is possible for Oscilloscope java application
to display multiple sensor readings from a single mote? For instance, I have
a sensor board which has accelerometer-x, accelerometer-y and temperature
sensors. The sensor board is mounted onto a single mote. Can the
Oscilloscope application display multiple sensor channels from the setup?

I've tried displaying multiple channels before but it requires multiple
motes, each mote corresponding to one channel but it's not efficient and
quite wasteful to have many motes if I can use just one mote to display
multiple readings.

Thank you

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] what's the Channel mean in OscopeMsg.h

2007-05-21 Thread Chan kenniel

Dear all,

does it mean the number of channels for forwarding  a packet? or it means
the channel number for a packet?
Plus, can anyone tell me, if I create my own message, which part is
neccessary?
since in oscopeMsg.h, i don't quite get all those parameter's usage.
like AMOSCOPEMSG=10 , what's this

--
Best wishes,
Kenneth Chan


Wish you have a good day!
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: *****SPAM***** [Tinyos-help] problem about CC2420 buffer

2007-05-21 Thread Philip Levis

On May 21, 2007, at 5:54 PM, [EMAIL PROTECTED] wrote:

Hello,I'm a student in China,I come across a problem when I'm  
testing the network buffer using TinyOS2.0. I use the BlinkToRadio  
testcase, and modify the code to make one node to send and the  
other just to receive .The sending frequency is 20HZ.When I add a  
periodic(4HZ) busywait task to the receiving node,It seems that  
when this task run more than 100ms, there is packet lost in the  
receiving node.But why? The cc2420 can buffer the packets received  
during the busywait task running.I thought there should not be  
packet lost at this sending frequency. Please help me figure it  
out.Thanks a lot.




The CC2420 has limited buffering space. The buffer is overflowing.

Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] problem about CC2420 buffer

2007-05-21 Thread siya1983
Hello,I'm a student in China,I come across a problem when I'm testing the 
network buffer using TinyOS2.0. I use the BlinkToRadio testcase, and modify the 
code to make one node to send and the other just to receive .The sending 
frequency is 20HZ.When I add a periodic(4HZ) busywait task to the receiving 
node,It seems that when this task run more than 100ms, there is packet lost in 
the receiving node.But why? The cc2420 can buffer the packets received during 
the busywait task running.I thought there should not be packet lost at this 
sending frequency. Please help me figure it out.Thanks a lot.
   Sun Fan
 5.22


一起来,150万人同时在玩的梦幻西游  ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Allocating address to a mote using the ActiveMessageAddressC component

2007-05-21 Thread Steve McKown
Hmmm.  It looks like the CC1000 radio implementation doesn't do hardware 
filtering of incoming packets by addr, so you may need to do nothing but call 
setAmAddress().  I haven't ever played around with the CC1000, so my quick 
glance might be wrong.

On Monday 21 May 2007 16:01, Itamar Amsili wrote:
> Hi Steve,
>
> Thanks alot for the help and the code.
> I'm using the mica2 mote(and if i'm not wrong it uses the cc1000 chipcon
> for radio), so do you think it is compatible?
> as you probably know the interfaces are not the same at all bet. the cc2420
> and cc1000, so i'm not so sure what i can do.
>
> for you help i'll be grateful
>
> Itamar
>
> - Original Message -
> From: Steve McKown <[EMAIL PROTECTED]>
> Date: Monday, May 21, 2007 23:33
> Subject: Re: [Tinyos-help] Allocating address to a mote using the
> ActiveMessageAddressC component To: tinyos-help@millennium.berkeley.edu
> Cc: Itamar Amsili <[EMAIL PROTECTED]>
>
> > On Monday 21 May 2007 06:23, Itamar Amsili wrote:
> > > I need to allocate a new address to a new mote who joined the
> >
> > network,> (or maybe change a mote's ID from 1 to 2).
> >
> > > I want to do the allocation inside the program (dymanic), and
> >
> > i think i
> >
> > > need to use the ActiveMessageAddressC component.
> > > Do i need to use the ActiveMessageAddressC ? and how to use it?
> > > Can one shows me that?
> > > And if not using the ActiveMessageAddressC, what other options
> >
> > do i have?
> >
> > I'm using ActiveMessageAddressC and it mostly works.  The
> > CC2420 radio knows
> > about the node address but doesn't get notified on changes via
> > setAmAddress(), so the code snippets below deal with that
> > issue.  I suspect
> > the notification issue may affect other radios, but haven't
> > investigated
> > them.
> >
> > wiring:
> >   components YourModule, ActiveMessageAddressC;
> >   YourModule.amAddress -> ActiveMessageAddressC;
> >
> >   components CC2420ControlC;
> >   YourModule.CC2420Config -> CC2420ControlC;
> >
> > In a module:
> >   /* to get am_addr_t if not already included */
> >   #include "/opt/tinyos-2.x/tos/types/message.h"
> >
> >   uses interface CC2420Config;
> >   uses sync command void setAmAddress(am_addr_t a);
> >
> > then in the implementation somewhere:
> >   someFunction(am_addr_t addr)
> >   {
> > atomic {
> >   call setAmAddress(addr);
> >   TOS_NODE_ID = addr;
> > }
> > call CC2420Config.setShortAddr(addr);
> > call CC2420Config.sync();
> >   }
> >
> >   event void CC2420Config.syncDone(error_t err)
> >   {
> > /* The radio has completed the change */
> >   }
> >
> >
> > PS - Thanks go to David Moss, who helped me work through this
> > solution a
> > couple of weeks ago, on this list.
> >
> > Steve
> > ‎
>
> !DSPAM:4652177d87941336712104!
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Bug in /tos/sensorboards/mts300/PhotoTempControlP.nc ?

2007-05-21 Thread David Gay

On 5/18/07, Hugo Sousa <[EMAIL PROTECTED]> wrote:

In PhotoTempDeviceC there are two instances of PhotoTempControlP wired to
the same warmup timer. When the timer fires, both instances signal their own
instance of SplitControlPowerManagerC, but only the one that got the
resource from the sharing arbiter is supposed to to that, since it should
have only called the timer after having the resource granted. "Simultaneous"
reads of the Temp and Photo sensor will corrupt the second reader (because
the first reader had set the pins). In my case I just used a "tflag"
variable (similar purpose to rflag) to solve the problem.


Hmm, indeed there was various forms of brokenness in the photo/temp
sensors on the mts300. I've written a fix, it will be committed when I
can test it.


When readDone is signaled there are PhotoTempResource.release() and
SplitControl.stop() calls. Maybe this is only an architectural choice to
allow alternate access to the sensors, but in case there are N PhotoC()s and
M TempC()s and all of them decide to read at the same time, the total time
from the first read to the last readDone will be 10ms * (N+M); if the
sharing resource is kept to service all the PhotoCs and then all the TempCs,
the time will be 20ms


That call to SplitControl.stop should not have been in readDone (and
won't work right anyway).As it currently stands, all those requests
would complete in 20ms, but only the first one would work ;-)


David
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Allocating address to a mote using the ActiveMessageAddressC component

2007-05-21 Thread Itamar Amsili
Hi Steve,

Thanks alot for the help and the code.
I'm using the mica2 mote(and if i'm not wrong it uses the cc1000 chipcon for 
radio),
so do you think it is compatible?
as you probably know the interfaces are not the same at all bet. the cc2420 and 
cc1000,
so i'm not so sure what i can do.

for you help i'll be grateful

Itamar

- Original Message -
From: Steve McKown <[EMAIL PROTECTED]>
Date: Monday, May 21, 2007 23:33
Subject: Re: [Tinyos-help] Allocating address to a mote using the 
ActiveMessageAddressC component
To: tinyos-help@millennium.berkeley.edu
Cc: Itamar Amsili <[EMAIL PROTECTED]>

> On Monday 21 May 2007 06:23, Itamar Amsili wrote:
> > I need to allocate a new address to a new mote who joined the 
> network,> (or maybe change a mote's ID from 1 to 2).
> > I want to do the allocation inside the program (dymanic), and 
> i think i
> > need to use the ActiveMessageAddressC component.
> > Do i need to use the ActiveMessageAddressC ? and how to use it?
> > Can one shows me that?
> > And if not using the ActiveMessageAddressC, what other options 
> do i have?
> 
> I'm using ActiveMessageAddressC and it mostly works.  The 
> CC2420 radio knows 
> about the node address but doesn't get notified on changes via 
> setAmAddress(), so the code snippets below deal with that 
> issue.  I suspect 
> the notification issue may affect other radios, but haven't 
> investigated 
> them.
> 
> wiring:
>   components YourModule, ActiveMessageAddressC;
>   YourModule.amAddress -> ActiveMessageAddressC;
> 
>   components CC2420ControlC;
>   YourModule.CC2420Config -> CC2420ControlC;
> 
> In a module:
>   /* to get am_addr_t if not already included */
>   #include "/opt/tinyos-2.x/tos/types/message.h"
> 
>   uses interface CC2420Config;
>   uses sync command void setAmAddress(am_addr_t a);
> 
> then in the implementation somewhere:
>   someFunction(am_addr_t addr)
>   {
> atomic {
>   call setAmAddress(addr);
>   TOS_NODE_ID = addr;
> }
> call CC2420Config.setShortAddr(addr);
> call CC2420Config.sync();
>   }
> 
>   event void CC2420Config.syncDone(error_t err)
>   {
> /* The radio has completed the change */
>   }
> 
> 
> PS - Thanks go to David Moss, who helped me work through this 
> solution a 
> couple of weeks ago, on this list.
> 
> Steve
> ‎
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] mote is found but not associated with a device node

2007-05-21 Thread Kevin Judson

Just to say I was being silly. I've sorted this now -- I hadn't
compiled the FTDI USB serial drivers into the kernel.

On 20/05/07, Kevin Judson <[EMAIL PROTECTED]> wrote:

Hi,

I've been getting this problem too. I.e. when I run motelist I get:

Use of uninitialized value in substitution (s///) at /usr/bin/motelist line 90.
Use of uninitialized value in pattern match (m//) at /usr/bin/motelist line 91.

The only solution I've found is to remove brltty from Ubuntu. Problem
is, I'm using Gentoo - there's a package called brltty but it's not
installed.

Any idea what could be causing the error?

Cheers,
Kevin.

On 06/04/07, Andrew Redfern <[EMAIL PROTECTED]> wrote:
> Hi Victor,
>
> Can you check if brltty is installed and if so remover it:
> sudo apt-get remove brltty
>
> Removing this should fix your problem.
>
> Andrew
>
>
> On 4/5/07, Victor Shia <[EMAIL PROTECTED]> wrote:
> >
> > When I type in motelist, I get the following output:
> >
> > Use of uninitialized value in substitution (s///) at /usr/bin/motelist
> line 90.
> > Use of uninitialized value in pattern match (m//) at /usr/bin/motelist
> line 91.
> > Reference  Device   Description
> > -- 
> -
> > M4A7O63P (none) Moteiv tmote sky
> >
> > I followed the instructions on
> http://moteiv.com/community/Tmote_Linux_install
> > but it didn't work.
> > I just put the " BUS="usb-serial", ID="ttyUSB[0-9]*", NAME="tts/USB%n",
> SYMLINK="usb/tts/%n"
> > into the "40-permissions.rules" folder, was I supposed to do that?
> >
> > I'm running Kubuntu 7.04 on the 2.6.20-13-generic kernel.
> >
> > -Victor
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Allocating address to a mote using the ActiveMessageAddressC component

2007-05-21 Thread Steve McKown
On Monday 21 May 2007 06:23, Itamar Amsili wrote:
> I need to allocate a new address to a new mote who joined the network,
> (or maybe change a mote's ID from 1 to 2).
> I want to do the allocation inside the program (dymanic), and i think i
> need to use the ActiveMessageAddressC component.
> Do i need to use the ActiveMessageAddressC ? and how to use it?
> Can one shows me that?
> And if not using the ActiveMessageAddressC, what other options do i have?

I'm using ActiveMessageAddressC and it mostly works.  The CC2420 radio knows 
about the node address but doesn't get notified on changes via 
setAmAddress(), so the code snippets below deal with that issue.  I suspect 
the notification issue may affect other radios, but haven't investigated 
them.

wiring:
  components YourModule, ActiveMessageAddressC;
  YourModule.amAddress -> ActiveMessageAddressC;

  components CC2420ControlC;
  YourModule.CC2420Config -> CC2420ControlC;

In a module:
  /* to get am_addr_t if not already included */
  #include "/opt/tinyos-2.x/tos/types/message.h"

  uses interface CC2420Config;
  uses sync command void setAmAddress(am_addr_t a);

then in the implementation somewhere:
  someFunction(am_addr_t addr)
  {
atomic {
  call setAmAddress(addr);
  TOS_NODE_ID = addr;
}
call CC2420Config.setShortAddr(addr);
call CC2420Config.sync();
  }

  event void CC2420Config.syncDone(error_t err)
  {
/* The radio has completed the change */
  }


PS - Thanks go to David Moss, who helped me work through this solution a 
couple of weeks ago, on this list.

Steve
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] [Xubuntos]

2007-05-21 Thread Issac Garcia

Hi Vasoumana, in the main menu, in Applications->system -> users and groups
I change the root password in XubunTOS. But is safer to use sudo when you
need to run something with admin privileges

On 5/21/07, Wouter Horré <[EMAIL PROTECTED]> wrote:


hi,

as xubuntos is based on xubuntu (which is in turn based on ubuntu), the
root
account is blocked by default. The recommended way to perform
administrative
tasks is through sudo. See 'man sudo_root' for more information.

regards
Wouter

On Monday 21 May 2007 16:08:58 vazoumana fofana wrote:
> hi
>
> excuse me, somebody has ever installed Xubuntos on his Pc or laptop ?
> Indded, i do it and it doens't ask me the root password ? is it right ?
> Can you help me ? I don't know what's the root password ?
>
> thanks.
>
> _
> Ten :  Messenger en illimité sur votre mobile !
> http://mobile.live.fr/messenger/ten/
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] preprocessor command from make?

2007-05-21 Thread Inderjit Singh

Thanks Micheal.

I will investigate it soon and reply with the result. Somebody else might
need it.
Right now, I have a lot to do.

Inderjit

On 5/14/07, Michael Schippling <[EMAIL PROTECTED]> wrote:


short answer: yes...
more complicated answer, to be take with a grain of salt because
I've probably forgotten something...

There is a make variable "CFLAGS" which is passed to the compiler.
You can stick anything you want in there and hope that it works right.
Since other bits and pieces may be using CFLAGS you want to add to it
so you use +=To set a 'C' define you use this:
CFLAGS += -Dname=value

Then you figure out how to pass it to make as an environment variable,
which I always forget. I think this works but you'll need to experiment
and read the bash and make man pages:
var=value make stuff

MS

Inderjit Singh wrote:
> Hi,
>
> Is it possible to pass a preprocessor command from terminal i.e "$make
> XXX BASE". And in the code there are pre-processor definitions like:
>
> #ifdef BASE
>  ...
> #endif
>
> What I'm trying to do is that there are some different routines for a
> BASE station and the other motes. BASE transmitts the serial data where
> as the other doesn't (shouldn't).
>
> Thanks
>
> Inderjit
>
>
> 
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Generic Data Structure in TinyOS

2007-05-21 Thread David Moss
I just uploaded something that may be of interest to you to in
tinyos-2.x-contribs, created back in November 2006.  We can kind of emulate
dynamic memory allocation at compile time based on which components are
compiled in with your system.   It's proof-of-concept, but it works.

 

It can handle all of the data types you mention because it basically
allocates bytes to the end of a structure, and you access those bytes or
words through an interface which allows you to store() and load() your
variables that are located in your extendable array.  

 

The library for extendable structures is located in
tinyos-2.x-contribs/rincon/tos/lib/extended_storage.

The applications that demonstrate and test its capabilities are located in
tinyos-2.x-contribs/rincon/apps/tests/TestParameterStorage

Both of those directories have readme files in them.  And that's the only
documentation I have available.

 

As for storing your different types, you'd first make a structure (or
something) that's extendable.  Then, create a component that adds
bytes/words to it.  Your uint16_t and int16_t will take up the same number
of bytes - 2 - which is a word, so you'd create a new ExtendedWordC(..) to
reference either one.  A bool is really a byte, so you'd create a new
ExtendedByteC(..) to store/load a Boolean value.  And so on.  I never made
the modules to access a 32-bit number, but you can duplicate the
Extended***C/P code to add in that capability.

 

Maybe it's what you're looking for, maybe not - but it's a neat proof of
concept and it's there for you to use.

 

-David

 

 

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 11:32 AM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Generic Data Structure in TinyOS

 

Hi guys,
I'm trying to implement a generic data structure in nesC... just like a
Vector in java. Now, since nesC doesn't support dynamic allocation of
memory, I'm thinking to fix the data structure size at compilation time.
But, actually there is another issue: how to implement a component able to
store uint16, int16, bool, and so on, without code replication? I read
something about generic component in the TinyOS 2.0 Programming guide... I
analized BitVectorC, in which is it used the 'typedef' keyword... but, you
know, implementing a generic data structure you of course need a kind of
"elementAt(index)" function... so, right now I don't know what return type I
have to use... Note that I want to give my component the skill to store
different element type, simply setting the type itself at compilation time;
in other words, I don't  need to store in the same component instance, i.e.,
some bool, some uint32 and finally some int16! 

So, anyone has so me suggestion to give me?! 
Thank you very much,
Antonio


Email.it, the professional e-mail, gratis per te: clicca qui
<http://www.email.it/cgi-bin/start?sid=3>  

Sponsor:
Vuoi ascoltare i tuoi MP3 in auto anche se la tua autoradio non lo permette?
Con HEMP3CAR puoi collegare il tuo IPOD o la tua Pen Drive direttamente alla
tua vecchia autoradio!
Clicca qui <http://adv.email.it/cgi-bin/foclick.cgi?mid=6591&d=20070521>  

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] channel bandwidth

2007-05-21 Thread Eulalia i Anna

Hi all!

Can anyone tell us how we can now the channel bandwidth of mica2 working at
433MHz?

Thank you!

--
Eulalia y Anna
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] cricket

2007-05-21 Thread Jordi Vilaseca

To program cricket motes you need a programmer board like mib510. I'm not
sure if cricket can be attached to mib600 or mib520. Cricket's RS-232
communications ports I think can be only used to exchange data to/from UART
port, not to reprogram nodes. So you cannot use an USB adaptor to program
motes, only to read or write data.

Jordi
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Generic Data Structure in TinyOS

2007-05-21 Thread antonio . guerrieri
Hi guys,
I\'m trying to implement a generic data structure in nesC... just like a
Vector in java. Now, since nesC doesn\'t support dynamic allocation of
memory, I\'m thinking to fix the data structure size at compilation time.
But, actually there is another issue: how to implement a component able to
store uint16, int16, bool, and so on, without code replication? I read
something about generic component in the TinyOS 2.0 Programming guide... I
analized BitVectorC, in which is it used the \'typedef\' keyword... but, you
know, implementing a generic data structure you of course need a kind of
\"elementAt(index)\" function... so, right now I don\'t know what return
type I have to use... Note that I want to give my component the skill to
store different element type, simply setting the type itself at compilation
time; in other words, I don\'t  need to store in the same component
instance, i.e., some bool, some uint32 and finally some int16! 

So, anyone has some suggestion to give me?! 
Thank you very much,
Antonio 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Vuoi ascoltare i tuoi MP3 in auto anche se la tua autoradio non lo
permette? Con HEMP3CAR puoi collegare il tuo IPOD o la tua Pen Drive
direttamente alla tua vecchia autoradio!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6591&d=20070521

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] SerialForwarder display "write failed "with MIB600

2007-05-21 Thread projet19 projet19
Hello,

We are actually working on MIB600 programming board with MICAz Motes.


When we try to run Surge app, we have a problem.

Indeed, first we export the environment variable with "export [EMAIL 
PROTECTED]:9001"

Then, we launch SerialForwarder with: “java net.tinyos.sf.SerialForwarder -comm 
[EMAIL PROTECTED]:10001&"

Finally we launch surge application with the command: " java 
net.tinyos.surge.MainClass 125&"

So when we click on start beacon packet" we can see the Packet Writing 
indicator incrementing, but in each packet send, SerialForwarder display on its 
GUI App the message: «write failed". Can anybody help us?


Thank you very much,

Best regards,

Tony GOMES and Ahmed DEHBI



PS : Ofcourse, we have programed one mote with GenericBase program, and two 
motes with surge app, succesfuly...






  
Fussy?
 Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay 
it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Sampling with a timer on mica2dot

2007-05-21 Thread Lei Tang

Thank you for your reply. My problem is more discouraging, because no packet
is sent out when my LED stops. That's why I think the timer interrupt and
the sampling are not triggered at all for that time. One guess is the
previous sampling and transmission take a long time and cause the next
action delay. But the sampling rate is low and no other radio works at the
same channel; I have no idea why the delay could happen.
Thank you for your information anyway.

Lei

On 5/21/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote:


Hi Lei,

I don't know if it is related to your problem, but sometimes I also
notice a strange behaviour from the LEDs.
Say I have a sensor sampling at a given rate, like you do, and I make
the LED blink each time a packet is sent. Sometimes (typically when I
query the sensor or remotely change some settings), the LED stops
blinking, though I still receive the packets at the basestation. It
may well be a problem in my code, but I didn't find anything suspect.

I'm sorry it doesn't help you, I just wanted to report the problem
since it may be related. I would appreciate as well any clue or
explanation.

Cheers,
Romain

On 5/21/07, Lei Tang <[EMAIL PROTECTED]> wrote:
> Hello, all,
>
> I'm working on a simple program on mica2dot to achieve a function of
> sampling with a given rate, saying 2 Hz, and then transmitting the
result
> immediately. I used a timer to trigger the sampling, as what is done in
> XSensorMDA500.
>
> With the help of the LED, I found the timer was not always fired in
time;
> sometimes the LED was stuck for a few seconds, and then had a quick
flash.
> It seems more likely to happen if the sampling rate is higher. I tried
> XSensorMDA500, and it was the same.
>
> Anybody has an idea how it comes and how to solve this problem? Thank
you
> very much.
>
> Best,
> Lei
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Several timer in the same applications

2007-05-21 Thread Romain Thouvenin

Hi Daniele,

You can write something like that

/*** module ***/
module theModule {
  uses interface Timer as Timer1;
  uses interface Timer as Timer1;
  uses interface Timer as Timer1;
}
implementation {
  /* ... */
}

/*** Configuration ***/
configuration theConfig { /* ... */ }
implementation {
  components new TimerMilliC() as TimerC1;
  components new TimerMilliC() as TimerC2;
  components new TimerMilliC() as TimerC3;
  components theModule;

  theModule.Timer1 -> TimerC1;
  theModule.Timer2 -> TimerC2;
  theModule.Timer3 -> TimerC3;
}


Hope it helps,

Romain

On 5/21/07, Daniele Frosali <[EMAIL PROTECTED]> wrote:


Hi to everyone,

I would need an information. I have to use in the same applications, three
different timers. How I should write the "Implementation part" and the
"uses interface part"?? Do I have to use something like

Application.Timer -> TimerC.Timer[unique("Timer")];

If yes, how do I have to repeat it???

Thanks a lot for your help.

Daniele

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: RE: [Tinyos-help] Packet Structure

2007-05-21 Thread Romain Thouvenin

The message type in TinyOS 2 is different from the one in TOS 1. In
TOS 2, you access the message fields through interfaces, not directly
from the structure. Look at the AM interfaces. If you still want to
know how is build the packet, look at AM.h, and the .h files of your
platform.

All this is described in the tutorials and TEP 116 if I remember well
(the one about packets).

Romain



From: Itamar Amsili [mailto:[EMAIL PROTECTED]
 Sent: maandag 21 mei 2007 15:18
 To: Oussama Chougna
 Cc: tinyos-help@Millennium.Berkeley.EDU
 Subject: Re: RE: [Tinyos-help] Packet Structure

Hi Oussama,

I found The Am.h file (under \tinyos-2.x\tos\types), but there was no
mention of the TOS_Msg structure.


maybe i need to look for the message_t ? is it the packet structure you
meant?


i want to know the strucure on the mac layer( if there is any)





Thanks again





Itamar

 - Original Message -
 From: Oussama Chougna <[EMAIL PROTECTED]>
 Date: Monday, May 21, 2007 15:50
 Subject: RE: [Tinyos-help] Packet Structure
 To: 'Itamar Amsili' <[EMAIL PROTECTED]>,
tinyos-help@Millennium.Berkeley.EDU

 > Hi Itamar,
 >
 >
 >
 > Search for the Am.h header file in your TinyOS distribution tree.
 >
 >
 >
 > Somewhere in the file the TOS_Msg structure is defined. It has a
 > Data[TOSH_DATA_LENGTH] field in which you can specify your own data
 > structure.
 >
 >
 >
 >   _
 >
 > From: [EMAIL PROTECTED]
 > [mailto:[EMAIL PROTECTED] On
Behalf
 > Of Itamar
 > Amsili
 > Sent: maandag 21 mei 2007 14:13
 > To: tinyos-help@Millennium.Berkeley.EDU
 > Subject: [Tinyos-help] Packet Structure
 >
 >
 >
 > Hi,
 >
 >
 >
 > When i send a packet from mote A to mote B, what is the packet
 > structure i
 > use ?
 >
 > What kind of fields do i have ?
 >
 > Where can i find the information about it?
 >
 >
 >
 > Thanks alot
 >
 >
 >
 > Itamar
 >
 >
 >
 >


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] cricket

2007-05-21 Thread roberto pagliari

how do I program cricket motes with a usb adaptor

make cricket install.1 mib510=...?
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Several timer in the same applications

2007-05-21 Thread Daniele Frosali

Hi to everyone,

I would need an information. I have to use in the same applications, three
different timers. How I should write the "Implementation part" and the
"uses interface part"?? Do I have to use something like

Application.Timer -> TimerC.Timer[unique("Timer")];

If yes, how do I have to repeat it???

Thanks a lot for your help.

Daniele

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] [Xubuntos]

2007-05-21 Thread Wouter Horré
hi,

as xubuntos is based on xubuntu (which is in turn based on ubuntu), the root 
account is blocked by default. The recommended way to perform administrative 
tasks is through sudo. See 'man sudo_root' for more information.

regards
Wouter

On Monday 21 May 2007 16:08:58 vazoumana fofana wrote:
> hi
>
> excuse me, somebody has ever installed Xubuntos on his Pc or laptop ?
> Indded, i do it and it doens't ask me the root password ? is it right ?
> Can you help me ? I don't know what's the root password ?
>
> thanks.
>
> _
> Ten :  Messenger en illimité sur votre mobile !
> http://mobile.live.fr/messenger/ten/
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] [Xubuntos]

2007-05-21 Thread vazoumana fofana

hi

excuse me, somebody has ever installed Xubuntos on his Pc or laptop ?
Indded, i do it and it doens't ask me the root password ? is it right ?
Can you help me ? I don't know what's the root password ?

thanks.

_
Ten :  Messenger en illimité sur votre mobile !  
http://mobile.live.fr/messenger/ten/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] The different between the TOS_NODE_ID and the AM address

2007-05-21 Thread Itamar Amsili
Hi,

What is the different between the TOS_NODE_ID and the AM address?
I know that their default is the same.
If  i want to change the mote's ID, which one of them do i use?

Thanks

Itamar‎
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: RE: [Tinyos-help] Packet Structure

2007-05-21 Thread Oussama Chougna
Itamar,

 

 

I’m using tinyos 1.x and in \tinyos-1.x\tos\types\AM.h:

 

typedef struct TOS_Msg

{

  /* The following fields are transmitted/received on the radio. */

  uint16_t addr;

  uint8_t type;

  uint8_t group;

  uint8_t length;

  int8_t data[TOSH_DATA_LENGTH];

  uint16_t crc;

 

  /* The following fields are not actually transmitted or received 

   * on the radio! They are used for internal accounting only.

   * The reason they are in this structure is that the AM interface

   * requires them to be part of the TOS_Msg that is passed to

   * send/receive operations.

   */

  uint16_t strength;

  uint8_t ack;

  uint16_t time;

  uint8_t sendSecurityMode;

  uint8_t receiveSecurityMode;  

} TOS_Msg;

 

 

I think you are looking in the wrong header file. Or maybe in TinyOS 2 it is
different.

 

Oussama

 

  _  

From: Itamar Amsili [mailto:[EMAIL PROTECTED] 
Sent: maandag 21 mei 2007 15:18
To: Oussama Chougna
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: RE: [Tinyos-help] Packet Structure

 

Hi Oussama,

 

I found The Am.h file (under \tinyos-2.x\tos\types), but there was no
mention of the TOS_Msg structure.

maybe i need to look for the message_t ? is it the packet structure you
meant?

i want to know the strucure on the mac layer( if there is any)

 

Thanks again

 

Itamar

- Original Message -
From: Oussama Chougna <[EMAIL PROTECTED]>
Date: Monday, May 21, 2007 15:50
Subject: RE: [Tinyos-help] Packet Structure
To: 'Itamar Amsili' <[EMAIL PROTECTED]>, tinyos-help@Millennium.Berkeley.EDU

> Hi Itamar,
> 
>  
> 
> Search for the Am.h header file in your TinyOS distribution tree.
> 
>  
> 
> Somewhere in the file the TOS_Msg structure is defined. It has a
> Data[TOSH_DATA_LENGTH] field in which you can specify your own data
> structure.
> 
>  
> 
>   _  
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Itamar
> Amsili
> Sent: maandag 21 mei 2007 14:13
> To: tinyos-help@Millennium.Berkeley.EDU
> Subject: [Tinyos-help] Packet Structure 
> 
>  
> 
> Hi,
> 
>  
> 
> When i send a packet from mote A to mote B, what is the packet 
> structure i
> use ?
> 
> What kind of fields do i have ?
> 
> Where can i find the information about it?
> 
>  
> 
> Thanks alot
> 
>  
> 
> Itamar
> 
> ‎ 
> 
> 

‎ 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: RE: [Tinyos-help] Packet Structure

2007-05-21 Thread Itamar Amsili
Hi Oussama,

I found The Am.h file (under \tinyos-2.x\tos\types), but there was no mention 
of the TOS_Msg structure.
maybe i need to look for the message_t ? is it the packet structure you meant?
i want to know the strucure on the mac layer( if there is any)

Thanks again

Itamar

- Original Message -
From: Oussama Chougna <[EMAIL PROTECTED]>
Date: Monday, May 21, 2007 15:50
Subject: RE: [Tinyos-help] Packet Structure
To: 'Itamar Amsili' <[EMAIL PROTECTED]>, tinyos-help@Millennium.Berkeley.EDU

> Hi Itamar,
> 
>  
> 
> Search for the Am.h header file in your TinyOS distribution tree.
> 
>  
> 
> Somewhere in the file the TOS_Msg structure is defined. It has a
> Data[TOSH_DATA_LENGTH] field in which you can specify your own data
> structure.
> 
>  
> 
>   _  
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Itamar
> Amsili
> Sent: maandag 21 mei 2007 14:13
> To: tinyos-help@Millennium.Berkeley.EDU
> Subject: [Tinyos-help] Packet Structure 
> 
>  
> 
> Hi,
> 
>  
> 
> When i send a packet from mote A to mote B, what is the packet 
> structure i
> use ?
> 
> What kind of fields do i have ?
> 
> Where can i find the information about it?
> 
>  
> 
> Thanks alot
> 
>  
> 
> Itamar
> 
> ‎ 
> 
> ‎
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error: 3 [main] make12828 fork_copy:linked dll......... HELP!!!!!!

2007-05-21 Thread aS iF

Hi,
 error : 3 [main] make12828 fork_copy:linked dll data/bss pass 0
failed,0x5AD000..0x5AD020, done 0,windows pid 12484, win32 error 87

all of sudden today when i start cygwin i got error , however i am using
same thing from last 4-5 months. Please help... i am stuck...

\asif
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Packet Structure

2007-05-21 Thread Oussama Chougna
Hi Itamar,

 

Search for the Am.h header file in your TinyOS distribution tree.

 

Somewhere in the file the TOS_Msg structure is defined. It has a
Data[TOSH_DATA_LENGTH] field in which you can specify your own data
structure.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Itamar
Amsili
Sent: maandag 21 mei 2007 14:13
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Packet Structure 

 

Hi,

 

When i send a packet from mote A to mote B, what is the packet structure i
use ?

What kind of fields do i have ?

Where can i find the information about it?

 

Thanks alot

 

Itamar

‎ 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Allocating address to a mote using the ActiveMessageAddressC component

2007-05-21 Thread Itamar Amsili
Hi,

I need to allocate a new address to a new mote who joined the network,
(or maybe change a mote's ID from 1 to 2).
I want to do the allocation inside the program (dymanic), and i think i need 
to use the ActiveMessageAddressC component.
Do i need to use the ActiveMessageAddressC ? and how to use it? 
Can one shows me that?
And if not using the ActiveMessageAddressC, what other options do i have?

Thanks alot

Itamar‎
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Packet Structure

2007-05-21 Thread Itamar Amsili
Hi,

When i send a packet from mote A to mote B, what is the packet structure i use ?
What kind of fields do i have ?
Where can i find the information about it?

Thanks alot

Itamar‎
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Oscilloscope single mote multiple channel display

2007-05-21 Thread Firat TARAKTAS
Hi,
 
If you use TinyOS-1.x, you can achieve it with assigning different
channel numbers to each sensor. Oscilloscope application shows the mote
id and channel to eparate each sensor readings.
 
If you use T2, i wonder the answer and i want to know it. Because in
osilloscope application, there is no channel number.
 

Firat TARAKTAS

Electrical&Electronics Engineer

Reseracher
GENETLAB INFORMATION TECHNOLOGIES
Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752
Icerenkoy / ISTANBUL / TURKIYE
Phone: +90 (216) 573 00 85 (int.354)
Fax: +90 (216) 469 85 07
[EMAIL PROTECTED]  
www.genetlab.com  

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ferry
Cialis
Sent: Monday, May 21, 2007 11:44 AM
To: Tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Oscilloscope single mote multiple channel display


Hello,
I'd like to know whether it is possible for Oscilloscope java
application to display multiple sensor readings from a single mote? For
instance, I have a sensor board which has accelerometer-x,
accelerometer-y and temperature sensors. The sensor board is mounted
onto a single mote. Can the Oscilloscope application display multiple
sensor channels from the setup? 

I've tried displaying multiple channels before but it requires multiple
motes, each mote corresponding to one channel but it's not efficient and
quite wasteful to have many motes if I can use just one mote to display
multiple readings. 

Thank you

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Can one nesC file call the functions in another nesC file?

2007-05-21 Thread Chan kenniel

Dear all,

I am new to nesC, can nesC do the same  calls like the followings in java?

Suppose two java classes:

Class A{
function  sendMsg(int d, string str);
}

Class B{
function test()
{
   int a=10;
   string s = "Helloworld";
   A.sendMsg(a,s);
}

I am wondering how to do this in nesC? Could anyone please give me some
guide? With examples would be great.

--
Best wishes,
Kenneth Chan


Wish you have a good day!
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Oscilloscope single mote multiple channel display

2007-05-21 Thread Ferry Cialis

Hello,
I'd like to know whether it is possible for Oscilloscope java application to
display multiple sensor readings from a single mote? For instance, I have a
sensor board which has accelerometer-x, accelerometer-y and temperature
sensors. The sensor board is mounted onto a single mote. Can the
Oscilloscope application display multiple sensor channels from the setup?

I've tried displaying multiple channels before but it requires multiple
motes, each mote corresponding to one channel but it's not efficient and
quite wasteful to have many motes if I can use just one mote to display
multiple readings.

Thank you
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] FW:

2007-05-21 Thread Michael Collett

 
-Original Message-
From: rachit pathak [mailto:[EMAIL PROTECTED]
Sent: 19 May 2007 12:32
To: Michael Collett
Subject: 




sir,
thanks for replying.
i am using soundrecorder application available at sourceforge.net 
tinyos/cvsrepository/
tinyos-1.x/contrib/vu/apps/soundrecorder

wel i have been able to compile the above application for mica2, but not been 
able to compile it in tossim(make pc). is there a problem?

there are two java programs mentioned in soundrecorder..PrintBigMsg and 
Txt2Wav. i am having both of them, they are compiling without any errors but 
not able to execute them. do you know about the directory structure as where to 
place them?

after all this complilation is done i dont know how to port this on the mica2 
motes. is there any help available online?

wel i have been stuck up badly and in desperate need of any guidence.
it would of great help to me
thanking you 

rachit 



 
 
2007-1-R-C-0217#ADWSIG0001 


---
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
   Hook, Hampshire, United Kingdom  RG27 9UY
---___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Sampling with a timer on mica2dot

2007-05-21 Thread Romain Thouvenin

Hi Lei,

I don't know if it is related to your problem, but sometimes I also
notice a strange behaviour from the LEDs.
Say I have a sensor sampling at a given rate, like you do, and I make
the LED blink each time a packet is sent. Sometimes (typically when I
query the sensor or remotely change some settings), the LED stops
blinking, though I still receive the packets at the basestation. It
may well be a problem in my code, but I didn't find anything suspect.

I'm sorry it doesn't help you, I just wanted to report the problem
since it may be related. I would appreciate as well any clue or
explanation.

Cheers,
Romain

On 5/21/07, Lei Tang <[EMAIL PROTECTED]> wrote:

Hello, all,

I'm working on a simple program on mica2dot to achieve a function of
sampling with a given rate, saying 2 Hz, and then transmitting the result
immediately. I used a timer to trigger the sampling, as what is done in
XSensorMDA500.

With the help of the LED, I found the timer was not always fired in time;
sometimes the LED was stuck for a few seconds, and then had a quick flash.
It seems more likely to happen if the sampling rate is higher. I tried
XSensorMDA500, and it was the same.

Anybody has an idea how it comes and how to solve this problem? Thank you
very much.

Best,
Lei

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help