Hi
i succeed in simulate Blink. Thern i decided to simulate BlinkToRadio.
Firstly, i add a line to debug differents values of counter in BlinkToRadio
code :
dbg("BlinkToRadio","compteur : %s\n", btrpkt->counter); It doesn't work.How
can i display the different values displayed by 2 motes. I use this script :
from TOSSIM import *
import sys
f = open("log2.txt", "w")
t = Tossim([])
t.addChannel("BlinkToRadio", sys.stdout);
t.addChannel("BlinkToRadio", f);
for i in range(0,1):
m = t.getNode(i).bootAtTime(0);
time = t.time()
while (time + 10000000000000 > t.time()):
t.runNextEvent();
To: "James Kebinger" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Tinyos-help] Problems with symbol substitution on OS X
Date: Mon, 25 Jun 2007 08:27:43 -0300
I have run into this problem recently and figured out a solution
supposing that this "$" was an avr separator.
Go to line 33 in avr.rules and replace it for
AMADDR = ActiveMessageAddressC\never1096WritEaddr
(you should replace $ for \never1096WritE , which is the separator
you've set)
It actually worked. My application which used ID-based AM
communication strated worked again.
2007/6/25, James Kebinger <[EMAIL PROTECTED]>:
Hello all, I'm trying to get tinyos 2.x up and running on my Mac, and I
think I'm almost there, but I can't program node ids into my mica2 motes.
I've followed a set of directions here:
http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n
It would appear that many of the changes from that document are already in
the source tree.
I get the following message when installing BlinkToRadio
Could not find symbol ActiveMessageAddressC$addr in build/mica2/main.exe,
ignoring symbol.
One of the steps in the directions above involved changing the
fnesc-separator as follows:
-fnesc-separator=\never1096WritE. (the build doesn't work
if this isn't changed)
So my question is, is the symbol missing because some tool didn't get the
memo on the new nesc-separator, or is it because its looking in main.exe
on
a non-windows machine?
I'd appreciate any nudges in the right direction anyone can provide.
Thanks
-James Kebinger
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
"The truth shall set you free"
<a href="http://www.nerdtests.com/nq_ref.html">
<img src="http://www.nerdtests.com/images/badge/dc875a1ab1aff18f.gif"
alt="I am nerdier than 99% of all people. Are you a nerd? Click here
to find out!"></a>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC !
http://www.windowslive.fr/liveonecare/default.asp
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help