[Tinyos-help] About relay node on modified Surge program

JeongKwanhee khjeong at gist.ac.kr
Sat Oct 27 09:13:42 PDT 2007


Hello everyone!

I made a code to confirm received packets on relay nodes when it is in
multihop networks.

System folder -> AMpro~~.nc file 


         if (buffer->addr == TOS_UART_ADDR)
           ok = call UARTSend.send(buffer);
         else{
           ok = call UARTSend.send(buffer); 
           ok = call RadioSend.send(buffer);
         }

However, when I confirmed the packet of relay nodes, I found that it's
number of received packets is so small despite without any interference.

When I see, 

ok = call UARTSend.send(buffer); 
ok = call RadioSend.send(buffer); <- this method is not good 

Is it right or is any different method?

To sum up, I want to confirm received packet on the relay node.

 

Give me many answers, please.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071028/f46008e1/attachment.html


More information about the Tinyos-help mailing list