[Tinyos-help] Dumb question about basestation.

Van der Haegen Mathieu dwarfy.lenain at gmail.com
Tue Jan 8 05:45:09 PST 2008


Hi everybody !

Firstly : Happy New Year to all of you !

I have some dumb question here.
I would like to have something like this in tinyos 2.

If (TOS_NODE_ID == 0) {

   //act like a basestation.

} else {

  //act in an other why.

}



I know it's a classical way of doing things in order to use tossim..
I've been searching everywhere and I just can't find an easy way to do 
the basestation thing.
I know I could copy/paste some could from the basestation program but I 
think it's a bit dirty.

Is there some easy way to act like a basestation ? Like wiring and 
starting a component of so ?

I've been searching in the mailing list but I've not found ..

Sorry if it's a dumb question.

Cheers

Van der Haegen Mathieu


More information about the Tinyos-help mailing list