Revision 174
fixed some wl stuff; robot now receives packets
colonet_dragonfly.c | ||
---|---|---|
62 | 62 |
unsigned char* args; //up to 7 char args |
63 | 63 |
unsigned int int_args[3]; //up to 3 int (2-byte) args |
64 | 64 |
|
65 |
printf("received message from %d of length %d\n", source, length); |
|
65 |
orb_set_color(BLUE); |
|
66 |
usb_puts("Packet received.\n"); |
|
67 |
//printf("received message from %d of length %d\n", source, length); |
|
66 | 68 |
|
67 |
assert(length == sizeof(ColonetRobotServerPacket)); |
|
69 |
///assert(length == sizeof(ColonetRobotServerPacket));
|
|
68 | 70 |
packet_string_to_struct(&pkt, packet); |
69 | 71 |
|
70 | 72 |
args = pkt.data; |
Also available in: Unified diff