WizziCom System command handling library.
WizziComSys.h@0:0556fb79780a, 2017-05-09 (annotated)
- Committer:
- Jeej
- Date:
- Tue May 09 13:45:14 2017 +0000
- Revision:
- 0:0556fb79780a
WizziCom System commands handling library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jeej | 0:0556fb79780a | 1 | #include "WizziCom.h" |
Jeej | 0:0556fb79780a | 2 | #include "WizziDebug.h" |
Jeej | 0:0556fb79780a | 3 | |
Jeej | 0:0556fb79780a | 4 | class WizziComSys { |
Jeej | 0:0556fb79780a | 5 | private: |
Jeej | 0:0556fb79780a | 6 | WizziCom* _com; |
Jeej | 0:0556fb79780a | 7 | Semaphore _pong; |
Jeej | 0:0556fb79780a | 8 | |
Jeej | 0:0556fb79780a | 9 | void _catch_pong(WizziCom* com, WizziComPacket_t* pkt); |
Jeej | 0:0556fb79780a | 10 | |
Jeej | 0:0556fb79780a | 11 | public: |
Jeej | 0:0556fb79780a | 12 | WizziComSys(WizziCom* com); |
Jeej | 0:0556fb79780a | 13 | ~WizziComSys(); |
Jeej | 0:0556fb79780a | 14 | |
Jeej | 0:0556fb79780a | 15 | int ping(void); |
Jeej | 0:0556fb79780a | 16 | }; |