Look at apps/tests/TestNetwork for an example. It has two types of
nodes - root and nodes that send data to the root using collection.

- om_p

On Thu, Dec 17, 2009 at 6:36 AM, Arik Sapojnik <[email protected]> wrote:
> You can always merge two programs, where in Boot each mote checks whether
> it's a Base Station (MOTE_ID == 1) and executes an appropriate code...
>
> Arik
>
>
>
> On Thu, Dec 17, 2009 at 16:28, Ruben Rios <[email protected]> wrote:
>>
>> Thanks for the help. It's nice to know about other solutions :)
>> However, I am quite surprise TOSSIM has no support for two different
>> images when WSN are normally comprised of motes and a base station.
>>
>> Regards
>>
>> Mido escribió:
>>>
>>> Hi,
>>>
>>>
>>> You can do that and more using any of these emulators:
>>>
>>> Avrora (for Mica2) http://compilers.cs.ucla.edu/avrora/
>>>
>>> WSim/WSNet (for telosb) http://wsim.gforge.inria.fr/ and
>>> http://wsnet.gforge.inria.fr/
>>>
>>> MSPsim/Cooja (for telosb)  http://www.sics.se/project/mspsim and
>>> http://www.sics.se/~fros/cooja.php
>>>
>>>
>>> Regards.
>>>
>>>
>>>
>>> *From:* [email protected]
>>> [mailto:[email protected]] *On Behalf Of *Arik
>>> Sapojnik
>>> *Sent:* Thursday, December 17, 2009 8:29 AM
>>> *To:* Ruben Rios
>>> *Cc:* Tinyos-Help
>>> *Subject:* Re: [Tinyos-help] Simulating base station and nodes
>>>
>>>
>>> It is impossible to simulate different images.
>>>
>>> On Thu, Dec 17, 2009 at 15:06, Ruben Rios <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Hello everyone,
>>>
>>> I would like to know if it's possible to use TOSSIM to simulate a base
>>> station and sensor nodes within a same instance of TOSSIM (within the
>>> same file.py). Of course, base station and nodes run different codes.
>>>
>>> Thanks in advance
>>>
>>> --
>>> Ruben Rios
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> <mailto:[email protected]>
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Arik Sapojnik
>>> [email protected] <mailto:[email protected]>
>>>
>>
>> --
>> Ruben Rios
>
>
>
> --
> Best Regards,
> Arik Sapojnik
> [email protected]
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to