[Tinyos-help] Python SDK for TinyOS 2.x

2007-09-14 Thread Matt Welsh
We've developed a Python based SDK for TinyOS, allowing you to write Python programs that talk to serialforwarder, send and receive packets, and so forth. This is basically a subset of the Java SDK functionality and has a fairly similar interface (if you know how to use mig and MoteIF in Java, it w

[Tinyos-help] Python SDK for TinyOS 2.x

2010-05-03 Thread Tony Charley
Hi I am trying to use python sdk to communicate with Serial Forwarder. I receive messages using "receive(self, src, msg)" as in Chad's example and it works ok. However I found some troubles when trying to send messages to Serial Forwarder. I used MoteIF's "sendMsg(self, dest, addr, amType, group,

Re: [Tinyos-help] Python SDK for TinyOS 2.x

2007-09-14 Thread John Griessen
Matt Welsh wrote: We've developed a Python based SDK for TinyOS, allowing you to write Python programs that talk to serialforwarder, send and receive packets, and so forth. Sounds great. I've been using the c++ serial forwarder. Has it been tested with that yet? Does it parallel the whole

Re: [Tinyos-help] Python SDK for TinyOS 2.x

2007-09-14 Thread Chad Metcalf
It should work with any of the tools (Java, C, or C++ SFs). When it comes to MoteIF you'll find them very similar. Using TestSerial as an example: --- Makefile --- COMPONENT=TestSerialAppC BUILD_EXTRA_DEPS += TestSerial.class TestSerialMsg.py CLEAN_EXTRA = *.class TestSerialMsg.java TestSerialMsg

Re: [Tinyos-help] Python SDK for TinyOS 2.x

2007-09-25 Thread IƱigo Urteaga
Hi everybody, I am trying to use python sdk to communicate with Serial Forwarder. I receive messages using "receive(self, src, msg)" as in Chad's example and it works ok. However I found some troubles when trying to send messages to Serial Forwarder. I guess I should use MoteIF's "sendMsg(self, d