#include <parse.h>
#include <rdline.h>
#include <timer.h>
+#include <xbee.h>
-#include "xbee_neighbor.h"
-#include "xbee_atcmd.h"
-#include "xbee_stats.h"
-#include "xbee_buf.h"
-#include "xbee_proto.h"
-#include "xbee.h"
#include "cmdline.h"
#include "callout.h"
#include "rc_proto.h"
#define LED3_ON() sbi(PORTA, 0)
#define LED3_OFF() cbi(PORTA, 0)
+#define BUZZER_ON() sbi(PORTA, 4)
+#define BUZZER_OFF() cbi(PORTA, 4)
+
/* highest priority */
#define LED_PRIO 170
#define TIME_PRIO 160
+#define BEEP_PRIO 130
#define SPI_PRIO 100 /* users of spi_servo must have lower prio */
/* lowest priority */
void bootloader(void);
-void xbee_rx(struct xbee_dev *dev, int channel, int type,
+void xbeeapp_rx(struct xbee_dev *dev, int channel, int type,
void *frame, unsigned len, void *opaque);
int xbeeapp_send_atcmd(const char *atcmd_str,
void *param, unsigned param_len, int foreground,