On Jun 4, 2007, at 9:01 PM, Micfox Micfox wrote:

Hi,

As Deluge is supporting multi-hop reprogramming, I wondered which part of the code is doing the multi-hop forwarding for the newer packets or pages.For example,

assume node A (installed with TOSBase)is attached with PC, while node B and node C (Both installed with DelugeBasic) are deployed in one-hop distance and two-hop distance to Node A. Node B should forward the image to Node C, right? I searched DelugePageTransferM.nc and can only find one place with the most relevant line (I think) in DataRead.readDone():

if (call SendDataMsg.send(nodeAddr, sizeof(DelugeDataMsg), pMsgBuf) == FAIL)
     call Timer.start (TIMER_ONE_SHOT, DELUGE_FAILED_SEND_DELAY);

However, If I attempted to modify this line (with some intentional bugs), instead of the forwarding malfunctioning, Ping is not working (from PC via Node A) and freezed on "Getting data for image [0]..." I figured the above line in Node B might send the image to Node A rather than sending image to Node C.

The point is that if Deluge supports multi-hop image dissemination, there must be somewhere in the code that do the forwarding.... I could not find it so far and I wondered if you know where is that part doing the multi-hop forwarding.

I checked your Network Programming manual but I could not find anything related to the above question..


I'd recommend reading the Deluge paper.

Basically, Deluge disseminates a single hop at a time. When a node fully receives a page, it can advertise the page and send it along to the next hop.

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

Reply via email to