Receiving data from RFM12Pi

Hi,

I use the RFM12Pi on my Raspberry Pi to receive data from an emonTH.

I'm trying to receive the data from the RFM12Pi through the serial port without success.

Here is my configuration:

new_options = old_options;

new_options.c_cflag &= ~(CSTOPB|PARENB|CSIZE);
new_options.c_cflag |= (B9600|CS8|CLOCAL|CREAD);

new_options.c_iflag &= ~(INPCK|ISTRIP|IGNCR|ICRNL|IXOFF|IXON);
new_options.c_iflag |= IGNBRK;

new_options.c_lflag &= ~(ECHO|ECHOE|ISIG);
new_options.c_lflag |= ICANON;

 

When using minicom, I can see the received data that follows the format:

G 210 19 217 0 0 0 0 0 30 0

 

What I am missing?

 

Thanks,

Mickael