mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
config.h
- Committer:
- Cumulocity
- Date:
- 2014-07-10
- Revision:
- 5:2b74510900da
- Parent:
- 0:099f76422485
File content as of revision 5:2b74510900da:
#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