Hi all.
I'm a student of University of Pisa.
I'm working with tinyOs 2.x on cygwin (windows-XP) and  TmoteSky motes.

I have a problem with serial communication.
I'm working on a message transfer protocol between motes.
In my scenario there is a mote ( mote A ) that sends messages to another
mote ( mote B ) ----> so mote B sends aknowledgments to mote A.
Mote A send a static windows of 12 messages ( 1 message every 15
milliseconds )  and then wait for acknowledgments sent from mote B.
message structure is composed of 28 bytes.


in the application i insert the command to send messages in broadcast to
serial port and to radio :

success = call AMSend.send(AM_BROADCAST_ADDR, &message,sizeof(message));
-----------> message is sent over radio
success1 = call SerialSend.send(AM_BROADCAST_ADDR,
&message,sizeof(message));  -----> message is sent over serial port

----> so i can visualize messages
sent by the 2 motes ( A and B ) with "java net.tinyos.tools.Listen" .

When i turn-on the motes, I start to see messages sent by motes A and B ,
but sometimes mote A stops to send messages over serial interface
and I see only messages sent by mote B.
Mote A continues to send radio messages (  mote B  receive messages sent by
mote A  and update the info inside its aknowledgment ) and to receive
aknowledgments sent by mote B.

It's possible that trasmission buffer in mote A goes in overflow cause mote
A sends 1 message every 15 milliseconds or that the serial send interface is
blocked cause some
error like CRC error?

thanks very much for your help

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

Reply via email to