Hi, I am attaching a small code for it.. Please let me know where I am going
wrong...
This is the send code :
event void Timer0.fired() {
counter++;
if (!busy) {
BlinkToRadioMsg* btrpkt =
(BlinkToRadioMsg*)(call Packet.getPayload(&pkt,
sizeof(BlinkToRadioMsg)));
if (
Try spending some time with the tutorials.
AM packets do not have IP addresses. Rather AM packet addressing is 16
bit.
Further even if IP addresses are used, you don't compare IP address as if
they are strings.
Doesn't work.
How about you do some of your homework first, before asking for help.