Hi Romain!As with ActiveMessage I can use ID 0, the Tymo's behavior, when I can't use motes with ID 0, seems to be strange.
I've changed a little bit test.py so it is very easy to switch between mote's IDs to be booted, so you could test it.
Examples of debug outputs are following. If mote with ID 0 tries to send to mote with ID X (e.g. 2): Creating noise model for 0 Creating noise model for 2 Booted: 0 at: 100029 Booted: 2 at: 200010 DEBUG (0): AG: 0 booted 100029 100129 100229 DEBUG (0): Unable to send the beer! - 1 100329 100429 100529 DEBUG (2): AG: 2 booted 200010 200110 200210 200310 2246193779 2246293760 2255959404 2256059385 4492287529 4492387510 4746193779 4746293760 5000100029 5000100129 5000100229 5000100329 5507912529 6738381279 6738481260 6992287529 .............. 404902443779 405000100029 405000100129 DEBUG (0): Unable to send the beer! - 1 405000100229 405000100329 405000100429 405097756279 -------------------------------------------------------------------------- If mote with ID X (e.g. 2) tries to send to mote with ID 0: Creating noise model for 2 Creating noise model for 0 Booted: 2 at: 100081 Booted: 0 at: 200046 DEBUG (2): AG: 2 booted 100081 100181 100281 DEBUG (2): DT: Someone wants a sending route for 0. DEBUG (2): DT: But I don't have it. => routeNeeded DEBUG (2): Sending a beer... 100381 100481 100581 DEBUG (0): AG: 0 booted 200046 200146 200246 200346 976662581 DEBUG (2): DT: Someone wants a sending route for 0. DEBUG (2): DT: But I don't have it. => routeNeeded 976662681 976662781 976662881 1953225081 1953225081 DEBUG (2): DT: Someone wants a sending route for 0. DEBUG (2): DT: But I don't have it. => routeNeeded 1953225181 1953225281 1953225381 2246193831 2246293796 2255959456 2256059421 2929787581 3222756331 3476662581 3906350081 DEBUG (2): DT: Someone wants a sending route for 0. DEBUG (2): DT: But I don't have it. => routeNeeded 3906350181 .................. 14804787581 15625100081 DEBUG (2): DT: Someone wants a sending route for 0. DEBUG (2): DT: But I don't have it. => routeNeeded DEBUG (2): Sending the beer didn't succeed! 15625100181 15625100281 15625100381 -------------------------------------------------------------------The minimal example is attached. It is only need to change ORIGIN and TARGET in TestM.nc, topo.txt (depends on) and in test.py mote = [0, 2] or [2,0] or similar.
Best wishes, AndreyP.S. Have you already solved the problem with compiler's paths on your Ubuntu?
testTymoMinimalXvs0.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
