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/Request/ATCommandRequest.h	Thu Oct 22 12:28:26 2015 +0000
@@ -0,0 +1,31 @@
+#ifndef UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest
+#define UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest
+
+#include "TxBase.h"
+#include "ICommandRequest.h"
+
+class ATCommandRequest: public TxBase, public ICommandRequest
+{
+
+public:
+        //0x08 or 0x09
+        //FrameID
+        //AT_Command
+        //Parameter_Value
+
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="FrameID"></param>
+        /// <param name="AT_Command"></param>
+        /// <param name="Parameter_Value">this can be null</param>
+        ATCommandRequest(char frameID, const char * command, const char * parameter=NULL, int offset=0, int length=0);
+
+        virtual void setAppleChanges(bool appleChanges);
+
+        virtual void setCommand(const char * command);
+
+        virtual void setParameter(const char * parameter, int offset, int length);
+};
+
+#endif
\ No newline at end of file