Hello Varun,

On Fri, Jun 6, 2008 at 9:29 AM, Varun Jain <[EMAIL PROTECTED]> wrote:
> Hi Romain,
>
> When I am building the TestTymo application, I am getting a warning in
> DymoEngineM module's incr_seqnum() function, it says that:
>
> Warning: decimal constant is so large that it is unsigned
>
> I went on to see the rt_info_t structure defined in "routing.h", it has the
> seqnum defined as "seqnum_t seqnum", and I think the type of seqnum is
> causing this warning… can you please help….
>

The warning can be safely ignored, as the constant is compared to a
unsigned integer.

>
> The other problem I am having is while compiling the application to TOSSIM.
> It gives an error saying that "am_addr_t" has a conflicting types for
> "addr_t" as at  /usr/cygwin/include/types.h , it is defined as
>
>
> typedef char *addr_t;
> whereas in "routing.h" in /tos/lib/net/tymo/ … it is defined as
>
> typedef am_addr_t addr_t;
>

Apparently, compiling for tossim makes use of some files that are not
used otherwise.
I am afraid I cannot be of great help here, as I've never used cygwin,
and thus don't get these errors.
Does anyone know why these cygwin files are needed ?

>
>
> It should have given an error while building the application as well, why is
> it giving this error only while compiling to TOSSIM. For testing purposes, I
> am planning something like this:
>
>
>
> BaseStation to receive the messages from nodes and send to particular nodes.
> 3 nodes collecting the data and receiving the data lying at various
> distances such as I get multiple hops to the last node. As I have Chipcon
> boards, they do not seem to support install time node tos-set-symbols. I use
> avarice to install the programs.
>
> Romain, how can I Program each board with different node id in Test TYMO
> application??? Do the
>
> "ORIGIN = 1 &  TARGET = 3," in "TestM.nc" application change themselves
> dynamically??

No. TestTymo is a simple app that tries to send a message from ORIGIN
to TARGET. These constants are defined so that it is possible to
program the same test app on all nodes. The code then behaves
differently depending on if the node is ORIGIN, TARGET or some other
node.

I've been using telosb motes, so I didn't face the node id issue.
DYMO and the transport protocol use the AM address to identify nodes,
so if you know how to set the AM address at compile time, it should
work.

>
> Can you also share the "java" application you wrote for BaseStation or did
> you just use generic "Listen" tool to extract the sensor data??
>

The java application I wrote is for the specific purpose of the
experiences I made, it will be useless without the monitoring nesc
application that I used. If you are interested, you can browse the
code (java + dymo monitoring + sensing) at
http://tymo.svn.sourceforge.net/viewvc/tymo/src/apps/tymaluate/

Let me know if you have questions, I can help you [re]using it and
provide you with a zip file of the code.

Hope this helps,
Romain

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

Reply via email to