Hi, Wenjie. I am not familiar with TYPHON (TYPHONE?) (do you mean
Tython?), but you may want to try out Viptos, which can run different
instances of TOSSIM in simulation:
http://ptolemy.eecs.berkeley.edu/viptos/
Try the SendAndReceiveCnt demo for an example of this.
Viptos is currently only compatible with TinyOS 1.x and does not currently
work with TinyOS 2.x.
Elaine
On Tue, 28 Nov 2006, Wenjie Zeng wrote:
Hi all:
I'm trying two run different TOSSIM instances, one as a service provider
and the other as a consumer, and enable the communication between them.
I'm wondering if that is possible. I tried using the sim object in the
TYPHONE package, but it seems that it is not designed to run two tossim
concurrently and a RuntimeException saying that "Process Already
Running". And in the Typhon manual, it is said that the constructor of
Sim class should not be called so that I can't have two different Sim
objects. Although I can combine the function of the two .exe file into
one, but I just want to seperate them for the ease of future
integration. Does anyone know how this could be done? Thank you very much!
_______________________________________________
Tinyos-users mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-users
_______________________________________________
Tinyos-users mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-users