Do you get the error without your changes? Does it "clear itself up" or do you have reset things? And what host platform are you using?
Based on the error text it might be that there is a resource contention -- two programs trying to use the port? -- or the port gets closed for some reason. MS giorgio wrote: > I have write a modification of java TestSerial which send a packet to > TestSerial.nc for telosb :it is in apps directory under test.I want to send > a > packet from java to telosb via serial and when telosb receive the packet > send > to java the same.Some times I have this error and I don't know what is or > what > modify : > Exception in thread "Thread-2" java.lang.Exception: TOSComm JNI library > runtime error: read: Resource temporarily unavailable > at net.tinyos.comm.TOSCommJNI.NativeSerial_read__SWIG_1(Native Method) > What I must to do ? > Thank > > Giorgio > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Platform: WinXP/Cygwin TinyOS version: 1.x, Boomerang Programmer: MIB510 Device(s): Mica2, MicaZ, Tmote Sensor board: homebrew _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
