Gammu internals  1.38.0
Limits

Macros

#define GSM_MAX_MANUFACTURER_LENGTH   50
 
#define GSM_MAX_MODEL_LENGTH   50
 
#define GSM_MAX_VERSION_LENGTH   200
 
#define GSM_MAX_VERSION_DATE_LENGTH   50
 
#define GSM_MAX_IMEI_LENGTH   35
 
#define GSM_MAX_INFO_LENGTH
 
#define GSM_PHONE_MAXSMSINFOLDER   100000
 
#define GSM_MAX_NUMBER_LENGTH   200
 
#define GSM_MAXCALENDARTODONOTES   1000
 
#define GSM_PHONEBOOK_TEXT_LENGTH   200
 
#define GSM_PHONEBOOK_ENTRIES   40
 
#define GSM_CALENDAR_ENTRIES   16
 
#define GSM_MAX_CALENDAR_TEXT_LENGTH   4096
 
#define GSM_MAX_NOTE_TEXT_LENGTH   4096
 
#define GSM_TODO_ENTRIES   16
 
#define GSM_MAX_TODO_TEXT_LENGTH   160
 
#define GSM_SMS_OTHER_NUMBERS   5
 
#define GSM_MAX_MULTI_SMS   50
 
#define GSM_MAX_UDH_LENGTH   140
 
#define GSM_MAX_SMS_LENGTH   650
 
#define GSM_MAX_SMS_CHARS_LENGTH   160
 
#define GSM_MAX_8BIT_SMS_LENGTH   140
 
#define GSM_MAX_MMS_FOLDERS   10
 
#define GSM_MAX_MMS_FOLDER_NAME_LEN   20
 
#define GSM_MAX_MULTI_MMS   20
 
#define GSM_MAX_SMSC_NAME_LENGTH   50
 
#define GSM_MAX_RINGTONE_NOTES   255
 
#define GSM_MAX_RINGTONE_NAME_LENGTH   30
 
#define GSM_MAX_FMSTATION_LENGTH   30
 
#define GSM_MAX_FM_STATION   30
 
#define GSM_SECURITY_CODE_LEN   15
 
#define GSM_MAX_CATEGORY_NAME_LENGTH   60
 
#define GSM_BITMAP_SIZE   (65+7)/8*96
 
#define GSM_BITMAP_TEXT_LENGTH   128
 
#define GSM_MAX_MULTI_BITMAP   6
 
#define GSM_MAX_FILENAME_LENGTH   256
 
#define GSM_MAX_FILENAME_ID_LENGTH   4096
 
#define GSM_MAX_PHONE_FEATURES   20
 
#define GSM_MAX_USSD_LENGTH   999
 
#define GSM_MAX_GPRS_AP_NAME_LENGTH   149
 
#define GSM_MAX_GPRS_AP_URL_LENGTH   249
 
#define GSM_MAX_CALL_DIVERTS   20
 

Detailed Description

Limits definitions.

Macro Definition Documentation

§ GSM_BITMAP_SIZE

#define GSM_BITMAP_SIZE   (65+7)/8*96

Maximal size of bitmap.

Definition at line 267 of file gammu-limits.h.

Referenced by savensl().

§ GSM_BITMAP_TEXT_LENGTH

#define GSM_BITMAP_TEXT_LENGTH   128

Maximal length of bitmap text.

Definition at line 274 of file gammu-limits.h.

Referenced by GSM_ReadBitmapFile().

§ GSM_CALENDAR_ENTRIES

#define GSM_CALENDAR_ENTRIES   16

Maximal number of calendar entries.

Definition at line 105 of file gammu-limits.h.

§ GSM_MAX_8BIT_SMS_LENGTH

#define GSM_MAX_8BIT_SMS_LENGTH   140

Maximal length of 8-bit text in SMS.

Definition at line 190 of file gammu-limits.h.

Referenced by GSM_EncodeMultiPartSMS(), GSM_EncodeSMSFrameText(), and GSM_Find_Free_Used_SMS2().

§ GSM_MAX_CALENDAR_TEXT_LENGTH

#define GSM_MAX_CALENDAR_TEXT_LENGTH   4096

Maximal length of text in calendar.

Definition at line 112 of file gammu-limits.h.

§ GSM_MAX_CALL_DIVERTS

#define GSM_MAX_CALL_DIVERTS   20

Maximal number of call diverts.

