Definitions for Wireless. More...
#include <stdint.h>
Go to the source code of this file.
Defines | |
#define | ROBOT |
#define | WL_DEBUG |
#define | WL_SUCCESS INT8_C(0) |
Success. | |
#define | WL_ERROR_INIT_FAILED INT8_C(-1) |
Error code for init failure. | |
#define | WL_ERROR_INIT_ALREADY_INITD INT8_C(-2) |
Error code for duplicate init calls. | |
#define | WL_ERROR_LIBRARY_NOT_INITD INT8_C(-3) |
Error code for not calling init. | |
#define | WL_ERROR_TERMINATION_FAILED INT8_C(-4) |
Error code for failed termination. | |
#define | WL_ERROR_FAILED_REGISTRATION INT8_C(-5) |
Error code for failed packet group registration. | |
#define | WL_ERROR_FAILED_UNREGISTRATION INT8_C(-6) |
Error code for failed packet group registration. | |
#define | WL_ERROR_ARGUMENT INT8_C(-7) |
Error in arguments. | |
#define | WL_ERROR_SEND INT8_C(-10) |
Error code for send failure. | |
#define | WL_ERROR_BAD_GROUP INT8_C(-11) |
Error code for a bad group number. | |
#define | WL_ERROR_SCOPE INT8_C(-12) |
Error code for a bad scope. | |
#define | WL_ERROR_ADDRESS INT8_C(-13) |
Error code for a bad robot address. | |
#define | WL_ERROR_MODE INT8_C(-14) |
Error code for a bad mode. | |
#define | WL_ERROR_TOO_SMALL INT8_C(-15) |
Error code for received paacket destination too small for received packet. | |
#define | WL_ERROR_SENDING_BUFFER_FULL INT8_C(-16) |
Error code for sending buffer full (the packet was sent, but no retries will be made). | |
#define | WL_ERROR_XBEE_COMMAND INT8_C(-17) |
Error code for failed xbee command. | |
#define | WL_ERROR_XBEE_COMMAND_16BIT 0xFEFE |
Error code for failed 16bit xbee command. | |
#define | WL_ERROR_BAUD INT8_C(-18) |
Error code for bad baud rate. | |
#define | PACKET_BUFFER_SIZE 250 |
#define | WL_DEBUG_PRINT(s) |
#define | WL_DEBUG_PRINT_P(s) |
#define | WL_DEBUG_PRINT_CHAR(c) |
#define | WL_DEBUG_PRINT_INT(i) |
#define | WL_DEBUG_PRINT_HEX(i) |
Definitions for Wireless.
Copyright (c) 2009 Colony Project
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contains definitions for wireless, debugging information, etc.