It looks like you have just copied code from the net, and used it with
assumptions. You need to read about how to build a packet or at least
use an example doing such. A packet is composed of a header, payload,
and payload size. frame[0] is *not* for payload data.
If you don't bother to understand the libraries you intend to use, you
will waste a great deal of time with a shotgun.
Best, Dan.
--
"If they can get you asking the wrong questions, they dont
have to worry about answers."
Reply by Kostas Panagiotakis●July 23, 20122012-07-23
Hello my name is Kostas and I want to ask you a question regarding the MSP430
eZ430-RF2500 development tool.
I'm trying to send a packet,from one board to another, by pressing the on
board button. The packet contains the letter "A". When the packet is received I
want to check if it contains the letter and if it does, to turn on the red light
on the board. The problem is that I cannot read the contents of the packet thus,
I cannot perform the check. Below is the code that I'm using to perform
this task. What should I do to fix this problem?
Thanks in advance.
#include "mrfi.h"
#include "radios/family1/mrfi_spi.h"