I just realised I used deluge, which is written in python, and uses
the serial port.

So I checked the code, and  it seems it only uses tos.py, which seems
like an almost full SDK by itself (it misses the the usability of mig
generated messages though). Nothing imorts anything from tos.py in the
/support/sdk/python/tinyos direcories.

So there are two independent python SDKs?

Andris

On Fri, Oct 26, 2012 at 1:46 PM, András Bíró <[email protected]> wrote:
> Hi,
>
> I started experimenting with the python sdk, but I have some problems:
> -I can only use it with java/c serialforwarder, because there's no
> tinyos.packet.SerialSource, and I have no idea how could I generate it
> -How can I get the source nodeid of a message? With java, I used
> message.getSerialPacket().get_header_src(), but there's no
> getSerialPacket method in the class generated by mig.
>
> Andris

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

Reply via email to