Rob Dobson / Mbed 2 deprecated SpideyWallWeb

Dependencies:   EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed

Revision:
1:362331cec9b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmdmsg.h	Thu Aug 20 07:41:02 2015 +0000
@@ -0,0 +1,44 @@
+
+class ledstrip;
+
+class cmdmsg
+{
+    private:
+//        static char responseStr[50];
+//        unsigned char* mpMsgBuf;
+//        int mMaxMsgLen;
+//        int mMsgLen;
+        int getLedNumFromSeq(const int* edgeLeds, int numLedsInSeq, int seqIdx);
+        
+    public:
+        cmdmsg()
+        {
+//            mMsgLen = 0;
+//            mMaxMsgLen = 5200;
+//            mpMsgBuf = new unsigned char [mMaxMsgLen]();
+//            responseStr[0] = 0;
+        }
+        
+//        ~cmdmsg()
+//        {
+//            delete mpMsgBuf;
+//        }
+//        
+//        char* GetBuffer()
+//        {
+//            return (char*)mpMsgBuf;
+//        }
+//        int GetMaxMsgLen()
+//        {
+//            return mMaxMsgLen;
+//        }
+//        
+//        void SetMsgLen(int n)
+//        {
+//            mMsgLen = n;
+//        }
+//        char* Interpret(ledstrip* pLedStrip);
+//        
+        static char* Interpret(const unsigned char* msgBuf, int msgLen, ledstrip* pLedStrip);
+};
+