Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xbee868.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 ENAC, Pascal Brisset
3  * Copyright (C) 2014 Gautier Hattenberger <gautier.hattenberger@enac.fr>
4  *
5  * This file is part of paparazzi.
6  *
7  * paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, see
19  * <http://www.gnu.org/licenses/>.
20  *
21  */
22 
28 #ifndef XBEE868_H
29 #define XBEE868_H
30 
31 #define XBEE_TX_ID 0x10
32 #define XBEE_RX_ID 0x90
33 #define XBEE_RFDATA_OFFSET 12
34 
35 #define XBEE_TX_OVERHEAD 13
36 #define XBEE_TX_HEADER { \
37  XBEE_TX_ID, \
38  NO_FRAME_ID, \
39  0x00, \
40  0x00, \
41  0x00, \
42  0x00, \
43  0x00, \
44  0x00, \
45  (GROUND_STATION_ADDR >> 8), \
46  (GROUND_STATION_ADDR & 0xff), \
47  0xff, \
48  0xfe, \
49  0x00, \
50  TX_OPTIONS \
51  }
52 
53 #define XbeeGetRSSI(_payload) {}
54 
55 #endif // XBEE868_H