Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed
cmdmsg.h
- Committer:
- Bobty
- Date:
- 2015-08-31
- Revision:
- 3:e5ea80fae61d
- Parent:
- 1:362331cec9b7
File content as of revision 3:e5ea80fae61d:
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);
};