Hi Daniele,

The link for the mote-pc communication tutorial is:
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder

The link for a list of tutorials is:
http://docs.tinyos.net/index.php/TinyOS_Tutorials

For terminating a connection, you should do the following steps:
- ensure that nobody tries to send anything anymore
- deregister any listeners that you have previously registered: 
mif.deregisterListener(..) (mif is the MoteIF object you previously 
created; you'll have to keep a list of all listeners that you registered).
- close the low-level connection: ps.shutdown() (ps is the PhoenixSource 
object that you previously created).

Cheers,
Urs


Daniele Ricci wrote:
> It runs!
> Now, as before, remains in continuous listening that the packets arrive 
> from sf. 
> You can put the link of the tutorial please? 
> thanks
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to