On Nov 23, 2006, at 10:23 AM, Marco Antonio Lopez Trinidad wrote:


Ciao Fatima,

I think the problem is not the programming language you can use... to develop a
GUI...

The problem is the know how behind the exchange of data between your GUI
application and the data produced by the simulator.

Two ways:

1) TOSSIM was developed in Java, may be the easiest way is to follow that
tendency, in order to produce scalable and useful software...

2) There are some communication ports that the TinyOS applications tools use to exchange data between PCs and sensor networks, may be the simulator also has that functionality... In this maner, you just have to connect your application
(GUI) with that port...

I think you're confusing TOSSIM in TinyOS 1.x with TOSSIM in 2.x. In neither case is TOSSIM implemented in Java, but in 1.x there's the Java-based TinyViz tool. In 2.x TOSSIM is a scriptable entity: the goal was to do away with the communication ports, which are a huge runtime overhead. Rather than have IPC and the resulting context switches (1.x), a 2.x GUI can run in the same process as the simulator.

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

Reply via email to