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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to