Hi Romain,
In "tymaluate", you use Receive interface in the 4 tasks. The Receive
interface does not have the "getpayload" command, so compiling this
program gives an error. I think this is because of the big switchover in
AMSend,Packet, Send interfaces... and now Packet provides these
commands. So I have added "uses interface Packet" and changed lines in
the implementation of those 4 tasks as follows:

buf_msg = call Receive.getPayload(&buf_packet, NULL);

to

buf_msg = call Packet.getPayload(&buf_packet, NULL);

Is it correct that to get the actual payload, we NOW need to use the
Packet interface instead of Receive interface??????

Cheers,

Varun Jain


-----Original Message-----
From: Romain Thouvenin [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2008 2:43 AM
To: Varun Jain
Subject: Re: Tymo warnings and TOSSIM errors

Hello Varun,

Sorry for the late response, I have been quite busy these days...

On Wed, Jun 11, 2008 at 4:04 AM, Varun Jain <[EMAIL PROTECTED]>
wrote:
> Hi Romain,
> I have still not been able to figure out to get around the error with
> TOSSIM while I am building "TestTymo". On the other hand, I have been
> able to install my boards with different TOS_NODE_ID,,, so I tried the
> TestTymo application by installing one board with ID=1 (ORIGIN) and
the
> other board with ID=3 (TARGET) but nothing was happening on the LEDS,
as
> the TOSSIM is not working so I cannot even debug it and see whats the
> problem.

Hard to say (I don't have motes to test), but I'll give a look at the
code ASAP to see if something could be wrong and let you know.

>
> I tried downloading Tymo from SourceForge but when I downloaded, I
just
> got the /tos/ folder which I already downloaded from TinyOS
repository.
> It would be great if you can mail me the zip file of the tymo/apps
> folder. I am trying to understand what you have tried to do, is your
> THESIS a good explanation of your test files or what you are trying to
> achieve with different test applications you have in the tests-dymo
> folder.

Yes the thesis is a good summary of what I tried to do (or let me know
if it is not :)), look at section 6.3.
I need to access another computer to send you the apps code, and I'll
do it, but you can also check out the code from sourceforge with svn
if you prefer:

 svn co https://tymo.svn.sourceforge.net/svnroot/tymo/src/apps tymoapps


>
> Though, it would be great if you can tell me the following: Once I
have
> 4 boards, can you tell me what part of your applications I should use
to
> setup a simple multihop network with one BaseStation and three remote
> nodes located at various distances. Should I install one mote with
> BaseStation as given in tymo/apps/MHBaseStation and all the other with
> one of your /tymo/apps/test-dymo application?? INITIALLY, I am just
> trying to set up this 4 node network to establish that multihop
networks
> are a reality :)

To redo the experiences I have done, install the MHBaseStation on the
node connected to the computer, and install the tymaluateappc
application on the other nodes. It actually is a configuration that
just gathers SenseC and MonitorC, a basic light sensing application
and an application to monitor what's going on in dymo from the PC.

The java main is located in Window.java.

>
> I am new to Java so it will take time to understand it but I would
> really like to use tremendous work done by you.

Don't hesitate to ask more questions, I'll try to be quicker :)

Cheers,
Romain

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

Reply via email to