mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: config.h
- Revision:
- 0:099f76422485
- Child:
- 5:2b74510900da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h Thu Jul 03 20:38:04 2014 +0200 @@ -0,0 +1,33 @@ +#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