Hello.

After modify the Makefile in my app I am generating the files:

 TemperatureMsg.class
 TemperatureMsg.java
 TemperatureMsg.py


Then, when I run the java file:

java net.tinyos.tools.MsgReader TemperatureMsg -comm
serial@/dev/ttyUSB0:telosb

Shows ok the data incoming.

......
1329320065574: Message <TemperatureMsg>
  [nodeid=0x8]
  [temp=0x1a32]
  [hum=0x292]
  [volt=0xda7]
  [tsr=0x4c]
  [par=0x24]
....

But when I do with:

./TemperatureMsg.py (I've modified it by adding in the onset  
#!/usr/bin/env python )

It run quickly and don't show nothing.

Please, someone knows what is the correct way to run a Python Mig?

Thanks in advance.

Alejandro.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to