Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: CommonDefinitions.h
- Revision:
- 190:25d4e4cada40
- Parent:
- 189:ffd1f78af9d7
- Child:
- 191:c83c1c5010ed
diff -r ffd1f78af9d7 -r 25d4e4cada40 CommonDefinitions.h --- a/CommonDefinitions.h Fri Sep 19 22:01:35 2014 +0000 +++ b/CommonDefinitions.h Sun Sep 21 07:37:31 2014 +0000 @@ -19,8 +19,11 @@ #ifndef _COMMON_DEFINITIONS_H_ #define _COMMON_DEFINITIONS_H_ +// maximum memory buffer chunk (including HTTPS requests) +#define MAX_BUFFER_LENGTH 256 + // Error Handler Log Message Length -#define MAX_LOG_MESSAGE 256 // maximum size of a logging message +#define MAX_LOG_MESSAGE MAX_BUFFER_LENGTH // maximum size of a logging message #define TEMP_BUFFER_LEN 128 // working/temp buffer length // Resource Configuration