On Mar 18, 2007, at 1:15 PM, fatima cabot wrote:

Hi. Is there a way of setting variables of nesc modules from Python? I mean, as there is a 'getData', is it possible to do a 'set'?is there any different way of getting this?


No. Otherwise you start ending up with application logic in python and you're not longer really simulating a TinyOS network.

One simple to do this is to have a packet type that lets you set the variable, and sending a packet to a node over its UART. This will also work on real nodes.

Phil

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to