Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

config.h

Committer:
xinlei
Date:
2015-08-10
Revision:
26:9c36af176d91
Parent:
5:2b74510900da

File content as of revision 26:9c36af176d91:

#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 

/* Defines whether smartrest is transactional instead of state-based. */
//#define SMARTREST_TRANSACTIONAL  1 

#endif