On Nov 27, 2007, at 7:54 PM, KURT PETERS wrote:

Any tutorials available on how to write a module for TOSSIM? I know there's a big one for interfacing, but that's not the same thing.


Not really. It seems like something that would be pretty useful, but I'm pretty time limited these days. It might be a really good tutorial to put on the doc WG wiki.

My guess is that writing a simulated I2C would be hard, because it has addresses: you might be better off simulating the component that sits on top of the I2C. Basically, the way that you make something happen in the future (e.g., the completion of a split-phase operation) is to put an event on the TOSSIM event queue.

Maybe the simplest example of this is the TOSSIM implementation is the timer in tos/lib/tossim/HilTimerMilliC. Note that there's actually a full implementation of the atm128 timer system, I just dropped this one in when I was working on some groundwork for supporting other platforms.

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

Reply via email to