Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: xively-jumpstart-demo
xi_consts.h
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved. 00002 // This is part of Xively C library, it is under the BSD 3-Clause license. 00003 00004 /** 00005 * \file xi_consts.h 00006 * \author Olgierd Humenczuk 00007 * \brief Constants that user may wish to override based on their needs 00008 * 00009 * \warning The meaning of each of these constants below is undocumented, 00010 * so the user actually goes to read the source code and figure 00011 * out what exactly they are doing. 00012 */ 00013 00014 #ifndef __XI_CONSTST_H__ 00015 #define __XI_CONSTST_H__ 00016 00017 #ifndef XI_HTTP_MAX_HEADERS 00018 #define XI_HTTP_MAX_HEADERS 16 00019 #endif 00020 00021 #ifndef XI_HTTP_STATUS_STRING_SIZE 00022 #define XI_HTTP_STATUS_STRING_SIZE 32 00023 #endif 00024 00025 #ifndef XI_HTTP_HEADER_NAME_MAX_SIZE 00026 #define XI_HTTP_HEADER_NAME_MAX_SIZE 64 00027 #endif 00028 00029 #ifndef XI_HTTP_HEADER_VALUE_MAX_SIZE 00030 #define XI_HTTP_HEADER_VALUE_MAX_SIZE 64 00031 #endif 00032 00033 #ifndef XI_HTTP_MAX_CONTENT_SIZE 00034 #define XI_HTTP_MAX_CONTENT_SIZE 512 00035 #endif 00036 00037 #ifndef XI_MAX_DATASTREAMS 00038 #define XI_MAX_DATASTREAMS 16 00039 #endif 00040 00041 #ifndef XI_MAX_DATAPOINTS 00042 #define XI_MAX_DATAPOINTS 16 00043 #endif 00044 00045 #ifndef XI_MAX_DATASTREAM_NAME 00046 #define XI_MAX_DATASTREAM_NAME 16 00047 #endif 00048 00049 #ifndef XI_VALUE_STRING_MAX_SIZE 00050 #define XI_VALUE_STRING_MAX_SIZE 32 00051 #endif 00052 00053 #ifndef XI_PRINTF_BUFFER_SIZE 00054 #define XI_PRINTF_BUFFER_SIZE 512 00055 #endif 00056 00057 #ifndef XI_QUERY_BUFFER_SIZE 00058 #define XI_QUERY_BUFFER_SIZE 512 00059 #endif 00060 00061 #ifndef XI_ID_BUFFER_SIZE 00062 #define XI_ID_BUFFER_SIZE 256 00063 #endif 00064 00065 #ifndef XI_CONTENT_BUFFER_SIZE 00066 #define XI_CONTENT_BUFFER_SIZE 256 00067 #endif 00068 00069 #ifndef XI_CSV_BUFFER_SIZE 00070 #define XI_CSV_BUFFER_SIZE 128 00071 #endif 00072 00073 #ifndef XI_HOST 00074 #define XI_HOST "api.xively.com" 00075 #endif 00076 00077 #ifndef XI_PORT 00078 #define XI_PORT 80 00079 #endif 00080 00081 00082 #ifndef XI_USER_AGENT 00083 #define XI_USER_AGENT "libxively/0.1.x" 00084 #endif 00085 00086 #endif // __XI_CONSTST_H__
Generated on Wed Jul 13 2022 17:00:32 by
1.7.2