mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.

Dependents:   MbedSmartRestMain MbedSmartRestMain

Committer:
Cumulocity
Date:
Thu Jul 03 20:38:04 2014 +0200
Revision:
0:099f76422485
Child:
5:2b74510900da
Updated from revision 0413a0179eb6

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Cumulocity 0:099f76422485 1 #ifndef _SMARTREST_CONFIG_H
Cumulocity 0:099f76422485 2 #define _SMARTREST_CONFIG_H 1
Cumulocity 0:099f76422485 3
Cumulocity 0:099f76422485 4 /* Define the fixed array size of the Aggregator module. This disables dynamic
Cumulocity 0:099f76422485 5 memory management. */
Cumulocity 0:099f76422485 6 #define SMARTREST_AGGREGATOR_FIXED_SIZE 100
Cumulocity 0:099f76422485 7
Cumulocity 0:099f76422485 8 /* Define the initial capacity of the Aggregator module. */
Cumulocity 0:099f76422485 9 //#define SMARTREST_AGGREGATOR_INITIAL_CAPACITY 50
Cumulocity 0:099f76422485 10
Cumulocity 0:099f76422485 11 /* Define the memory increment of the Aggregator module. */
Cumulocity 0:099f76422485 12 //#define SMARTREST_AGGREGATOR_MEMORY_INCREMENT 25
Cumulocity 0:099f76422485 13
Cumulocity 0:099f76422485 14 /* Define the fixed array size of a ComposedRecord instance. This disables
Cumulocity 0:099f76422485 15 dynamic memory management. */
Cumulocity 0:099f76422485 16 #define SMARTREST_COMPOSED_FIXED_SIZE 10
Cumulocity 0:099f76422485 17
Cumulocity 0:099f76422485 18 /* Define the initial capacity of a ComposedRecord instance. */
Cumulocity 0:099f76422485 19 //#define SMARTREST_COMPOSED_INITIAL_CAPACITY 10
Cumulocity 0:099f76422485 20
Cumulocity 0:099f76422485 21 /* Define the memory increment of a ComposedRecord instance. */
Cumulocity 0:099f76422485 22 //#define SMARTREST_COMPOSED_MEMORY_INCREMENT 5
Cumulocity 0:099f76422485 23
Cumulocity 0:099f76422485 24 /* Define, whether a ParsedRecord instance shall use dynamic allocation. */
Cumulocity 0:099f76422485 25 //#define SMARTREST_PARSED_DYNAMIC_ALLOC 1
Cumulocity 0:099f76422485 26
Cumulocity 0:099f76422485 27 /* Define the fixed array size of a ParsedRecord instance. */
Cumulocity 0:099f76422485 28 #define SMARTREST_PARSED_FIXED_SIZE 10
Cumulocity 0:099f76422485 29
Cumulocity 0:099f76422485 30 /* Define the buffer size of the Parser module. */
Cumulocity 0:099f76422485 31 #define SMARTREST_PARSER_BUFFER_SIZE 81
Cumulocity 0:099f76422485 32
Cumulocity 0:099f76422485 33 #endif