Hello friends...
Has anyone tried working with and modifying the SenseToRfm application in
tinyos-1.x ??
I have modified the application wherein I have a node with id 0 as the base
station
and in the IntToRfm's Intoutput.output() I have added a few debug statements
.....
printf("sending data to base station \n");
if (call Send.send(0, sizeof(IntMsg), &data))//&data
{
printf("data sent \n");
return SUCCESS;
}
pending = FALSE;
}
printf("could not send data to base station \n");
return FAIL;
...
Now when I am running sensetorfm, it works fine for the first few cases,
alternate "could not send"
and "data sent" statements but then it finally gets stuck up and displays
everytime "could not send" and the programs keeps
running with the same statement for a long time.(until it is explicitly
stopped)
Any pointers here will be greatly appreciated ??
Thanking you all in advance
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help