XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Revision:
0:837e6c48e90d
Child:
6:5f31ddc17239
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Indicator/ATCommandIndicator.h	Thu Oct 22 12:28:26 2015 +0000
@@ -0,0 +1,42 @@
+#ifndef UK_AC_HERTS_SMARTLAB_XBEE_ATCommandIndicator
+#define UK_AC_HERTS_SMARTLAB_XBEE_ATCommandIndicator
+
+#include "RxBase.h"
+#include "ICommandResponse.h"
+
+class ATCommandIndicator : public ICommandResponse, public RxBase
+{
+public :
+    ATCommandIndicator(APIFrame * frame);
+
+    virtual int getFrameID();
+    
+    virtual char * getRequestCommand();
+
+    /**
+    *
+    * @returns
+    *    OK = 0x00,
+    *    ERROR = 0x01,
+    *    INVALID_COMMAND = 0x02,
+    *    INVALID_Parameter = 0x03,
+    *    TRANSMISSION_FAILED = 0x04,
+    */
+    virtual int getCommandStatus();
+
+    /// <summary>
+    /// if parameter not presented, null will be returned.
+    /// </summary>
+    /// <returns></returns>
+    virtual char * getParameter();
+
+    virtual char getParameter(int index);
+
+    virtual int getParameterLength();
+
+    virtual int getParameterOffset();
+    
+    bool convert(APIFrame * frame);
+};
+
+#endif
\ No newline at end of file