[Tinyos-help] Reg retransmissions.

Lakshmi Narasimhan. S sulakshm at student.utdallas.edu
Tue Sep 13 09:26:49 PDT 2005


Hello group,
Does mica radio stack does any retransmissions?
Or is it only the toplevel applications that has to retransmit
based on failures of its send messages?

If so, how does the toplevel application know about the
success/failure of its send? It seems to me, sendDone() result_t
parameter is always SUCCESS from the platform/pc/MicaHighSpeedRadioM.nc

  task void packetSent(){
    RadioMsgSentEvent ev;
    send_state = IDLE_STATE;
    state = IDLE_STATE;
    memcpy(&ev.message, send_ptr, sizeof(ev.message));
    ev.message.crc = 1; // Tools expect crc={0,1}, not actual CRC
value -pal
    sendTossimEvent(NODE_NUM, AM_RADIOMSGSENTEVENT,
tos_state.tos_time, &ev);
    signal Send.sendDone((TOS_MsgPtr)send_ptr, SUCCESS);
  }


is it only by looking at the crc field within the packet
does one recognize the success or failure of its send?

Please let me know.

Thanks
LN


More information about the Tinyos-help mailing list