-   Linux - Embedded & Single-board computer (
-   -   Leach RCAgent error (

najma 03-14-2013 07:08 AM

Leach RCAgent error
Hi, i m trying modify send and recv functions of leach protocol to send base station-CH distance along with the node distance when sending cluster-head advertisements. i m using ns-2.29 mannasim but when i modify the send function of cluster head advertisement i get this error message.
mannasim/leach/rca/ error: no matching function for call to ‘LeachApp::recv(int&, double&, int&, int&, char* const, int&, int&, int&)’

line189 ((LeachApp *) app_)->recv(packetMsg_, distEst_, rca_hdr->rca_link_dst(), hdr->size(), rca_hdr->meta(),
rca_hdr->meta_size(), rca_hdr->rca_mac_src(), rca_hdr->rca_link_src());

Can anyone guide how to resolve this issue?


All times are GMT -5. The time now is 07:43 PM.