Definition at line 330 of file gammu-limits.h.

§ GSM_MAX_CATEGORY_NAME_LENGTH

#define GSM_MAX_CATEGORY_NAME_LENGTH   60

Maximal length of category name.

Definition at line 260 of file gammu-limits.h.

§ GSM_MAX_FILENAME_ID_LENGTH

#define GSM_MAX_FILENAME_ID_LENGTH   4096

Maximal length of full file name (including path).

Definition at line 295 of file gammu-limits.h.

§ GSM_MAX_FILENAME_LENGTH

#define GSM_MAX_FILENAME_LENGTH   256

Maximal length of file name.

Definition at line 288 of file gammu-limits.h.

§ GSM_MAX_FM_STATION

#define GSM_MAX_FM_STATION   30

Maximal count of FM stations.

Definition at line 246 of file gammu-limits.h.

§ GSM_MAX_FMSTATION_LENGTH

#define GSM_MAX_FMSTATION_LENGTH   30

Maximal length of FM station name.

Definition at line 239 of file gammu-limits.h.

§ GSM_MAX_GPRS_AP_NAME_LENGTH

#define GSM_MAX_GPRS_AP_NAME_LENGTH   149

Maximal length of GPRS access point URL.

Definition at line 316 of file gammu-limits.h.

§ GSM_MAX_GPRS_AP_URL_LENGTH

#define GSM_MAX_GPRS_AP_URL_LENGTH   249

Maximal length of GPRS access point URL.

Definition at line 323 of file gammu-limits.h.

§ GSM_MAX_IMEI_LENGTH

#define GSM_MAX_IMEI_LENGTH   35

Maximal length of IMEI.

Definition at line 53 of file gammu-limits.h.

§ GSM_MAX_INFO_LENGTH

#define GSM_MAX_INFO_LENGTH
Value:
#define MAX(a, b)
Definition: gammu-misc.h:68
#define GSM_MAX_VERSION_LENGTH
Definition: gammu-limits.h:39
#define GSM_MAX_MODEL_LENGTH
Definition: gammu-limits.h:31
#define GSM_MAX_IMEI_LENGTH
Definition: gammu-limits.h:53
#define GSM_MAX_MANUFACTURER_LENGTH
Definition: gammu-limits.h:24

Maximal length of various phone information. Just a shorcut for functions doing whole identification and use one buffer.

Definition at line 61 of file gammu-limits.h.

§ GSM_MAX_MANUFACTURER_LENGTH

#define GSM_MAX_MANUFACTURER_LENGTH   50

Maximal length of manufacturer name.

Definition at line 24 of file gammu-limits.h.

§ GSM_MAX_MMS_FOLDER_NAME_LEN

#define GSM_MAX_MMS_FOLDER_NAME_LEN   20

Maximal length of MMS folder name.

Definition at line 204 of file gammu-limits.h.

§ GSM_MAX_MMS_FOLDERS

#define GSM_MAX_MMS_FOLDERS   10

Number of possible MMS folders.

Definition at line 197 of file gammu-limits.h.

§ GSM_MAX_MODEL_LENGTH

#define GSM_MAX_MODEL_LENGTH   50

Maximal length of model name.

Definition at line 31 of file gammu-limits.h.

§ GSM_MAX_MULTI_BITMAP

#define GSM_MAX_MULTI_BITMAP   6

Maximal count of bitmaps in multi bitmap.

Definition at line 281 of file gammu-limits.h.

Referenced by loadnlm().

§ GSM_MAX_MULTI_MMS

#define GSM_MAX_MULTI_MMS   20

Maximal count of MMSes in multi MMS.

Definition at line 211 of file gammu-limits.h.

Referenced by GSM_ClearMMSMultiPart().

§ GSM_MAX_MULTI_SMS

§ GSM_MAX_NOTE_TEXT_LENGTH

#define GSM_MAX_NOTE_TEXT_LENGTH   4096

Maximal length of text in calendar.

Definition at line 119 of file gammu-limits.h.

§ GSM_MAX_NUMBER_LENGTH

#define GSM_MAX_NUMBER_LENGTH   200

Maximal length of phone number.

Definition at line 77 of file gammu-limits.h.

Referenced by GSM_UnpackSemiOctetNumber().

§ GSM_MAX_PHONE_FEATURES

#define GSM_MAX_PHONE_FEATURES   20

Maximal number of features per phone.

