Hi,

I would like  to send a packet from UART to node.
I read about TestSerial and mig from: 
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder
It was all java specific but I would like to use python instead.


TestSerial Makefile
------------------------------------------------------------------------------------------------------------------------------------------------
COMPONENT=TestSerialAppC
BUILD_EXTRA_DEPS += TestSerial.class
CLEAN_EXTRA = *.class TestSerialMsg.java

CFLAGS += -I$(TOSDIR)/lib/T2Hack

TestSerial.class: $(wildcard *.java) TestSerialMsg.java
        javac -target 1.4 -source 1.4 *.java

TestSerialMsg.java:
        mig java -target=null $(CFLAGS) -java-classname=TestSerialMsg  
TestSerial.h test_serial_msg -o $@
------------------------------------------------------------------------------------------------------------------------------------------------


Could someone show me how to change that Makefile for python.


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

Reply via email to