Revision 538
Non-working update to wireless, sending separate packet for passing the token.
wl_defs.h | ||
---|---|---|
40 | 40 |
//#define ROBOT |
41 | 41 |
|
42 | 42 |
//uncomment this line for debug information |
43 |
//#define WL_DEBUG
|
|
43 |
#define WL_DEBUG |
|
44 | 44 |
|
45 | 45 |
// Packet Groups and Types |
46 | 46 |
|
... | ... | |
53 | 53 |
#define WL_TOKEN_RING_GROUP 2 |
54 | 54 |
|
55 | 55 |
#define WL_TOKEN_PASS 1 |
56 |
#define WL_TOKEN_BOM_ON 2 |
|
57 |
#define WL_TOKEN_JOIN 3 |
|
58 |
#define WL_TOKEN_JOIN_ACCEPT 4 |
|
56 |
#define WL_TOKEN_SENSOR_MATRIX 2 |
|
57 |
#define WL_TOKEN_BOM_ON 3 |
|
58 |
#define WL_TOKEN_JOIN 4 |
|
59 |
#define WL_TOKEN_JOIN_ACCEPT 5 |
|
59 | 60 |
|
60 | 61 |
// timing constants |
61 | 62 |
#ifndef FIREFLY |
... | ... | |
67 | 68 |
#define DEATH_DELAY 4 |
68 | 69 |
#define JOIN_DELAY 8 |
69 | 70 |
|
70 |
// Recharging group |
|
71 |
#define WL_RECHARGE_GROUP 3 |
|
72 |
|
|
73 |
#define WL_RECHARGE_POLL_STATIONS 1 |
|
74 |
#define WL_RECHARGE_STATION_AVAILABLE 2 |
|
75 |
#define WL_RECHARGE_REQUEST 3 |
|
76 |
#define WL_RECHARGE_REQUEST_ACCEPT 4 |
|
77 |
#define WL_RECHARGE_VERIFY 5 |
|
78 |
#define WL_RECHARGE_CANCEL 6 |
|
79 |
#define WL_RECHARGE_SEEKING 7 |
|
80 |
#define WL_RECHARGE_DOCKED 8 |
|
81 |
#define WL_BATTERY_REQUEST 11 |
|
82 |
|
|
83 | 71 |
#ifdef WL_DEBUG |
84 | 72 |
|
85 | 73 |
#ifdef ROBOT |
Also available in: Unified diff