Philip, Thank you for your quick reply, I just want to start off by saying that I am really impressed with the TOSSIM-T2 interface (even if it doesn't currently support every thought I've posted a question about).
> First of all, any GUI-based interface is inherently unrepeatable. Better to > have scripting (this is what motivated Tython in 1.x). I agree with the choice to support something scriptable foremost. My main reasons about inquiring about TinyViz was simply because I saw one of the plugins supported setting the ADC of a node (and then I was curious why TinyViz disappeared with TOS 1.x). > Currently, there is not. I thought about incorporating a Python/C++ > callback mechanism for ADCs, but the overhead is pretty high and I wasn't > sure this was the right answer. If you're willing to go with C++, writing > your own accessor function is really easy: just write a TinyOS sensor module > that calls a C accessor function, and write a mutator function that your C++ > driver can call. This sounds like a nice, clean, simple approach. I am slightly embarrassed that I didn't think of it. > No, as there's no clear definition of what such an event might be. Again, > if you are willing to go with C++, then you can write a TinyOS module which > defines a C function that posts a task. Your driver could call this > function. The one trick is that you'd need to make sure that the right mote > is executing. Or, you can do the standard TOSSIM trick you see in a few > places of setting current mote to be the desired mote, doing the operation, > then changing it back to the "real" executing mote. Right, this falls into the same problem category as the previous question. Thanks for the tip on watching the executing mote (I *was* wondering what the mote changes were about...) > SWIG? I was hoping for a magic bean. I've never had much fun with JNI through any means. I gather that there isn't a central TOSSIM-T2 "plugin/module" repository? Thanks again for your swift reply, Paul _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
