Project

General

Profile

Statistics
| Revision:

root / branches / autonomous_recharging / code / projects / autonomous_recharging / dragonfly / recharge_defs.h @ 743

History | View | Annotate | Download (618 Bytes)

1
// Recharging group
2
#define WL_RECHARGE_GROUP 3
3

    
4
#define WL_RECHARGE_POLL_STATIONS 1
5
#define WL_RECHARGE_STATION_AVAILABLE 2
6
#define WL_RECHARGE_REQUEST 3
7
#define WL_RECHARGE_REQUEST_ACCEPT 4
8
#define WL_RECHARGE_VERIFY 5
9
#define WL_RECHARGE_CANCEL 6
10
#define WL_RECHARGE_SEEKING 7
11
#define WL_RECHARGE_DOCKED 8
12
#define WL_BATTERY_REQUEST 11
13

    
14
//#define RECHARGE_DEBUG
15

    
16
#define WL_BATTERY_REQUEST 11
17
#ifdef RECHARGE_DEBUG
18
#define RECHARGE_DEBUG_PRINT( s ) usb_puts( s )
19
#define RECHARGE_DEBUG_PUTI( i ) usb_puti( i )
20
#else
21
#define RECHARGE_DEBUG_PRINT( s )
22
#define RECHARGE_DEBUG_PUTI( i )
23
#endif
24