Gammu internals  1.38.0
gammu-limits.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_limits_h
8 #define __gammu_limits_h
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
24 #define GSM_MAX_MANUFACTURER_LENGTH 50
25 
31 #define GSM_MAX_MODEL_LENGTH 50
32 
39 #define GSM_MAX_VERSION_LENGTH 200
40 
46 #define GSM_MAX_VERSION_DATE_LENGTH 50
47 
53 #define GSM_MAX_IMEI_LENGTH 35
54 
61 #define GSM_MAX_INFO_LENGTH MAX(MAX(MAX(GSM_MAX_VERSION_LENGTH, \
62  GSM_MAX_IMEI_LENGTH), GSM_MAX_MODEL_LENGTH), \
63  GSM_MAX_MANUFACTURER_LENGTH)
64 
70 #define GSM_PHONE_MAXSMSINFOLDER 100000
71 
77 #define GSM_MAX_NUMBER_LENGTH 200
78 
84 #define GSM_MAXCALENDARTODONOTES 1000
85 
91 #define GSM_PHONEBOOK_TEXT_LENGTH 200
92 
98 #define GSM_PHONEBOOK_ENTRIES 40
99 
105 #define GSM_CALENDAR_ENTRIES 16
106 
112 #define GSM_MAX_CALENDAR_TEXT_LENGTH 4096
113 
119 #define GSM_MAX_NOTE_TEXT_LENGTH 4096
120 
126 #define GSM_TODO_ENTRIES 16
127 
133 #define GSM_MAX_TODO_TEXT_LENGTH 160
134 
138 #define GSM_MAX_SMS_NAME_LENGTH 200
139 
145 #define GSM_SMS_OTHER_NUMBERS 5
146 
150 #define GSM_MAX_SMS_FOLDERS 50
151 
155 #define GSM_MAX_SMS_FOLDER_NAME_LEN 100
156 
162 #define GSM_MAX_MULTI_SMS 50
163 
169 #define GSM_MAX_UDH_LENGTH 140
170 
176 #define GSM_MAX_SMS_LENGTH 650
177 
183 #define GSM_MAX_SMS_CHARS_LENGTH 160
184 
190 #define GSM_MAX_8BIT_SMS_LENGTH 140
191 
197 #define GSM_MAX_MMS_FOLDERS 10
198 
204 #define GSM_MAX_MMS_FOLDER_NAME_LEN 20
205 
211 #define GSM_MAX_MULTI_MMS 20
212 
218 #define GSM_MAX_SMSC_NAME_LENGTH 50
219 
225 #define GSM_MAX_RINGTONE_NOTES 255
226 
232 #define GSM_MAX_RINGTONE_NAME_LENGTH 30
233 
239 #define GSM_MAX_FMSTATION_LENGTH 30
240 
246 #define GSM_MAX_FM_STATION 30
247 
253 #define GSM_SECURITY_CODE_LEN 15
254 
260 #define GSM_MAX_CATEGORY_NAME_LENGTH 60
261 
267 #define GSM_BITMAP_SIZE (65+7)/8*96
268 
274 #define GSM_BITMAP_TEXT_LENGTH 128
275 
281 #define GSM_MAX_MULTI_BITMAP 6
282 
288 #define GSM_MAX_FILENAME_LENGTH 256
289 
295 #define GSM_MAX_FILENAME_ID_LENGTH 4096
296 
302 #define GSM_MAX_PHONE_FEATURES 20
303 
309 #define GSM_MAX_USSD_LENGTH 999
310 
316 #define GSM_MAX_GPRS_AP_NAME_LENGTH 149
317 
323 #define GSM_MAX_GPRS_AP_URL_LENGTH 249
324 
330 #define GSM_MAX_CALL_DIVERTS 20
331 
332 
333 #ifdef __cplusplus
334 }
335 #endif
336 #endif
337 
338 /* Editor configuration
339  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
340  */