Hi
I'm pretty new to Tinyos and have a Question concerning the ack's in the
Tos_Msg.
By default the Acks are switched off on the cc1000 (mica2mote) and can
be switched on over the MacControl.enableAck() command.
Looking at the code of Surge and QueuedSend I have remarqued that both
QueueSend : (QueuedSendM.nc)
if ((!retransmit) || (msg->ack != 0) || (msgqueue[dequeue_next].address
== TOS_UART_ADDR)) {
and Surge through Multihop:
(MultiHopEngineM.nc)
if(pMsg->ack == 0 && pMsg->addr != TOS_BCAST_ADDR && pMsg->addr !=
TOS_UART_ADDR && fail_count < 6){
are using the ack Byte from the Tos_Msg but I did not find a single line
which switches the enableAck() on.
Could somebody please tell my how this does work ? Is there another
mechanism to switch on the Ack's or Is the code in QueuedSendM.nd and
MultiHopEngineM.nc somehow buggy because the ack will allways be 0 ?
Thanks a lot for your help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help