embkernel
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Groups
Pages
examples
stm32f4discovery
Comm.hpp
1
//------------------------------------------------------------------------------
2
//This file is part of embKernel.
3
//See license.txt for the full license governing this code.
4
//------------------------------------------------------------------------------
5
6
#ifndef COMM_HPP_
7
#define COMM_HPP_
8
9
#include "RtosInclude.hpp"
10
#include "NetInclude.hpp"
11
#include "LibPktHandler.hpp"
12
13
class
Comm:
public
RtosRunnable
{
14
private
:
15
enum
16
:uint16_t {
17
CMD_GET_LEDS = 0x0010,
18
CMD_SET_LEDS = 0x0011,
19
};
20
21
RtosTask
mTask;
22
LibPktHandler mPktHandler;
23
NetTcpSocket mSocket;
24
25
public
:
26
Comm(
int
priority,
size_t
stackSize);
27
~Comm();
28
29
protected
:
30
virtual
void
run();
31
};
32
33
#endif
/* COMM_HPP_ */
Generated on Sun May 12 2013 23:28:50 for embkernel by
1.8.3.1