Hi,

Could you help with some questions re trying out PC-mote communication
over USB connection?

1) what does "Write failed" mean in SerialForwarder? (tried to follow
its trail through the sources but got lost)

was trying to send messages to another mote (both motes = Tmote Sky)
using [modified] TestSerial.java on the PC, SerialForwarder and a
BaseStation installed on the mote.

receiving (from another mote) worked ok, but most if not all writes
failed in SerialForwarder (messages written is incremented, but a
"Write failed" message appears after some time).

this was fixed when I switched the motes. was it due to unreliable
serial port communication? [ hmmm, but the mote could be programmed
successfully over the same serial port ]

2) how to implement simultaneous send and receive (= so that these
processes happen in parallel and messages can be received while, say,
waiting for user input) in a console program in Python?

relevant Java example is TestSerial.java. TinyOS lib already takes
care of threading (for receive events) in Java. but how to do the same
in Python?

Thanks,
Uldis
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to