Revision 1935

View differences:

branches/wireless/code/lib/include/libwireless/wl_defs.h
53 53

  
54 54
// ***** TODO: these next two defines should be moved to makefile options
55 55

  
56
//comment out this line if using a computer hooked up to an xbee
57 56
#define ROBOT
58 57

  
59 58
//uncomment this line for debug information
60
#define WL_DEBUG
59
//#define WL_DEBUG
61 60

  
62 61
/**@addtogroup wireless 
63 62
 * @{ **/
......
123 122

  
124 123
// TODO: is this a good size?
125 124
/*Buffer sizes*/
126
#define PACKET_BUFFER_SIZE	128
125
#define PACKET_BUFFER_SIZE	250
127 126

  
128 127
/**@} */ // end wireless group
129 128

  
......
146 145

  
147 146
#endif
148 147

  
149
#endif
148
#endif
branches/wireless/code/lib/include/libwireless/xbee.h
87 87
 * @name xbee frame types
88 88
 * @{ **/
89 89

  
90
// TODO: add comments for all of these definitions
90
// TODO: add doxygen comments for all of these definitions
91 91

  
92 92
/*Frame Types*/
93 93
#define XBEE_FRAME_START 0x7E
branches/wireless/code/lib/include/libwireless/wireless.h
129 129
    
130 130
} PacketGroupHandler;
131 131

  
132
static PacketGroupHandler wl_packet_handlers[MAX_PACKET_GROUPS];
133 132

  
134 133
/**@defgroup wl_functions Public API Functions 
135 134
 * @{ **/
branches/wireless/code/projects/unit_tests/main.c
20 20
    // RUN_TEST(testwireless);
21 21
	//RUN_TEST(testxbee);
22 22
    //delay_ms(1000);
23
    RUN_TEST(testwireless2);
23
    //RUN_TEST(testwireless2);
24
		//hp();
24 25
    delay_ms(1000);
25 26
  }
26 27

  
branches/wireless/code/projects/unit_tests/Makefile
11 11
USE_WIRELESS = 1
12 12

  
13 13
# com1 = serial port. Use lpt1 to connect to parallel port.
14
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
14
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM25:'; else echo '/dev/ttyUSB0'; fi)
15 15

  
16 16
else
17 17
COLONYROOT := ../$(COLONYROOT)
branches/wireless/code/projects/libwireless/wl_defs.h
56 56
#define ROBOT
57 57

  
58 58
//uncomment this line for debug information
59
#define WL_DEBUG
59
//#define WL_DEBUG
60 60

  
61 61
/**@addtogroup wireless 
62 62
 * @{ **/
......
145 145

  
146 146
#endif
147 147

  
148
#endif
148
#endif

Also available in: Unified diff