I can't seem to get the TOSComm JNI shared object to work on my system. Even though my mote seems to send data fine (connecting to it with kermit show that it the TestSend sample app sends data regularly) - I just can't make any of the Java-based TinyOS 2.x apps read from my mote.
I also tried the C-based sf application from the TinyOS 1.5 distribution, but whenever I wanted to chain it to a TinyOS 2 Java-based stuff, it says: protocol error. So, I guess the easiest thing to do is to write a javacomm-based connector to comminicate with the mote. This raises two questions: - where do I find a description of the TinyOS serial protocol? - is there a way to implement this so that the Java-based apps that are distributed with TinyOS 2 work? (Or, are they hard-wired to use TOSComm?) moreover, I need to communicate with the mote from C++ as well - so I'll need to write a native protocol implementation anyway. I wonder if there's something around for TinyOS 2? Or, as above, if the serial protocol is documented somehwere... Any help is greatly appreciated, Akos _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
