Project

General

Profile

Revision 1620

Cleaned up a few comments

View differences:

branches/wireless/code/projects/libwireless/wireless_receive.c
125 125
/*
126 126
 * function to dispatch all registered packet handlers for received packets on non-default groups
127 127
 *
128
 * @return error codes (TBD)
128
 * @return error codes
129 129
 */
130 130
int8_t wl_dispatch(void) {
131 131
    uint8_t buf_pos = other_buf_first;	// current position in buffer
branches/wireless/code/projects/libwireless/wireless_send.c
86 86
 * @param dest robot ID (for robot to robot packet)
87 87
 * @param mode flag for using FAST or RELIABLE sending
88 88
 *
89
 * @return positive packet number for tracking acks, or error code (TBD)
89
 * @return positive packet number for tracking acks, or error code
90 90
 **/
91 91
int16_t wl_send(uint8_t *data, uint8_t length, uint8_t group, uint8_t scope, uint16_t dest, uint8_t mode) {
92 92
  uint8_t packet[6];
......
188 188
 * @param length the length of the data array
189 189
 * @param group the packet group of the packet
190 190
 *
191
 * @return positive packet number for tracking acks, or error code (TBD)
191
 * @return positive packet number for tracking acks, or error code
192 192
 **/
193 193
int16_t wl_send_global(uint8_t *data, uint8_t length, uint8_t group) {
194 194
  return wl_send(data, length, group, GLOBAL, BROADCAST, RELIABLE);

Also available in: Unified diff