WizziCom System command handling library.

WizziComSys.h

Committer:
Jeej
Date:
2017-05-09
Revision:
0:0556fb79780a

File content as of revision 0:0556fb79780a:

#include "WizziCom.h"
#include "WizziDebug.h"

class WizziComSys {
private:
    WizziCom*                   _com;
    Semaphore                   _pong;
    
    void                        _catch_pong(WizziCom* com, WizziComPacket_t* pkt);
    
public:
    WizziComSys(WizziCom* com);
    ~WizziComSys();
    
    int ping(void);
};