Wiselib
wiselib.testing/util/wisebed_node_api/command_types.h
Go to the documentation of this file.
00001 /***************************************************************************
00002  ** This file is part of the generic algorithm library Wiselib.           **
00003  ** Copyright (C) 2008,2009 by the Wisebed (www.wisebed.eu) project.      **
00004  **                                                                       **
00005  ** The Wiselib is free software: you can redistribute it and/or modify   **
00006  ** it under the terms of the GNU Lesser General Public License as        **
00007  ** published by the Free Software Foundation, either version 3 of the    **
00008  ** License, or (at your option) any later version.                       **
00009  **                                                                       **
00010  ** The Wiselib is distributed in the hope that it will be useful,        **
00011  ** but WITHOUT ANY WARRANTY; without even the implied warranty of        **
00012  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         **
00013  ** GNU Lesser General Public License for more details.                   **
00014  **                                                                       **
00015  ** You should have received a copy of the GNU Lesser General Public      **
00016  ** License along with the Wiselib.                                       **
00017  ** If not, see <http://www.gnu.org/licenses/>.                           **
00018  ***************************************************************************/
00019 
00020 #ifndef COMMAND_TYPES_H_
00021 #define COMMAND_TYPES_H_
00022 
00023       enum CommandTypes
00024       {
00025          DEBUG_MESSAGE = 10,           // TODO: implement!
00026          VIRTUAL_LINK_MESSAGE = 11,
00027          BYTE_MESSAGE = 12,            // TODO: implement!
00028          FLASH_MESSAGE = 13,           // TODO: implement!
00029          ENABLE_NODE = 20,
00030          DISABLE_NODE = 21,
00031          RESET_NODE = 22,           // TODO: implement!
00032          SET_START_TIME = 23,          // TODO: implement!
00033          SET_VIRTUAL_ID = 24,          // TODO: implement!
00034          IS_NODE_ALIVE = 25,           // TODO: implement!
00035          GET_ID = 26,               // TODO: implement!
00036          SET_VIRTUAL_LINK = 30,
00037          DESTROY_VIRTUAL_LINK = 31,
00038          ENABLE_PHYSICAL_LINK = 32,
00039          DISABLE_PHYSICAL_LINK = 33,
00040          GET_PROPERTY_VALUE = 40,
00041          GET_NEIGHBORHOOD = 41,
00042          NODE_OUTPUT_TEXT = 50,           // TODO: implement!
00043          NODE_OUTPUT_BYTE = 51,           // TODO: implement!
00044          NODE_OUTPUT_VIRTUAL_LINK = 52,
00045          REMOTE_UART_MESSAGE = 60,
00046          REMOTE_UART_SINK_REQUEST = 61,
00047          REMOTE_UART_SINK_RESPONSE = 62,
00048          REMOTE_UART_SET_SINK = 63,
00049          REMOTE_UART_KEEP_ALIVE = 64,
00050          SSD_REST_REQUEST = 70,
00051          SSD_REST_RESPONSE = 71,
00052          IPHONE_LINK_MESSAGE = 105
00053       };
00054 
00055 #endif /* COMMAND_TYPES_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines