XBee API operation library for mbed
Embed:
(wiki syntax)
Show/hide line numbers
ICommandResponse.h
00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_ICommandResponse 00002 #define UK_AC_HERTS_SMARTLAB_XBEE_ICommandResponse 00003 00004 class ICommandResponse 00005 { 00006 public: 00007 virtual int getFrameID() = 0; 00008 00009 virtual unsigned char * getRequestCommand() = 0; 00010 00011 /** 00012 * 00013 * @returns 00014 * OK = 0x00, 00015 * ERROR = 0x01, 00016 * INVALID_COMMAND = 0x02, 00017 * INVALID_Parameter = 0x03, 00018 * TRANSMISSION_FAILED = 0x04, 00019 */ 00020 virtual int getCommandStatus() = 0; 00021 00022 virtual unsigned char * getParameter() = 0; 00023 00024 virtual unsigned char getParameter(int index) = 0; 00025 00026 virtual int getParameterLength() = 0; 00027 00028 virtual int getParameterOffset() = 0; 00029 }; 00030 00031 #endif
Generated on Tue Jul 12 2022 11:17:04 by 1.7.2