Thank you for your efforts again.
I don't have anything as of now. Just the early codes, which give me random values.
I checked with just the received (raw) values - they are different from the transmitted ones! I would attempt making my previous post to code. But I don't know how to get Arduino to read a value after a given sequence.
When I say for instance :
if (XBeeRX.read()=='*')
data_ = XBeeRX.read();
is it going to store the sequence after the received '*' into data_? And if so, how many bits?