mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
config.h
00001 #ifndef _SMARTREST_CONFIG_H 00002 #define _SMARTREST_CONFIG_H 1 00003 00004 /* Define the fixed array size of the Aggregator module. This disables dynamic 00005 memory management. */ 00006 #define SMARTREST_AGGREGATOR_FIXED_SIZE 100 00007 00008 /* Define the initial capacity of the Aggregator module. */ 00009 //#define SMARTREST_AGGREGATOR_INITIAL_CAPACITY 50 00010 00011 /* Define the memory increment of the Aggregator module. */ 00012 //#define SMARTREST_AGGREGATOR_MEMORY_INCREMENT 25 00013 00014 /* Define the fixed array size of a ComposedRecord instance. This disables 00015 dynamic memory management. */ 00016 #define SMARTREST_COMPOSED_FIXED_SIZE 10 00017 00018 /* Define the initial capacity of a ComposedRecord instance. */ 00019 //#define SMARTREST_COMPOSED_INITIAL_CAPACITY 10 00020 00021 /* Define the memory increment of a ComposedRecord instance. */ 00022 //#define SMARTREST_COMPOSED_MEMORY_INCREMENT 5 00023 00024 /* Define, whether a ParsedRecord instance shall use dynamic allocation. */ 00025 //#define SMARTREST_PARSED_DYNAMIC_ALLOC 1 00026 00027 /* Define the fixed array size of a ParsedRecord instance. */ 00028 #define SMARTREST_PARSED_FIXED_SIZE 10 00029 00030 /* Define the buffer size of the Parser module. */ 00031 #define SMARTREST_PARSER_BUFFER_SIZE 81 00032 00033 /* Defines whether smartrest is transactional instead of state-based. */ 00034 //#define SMARTREST_TRANSACTIONAL 1 00035 00036 #endif
Generated on Tue Jul 12 2022 15:21:50 by 1.7.2