All my compiling problems are solved :) But, now I have a problem with the modems. I´ve configurated the modem, with 9600bauds, one as the at coordinator and the other as the at end device. And in the ariframe code I´m using this:
#XBEE_MODEM
ap.CFLAGS += -DDOWNLINK -DUSE_UART1 -DDOWNLINK_TRANSPORT=XBeeTransport -DXBEE_UART=Uart1 -DDATALINK=XBEE -DUART1_BAUD=B9600
ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c xbee.c
I´m using xbee pro series2 of 2,4ghz. And when I start the CGS i use flight usb-serial 9600 what do you think what would be happening?
Thanks
Jesús