Revision 334
Added battery request functionaltiy. It works, but is kind of a hack. I will be cleaning it up so the format is the same as other requests.
ConnectionPool.cpp | ||
---|---|---|
196 | 196 |
return ERROR_NOT_ENOUGH_ROOM; |
197 | 197 |
} |
198 | 198 |
|
199 |
printf("Connection pool: attempting to write [%s], length %i to index %i.\n", message, length, pool_index); |
|
200 |
|
|
199 | 201 |
memcpy(write_buffer[pool_index], message, length); |
200 | 202 |
write_buffer_size[pool_index] += length; |
201 | 203 |
|
Also available in: Unified diff