Hi Ákos, > But anyway - as you guys know the TinyOS codebase a lot better - where > would I replace TOSComm in the Java code with JavaComm? Should I > re-implement the TOSSerial object to use JavaComm calls instead of the > JNI ones? Or create another object implementing the SerialPort > interface, and make sure that's used all over the code?
I once ported the net.tinyos.comm classes to J2ME and its specific way of accessing the serial port. As far as I remember I mainly had to change the TOSSerial class and it was surprisingly easy to do (change SerialInputStream and SerialOutputStream). However I wouldn't know if there was an "official" way of implementing an alternative communication mechanism. Cheers, Urs _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
