mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
config.h@13:aba98ad2ac1b, 2014-11-15 (annotated)
- Committer:
- Cumulocity
- Date:
- Sat Nov 15 12:21:41 2014 +0100
- Revision:
- 13:aba98ad2ac1b
- Parent:
- 5:2b74510900da
Updated from revision 0b898f0efc6d
Who changed what in which revision?
User | Revision | Line number | New 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 | 5:2b74510900da | 33 | /* Defines whether smartrest is transactional instead of state-based. */ |
Cumulocity | 5:2b74510900da | 34 | //#define SMARTREST_TRANSACTIONAL 1 |
Cumulocity | 5:2b74510900da | 35 | |
Cumulocity | 0:099f76422485 | 36 | #endif |