From looking at mica2/CC1000RadioIntM.nc the only time
Send.sendDone() is called, the result is hard coded to SUCCESS...
Perhaps there are other places that call with FAIL, but it looks
like SUCCESS is the only option once transmission gets started,
even though there are errors detected during xmission...
YMMV
MS
gabriele renzi wrote:
--- Sumit Rangwala <[EMAIL PROTECTED]> ha scritto:
Instead send just queues the msg and so my msg is
not
existing anymore, this is ok, but I don't
understand
why sendDone seem to work just fine instead of
exploding in my face. That was the core question,
I'm
sorry I failed to express it.
sendDone will be signaled irrespective of whether
the
message is sent or not. It is the value of 'success'
variable that tell if send was successful. Are you
getting a sendDone with success==SUCCESS and not
receiving
the packets?
exactly, success == SUCCESS both with the wrong code
and with the correct one, the difference is that
with the latter the msg is really sent and thus is
received while this is not true with the former.
I guess this must just be a problem with my setup (I'm
running this on win32 since I had problems with tos
and gcc4 on my linux box), thanks to averyone who
answered me.
--
icq: #69488917
___________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help