[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Xbee API
From: |
Bart Remes |
Subject: |
[Paparazzi-devel] Xbee API |
Date: |
Sat, 27 Mar 2010 09:56:15 +0100 |
Hello World,
I`m playing whit the Xbee API. The goal is to have multiple paprazzi systems in the air.
The problem is that I can not send any data to the Tiny 2.11 board.
I get all the Data from the Tiny 2.11 board in the GCS but I can not upload way points or tuning parameters to the Tiny 2.11 board.(I compiled tuning.xml)
This is what I do:
I integrated the Maxstrem API protocol in my Airframe file
<section name= "MISC">
...
<define name="XBEE_INIT" value="\"ATCHC\rATID3332\rATPL4\rATRN1\rATTT80\rATBD3\rATWR\r\""/>
<!-- <define name="NO_XBEE_API_INIT" value="TRUE"/> uncommant after programed-->
...
</section>
and in the make part I integrated:
# Maxstream API protocol
ap.CFLAGS += -DDOWNLINK -DUSE_UART1 -DDOWNLINK_TRANSPORT=XBeeTransport -DDOWNLINK_FBW_DEVICE=Uart1 -DDOWNLINK_AP_DEVICE=Uart1 -DXBEE_UART=Uart1 -DDATALINK=XBEE -DUART1_BAUD=B9600
ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c xbee.c
I flash this in to the autopilot let it on for 30 sec
and flash than:
<section name= "MISC">
...
<define name="XBEE_INIT" value="\"ATCHC\rATID3332\rATPL4\rATRN1\rATTT80\rATBD3\rATWR\r\""/>
<define name="NO_XBEE_API_INIT" value="TRUE"/> <!--uncommant after programed-->
...
</section>
now I have data from the auto pilot but can not sent anything back
when I remove this line:
<define name="XBEE_INIT" value="\"ATCHC\rATID3332\rATPL4\rATRN1\rATTT80\rATBD3\rATWR\r\""/>
I also can send data to the autopilot.
If anybody have an idea what I`m doing wrong pleas let me know.
Kind regards
Bart Remes
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] Xbee API,
Bart Remes <=