Definition at line 302 of file gammu-limits.h.

Referenced by GetModelData(), GSM_AddPhoneFeature(), and GSM_SetFeatureString().

§ GSM_MAX_RINGTONE_NAME_LENGTH

#define GSM_MAX_RINGTONE_NAME_LENGTH   30

Maximal length of ringtone name.

Definition at line 232 of file gammu-limits.h.

Referenced by GSM_ReadRingtoneFile().

§ GSM_MAX_RINGTONE_NOTES

#define GSM_MAX_RINGTONE_NOTES   255

Maximal count of notes in ringtone.

Definition at line 225 of file gammu-limits.h.

Referenced by GSM_DecodeNokiaRTTLRingtone(), and loadrttl().

§ GSM_MAX_SMS_CHARS_LENGTH

#define GSM_MAX_SMS_CHARS_LENGTH   160

Maximal length of text in standard 7-bit SMS.

Definition at line 183 of file gammu-limits.h.

Referenced by GSM_EncodeMultiPartSMS().

§ GSM_MAX_SMS_LENGTH

#define GSM_MAX_SMS_LENGTH   650

Maximal length of text in SMS.

Definition at line 176 of file gammu-limits.h.

Referenced by GSM_DecodeMMSIndication(), GSM_DecodeNokiaProfile(), GSM_EncodeEMSMultiPartSMS(), and GSM_EncodeMultiPartSMS().

§ GSM_MAX_SMSC_NAME_LENGTH

#define GSM_MAX_SMSC_NAME_LENGTH   50

Maximal length of SMSC name.

Definition at line 218 of file gammu-limits.h.

§ GSM_MAX_TODO_TEXT_LENGTH

#define GSM_MAX_TODO_TEXT_LENGTH   160

Maximal length of text in todo.

Definition at line 133 of file gammu-limits.h.

§ GSM_MAX_UDH_LENGTH

#define GSM_MAX_UDH_LENGTH   140

Maximal length of UDH in SMS.

Definition at line 169 of file gammu-limits.h.

§ GSM_MAX_USSD_LENGTH

#define GSM_MAX_USSD_LENGTH   999

Maximal length of USSD text.

Definition at line 309 of file gammu-limits.h.

Referenced by DUMMY_DialService().

§ GSM_MAX_VERSION_DATE_LENGTH

#define GSM_MAX_VERSION_DATE_LENGTH   50

Maximal length of version date.

Definition at line 46 of file gammu-limits.h.

§ GSM_MAX_VERSION_LENGTH

#define GSM_MAX_VERSION_LENGTH   200

Maximal length of version text. This needs to hold all information we receive, so buffer has to be big enough.

Definition at line 39 of file gammu-limits.h.

§ GSM_MAXCALENDARTODONOTES

#define GSM_MAXCALENDARTODONOTES   1000

Maximal count of todo and calendar notes.

Definition at line 84 of file gammu-limits.h.

Referenced by NOKIA_EncodeDateTime().

§ GSM_PHONE_MAXSMSINFOLDER

#define GSM_PHONE_MAXSMSINFOLDER   100000

Maximal count of SMS messages in folder.

Definition at line 70 of file gammu-limits.h.

§ GSM_PHONEBOOK_ENTRIES

#define GSM_PHONEBOOK_ENTRIES   40

Maximal count of phonebook notes.

Definition at line 98 of file gammu-limits.h.

Referenced by N71_65_DecodePhonebook().

§ GSM_PHONEBOOK_TEXT_LENGTH

#define GSM_PHONEBOOK_TEXT_LENGTH   200

Maximal length of text in phonebook.

Definition at line 91 of file gammu-limits.h.

Referenced by GSM_PhonebookGetEntryName(), N71_65_DecodePhonebook(), and N71_65_PB_CopyString().

§ GSM_SECURITY_CODE_LEN

#define GSM_SECURITY_CODE_LEN   15

Maximal length of security code.

Definition at line 253 of file gammu-limits.h.

§ GSM_SMS_OTHER_NUMBERS

#define GSM_SMS_OTHER_NUMBERS   5

Maximal count of other numbes in SMS.

Definition at line 145 of file gammu-limits.h.

Referenced by GSM_LinkSMS().

§ GSM_TODO_ENTRIES

#define GSM_TODO_ENTRIES   16

Maximal number of todo entries.

Definition at line 126 of file gammu-limits.h.