NetBurner 3.1
examples/unitTest/src/tests/throughput/Throughput/constants.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
#ifndef _CONSTANTS_H_
6
#define _CONSTANTS_H_
7
8
/*
9
* @brief The size of the buffer used in the throughput tests.
10
*/
11
const
int
BUFFER_SIZE = 100000;
12
13
/*
14
* @brief Which serial port the throughput test should be conducted on.
15
*/
16
const
int
SERIAL_PORT = 2;
17
18
/*
19
* @brief Whether or not to enable additional debug print statements.
20
*/
21
const
int
DEBUG_ENABLED = 0;
22
23
/*
24
* @brief The possible test states the device will run through.
25
*
26
* @details The states will not necessarily be entered in this order, and is
27
* dependent on whether or not the device initiated the connection.
28
*/
29
enum
TestStates
30
{
31
eTestInit = 0,
32
eTestSerialSend,
33
eTestSerialReceive,
34
eTestEthernetSend,
35
eTestEthernetReceive,
36
eTestComplete
37
};
38
39
#endif
/* _CONSTANTS_H_ */
examples
unitTest
src
tests
throughput
Throughput
Constants.h
Generated by
1.8.14