Howdy. Looking at the code for tinyos.message.MoteIF, it looks like if you use a serial@dev:baud source when calling addSource, it will check for the existence of a tinyos.packet.SerialSource module (which is set to None if the import of such a module fails).
I don't see a SerialSource.py anywhere, so direct serial connections fail. Is this intentional (i.e. blocked off for future work), or is it missing from the repo and actually exists somewhere? Everything works great if I run the java SerialForwarder and use an sf@host:port source in my python script (which uses the tinyos.packet.SFSource class), but I'd prefer to cut out the middle man if possible. If it's not available, then I'm assuming the correct way to proceed would be to adapt the code in tos.py in something that inherits tinyos.packet.PacketSource? Thanks, Doug
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
