Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

config.h

Committer:
Cumulocity
Date:
2014-07-03
Revision:
0:099f76422485
Child:
5:2b74510900da

File content as of revision 0:099f76422485:

#ifndef _SMARTREST_CONFIG_H
#define _SMARTREST_CONFIG_H 1
 
/* Define the fixed array size of the Aggregator module. This disables dynamic
   memory management. */
#define SMARTREST_AGGREGATOR_FIXED_SIZE 100

/* Define the initial capacity of the Aggregator module. */
//#define SMARTREST_AGGREGATOR_INITIAL_CAPACITY  50 

/* Define the memory increment of the Aggregator module. */
//#define SMARTREST_AGGREGATOR_MEMORY_INCREMENT  25 

/* Define the fixed array size of a ComposedRecord instance. This disables
   dynamic memory management. */
#define SMARTREST_COMPOSED_FIXED_SIZE 10

/* Define the initial capacity of a ComposedRecord instance. */
//#define SMARTREST_COMPOSED_INITIAL_CAPACITY  10 

/* Define the memory increment of a ComposedRecord instance. */
//#define SMARTREST_COMPOSED_MEMORY_INCREMENT  5 

/* Define, whether a ParsedRecord instance shall use dynamic allocation. */
//#define SMARTREST_PARSED_DYNAMIC_ALLOC  1 

/* Define the fixed array size of a ParsedRecord instance. */
#define SMARTREST_PARSED_FIXED_SIZE  10

/* Define the buffer size of the Parser module. */
#define SMARTREST_PARSER_BUFFER_SIZE  81 

#endif