Hi All,
I am building the MoteIF interface into a larger application, and
noticed that there are about 50 calls to System.exit() throughout the
TinyOS Java API.
While its understandable to restrict operation when a mote is not
connected to the gateway host machine, calls to System.exit halt the
entire java application.
So far, I have found the only way to get around this is to define a
new SecurityManager to manage all calls to System.exit, although this
is less than ideal. Is there any plans to implement exception
management in place of these calls, so mote interface-related
failures can be degraded gracefully? If not, would this be a
worthwhile goal to extend the flexibility of the API?
Regards,
Pete Baker
University of Strathclyde, Glasgow, Scotland
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help