Viptos will allow you to run multiple programs. The underlying simulation engine is based on TOSSIM.

http://ptolemy.eecs.berkeley.edu/viptos

One current issue (that will be resolved soon) is that all of the nodes are named 0, so only broadcast works at the moment.

Elaine

----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Dec 2005 10:56:05 +0100
From: Martin Gercke <[EMAIL PROTECTED]>
Subject: Re: [TinyOS-Help]Running two programs in tinyviz
To: [email protected]
Cc: =?EUC-KR?B?wMy1v8jG?= <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=EUC-KR

the problem is that the underlying simulator TOSSIM doesn't allow
different "programs" to be running on different motes.
As the tinyviz (adding a gui implementation) is just interfacing with
TOSSIM this problem persists with tinyviz.

Hi,

I want to run two programs in tinyviz.

e.g. one is sink program and the other is general mote program.

Could anyone please help me?

------------------------------------------------------------------------

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





------------------------------

Message: 2
Date: Thu, 22 Dec 2005 11:04:14 +0100
From: "Andrea Pacini" <[EMAIL PROTECTED]>
Subject: Re: [TinyOS-Help]Running two programs in tinyviz
To: ???? <[EMAIL PROTECTED]>,
        <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"

Tinyviz , if I am not wrong, cannot run two different programs.
You should do a program like this:

StdControl.start() {


if (TOS_LOCAL_ADDRESS == 1) {
// run code of program 1
}

else if (TOS_LOCAL_ADDRESS == 2) {
// run code of program 2
}

}

Andrea
 ----- Original Message -----
 From: ?????????
 To: [email protected]
 Sent: Thursday, December 22, 2005 8:52 AM
 Subject: [TinyOS-Help]Running two programs in tinyviz


 Hi,

 I want to run two programs in tinyviz.

 e.g. one is sink program and the other is general mote program.

 Could anyone please help me?



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

Reply via email to