7 #ifndef __gammu_limits_h
8 #define __gammu_limits_h
11 * \defgroup Limits Limits
16 * Maximal length of manufacturer name.
20 #define GSM_MAX_MANUFACTURER_LENGTH 50
23 * Maximal length of model name.
27 #define GSM_MAX_MODEL_LENGTH 50
30 * Maximal length of version text. This needs to hold all information we
31 * receive, so buffer has to be big enough.
35 #define GSM_MAX_VERSION_LENGTH 200
38 * Maximal length of version date.
42 #define GSM_MAX_VERSION_DATE_LENGTH 50
45 * Maximal length of IMEI.
49 #define GSM_MAX_IMEI_LENGTH 35
52 * Maximal length of various phone information. Just a shorcut for
53 * functions doing whole identification and use one buffer.
57 #define GSM_MAX_INFO_LENGTH MAX(MAX(MAX(GSM_MAX_VERSION_LENGTH, \
58 GSM_MAX_IMEI_LENGTH), GSM_MAX_MODEL_LENGTH), \
59 GSM_MAX_MANUFACTURER_LENGTH)
62 * Maximal count of SMS messages in folder.
66 #define GSM_PHONE_MAXSMSINFOLDER 100000
69 * Maximal length of phone number.
73 #define GSM_MAX_NUMBER_LENGTH 200
76 * Maximal count of todo and calendar notes.
80 #define GSM_MAXCALENDARTODONOTES 1000
83 * Maximal length of text in phonebook.
87 #define GSM_PHONEBOOK_TEXT_LENGTH 200
90 * Maximal count of phonebook notes.
94 #define GSM_PHONEBOOK_ENTRIES 40
97 * Maximal number of calendar entries.
101 #define GSM_CALENDAR_ENTRIES 16
104 * Maximal length of text in calendar.
108 #define GSM_MAX_CALENDAR_TEXT_LENGTH 4096
111 * Maximal length of text in calendar.
115 #define GSM_MAX_NOTE_TEXT_LENGTH 4096
118 * Maximal number of todo entries.
122 #define GSM_TODO_ENTRIES 16
125 * Maximal length of text in todo.
129 #define GSM_MAX_TODO_TEXT_LENGTH 160
132 * Maximal length of SMS name.
134 #define GSM_MAX_SMS_NAME_LENGTH 200
137 * Maximal count of other numbes in SMS.
141 #define GSM_SMS_OTHER_NUMBERS 5
144 * Number of possible SMS folders.
146 #define GSM_MAX_SMS_FOLDERS 50
149 * Maximal length of SMS folder name.
151 #define GSM_MAX_SMS_FOLDER_NAME_LEN 100
154 * Maximal count of SMSes in multi SMS.
158 #define GSM_MAX_MULTI_SMS 50
161 * Maximal length of UDH in SMS.
165 #define GSM_MAX_UDH_LENGTH 140
168 * Maximal length of text in SMS.
172 #define GSM_MAX_SMS_LENGTH 650
175 * Maximal length of text in standard 7-bit SMS.
179 #define GSM_MAX_SMS_CHARS_LENGTH 160
182 * Maximal length of 8-bit text in SMS.
186 #define GSM_MAX_8BIT_SMS_LENGTH 140
189 * Number of possible MMS folders.
193 #define GSM_MAX_MMS_FOLDERS 10
196 * Maximal length of MMS folder name.
200 #define GSM_MAX_MMS_FOLDER_NAME_LEN 20
203 * Maximal count of MMSes in multi MMS.
207 #define GSM_MAX_MULTI_MMS 20
210 * Maximal length of SMSC name.
214 #define GSM_MAX_SMSC_NAME_LENGTH 50
217 * Maximal count of notes in ringtone.
221 #define GSM_MAX_RINGTONE_NOTES 255
224 * Maximal length of ringtone name.
228 #define GSM_MAX_RINGTONE_NAME_LENGTH 30
231 * Maximal length of FM station name.
235 #define GSM_MAX_FMSTATION_LENGTH 30
238 * Maximal count of FM stations.
242 #define GSM_MAX_FM_STATION 30
245 * Maximal length of security code.
249 #define GSM_SECURITY_CODE_LEN 15
252 * Maximal length of category name.
256 #define GSM_MAX_CATEGORY_NAME_LENGTH 60
259 * Maximal size of bitmap.
263 #define GSM_BITMAP_SIZE (65+7)/8*96
266 * Maximal length of bitmap text.
270 #define GSM_BITMAP_TEXT_LENGTH 128
273 * Maximal count of bitmaps in multi bitmap.
277 #define GSM_MAX_MULTI_BITMAP 6
280 * Maximal length of file name.
284 #define GSM_MAX_FILENAME_LENGTH 256
287 * Maximal length of full file name (including path).
291 #define GSM_MAX_FILENAME_ID_LENGTH 4096
294 * Maximal number of features per phone.
298 #define GSM_MAX_PHONE_FEATURES 20
301 * Maximal length of USSD text.
305 #define GSM_MAX_USSD_LENGTH 999
308 * Maximal length of GPRS access point URL.
312 #define GSM_MAX_GPRS_AP_NAME_LENGTH 149
315 * Maximal length of GPRS access point URL.
319 #define GSM_MAX_GPRS_AP_URL_LENGTH 249
324 /* Editor configuration
325 * vim: noexpandtab sw=8 ts=8 sts=8 tw=72: