Hi Nahr,

I use the shutdown() method, and it seems to work for me. Why do you 
think it is not the right one?

Before shutting down the PhoenixSource, I deregister all message 
listeners and ensure that nothing is writing the PhoenixSource anymore.

Cheers,
Urs


Nahr Elk wrote:
> Hi,
> I would like to stop connection with a sensor node like saying killing its
> corresponding PhoenixSource.
> The method shutdown() in PhoenixSource.java seems not be the wanted
> functions to do that.
> 
> I think that the key class is TOSSerial and espacially close() method. How
> can I apply it? is it the right method to be used??
> 
> Any help please?
> 
> 
> 
> Best regards,
> Nahr Elk
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to