/* config.h. Generated by configure. */ #ifndef _config_h_ #define _config_h_ /* -------------------------- Gammu specific ---------------------------- */ /* Version of package */ #define VERSION "0.97.0" #define VERSION_WIN "0,97,0,0" #ifndef _MSC_VER /* Define if want DEBUG info */ /* #undef DEBUG */ #endif /* #undef ENABLE_LGPL */ /* ---------------------- Connections ---------------------------------- */ /* MBUS2 over cable */ #define GSM_ENABLE_MBUS2 1 /* FBUS2 over cable */ #define GSM_ENABLE_FBUS2 1 /* FBUS2 to use with DLR3 cable (init done using AT commands) */ #define GSM_ENABLE_FBUS2DLR3 1 /* FBUS2 to use with DKU5 cable (init done using AT commands) */ #define GSM_ENABLE_FBUS2DKU5 1 /* FBUS2 to use with cable with PL2303 chip (init done using AT commands) */ #define GSM_ENABLE_FBUS2PL2303 1 /* FBUS2 to use with bluetooth legacy device (init done using AT commands) */ #define GSM_ENABLE_FBUS2BLUE 1 /* FBUS2 to use with direct infrared device */ #define GSM_ENABLE_FBUS2IRDA 1 /* PHONET FBUS to use with bluetooth legacy device */ #define GSM_ENABLE_PHONETBLUE 1 /* Symbian with m-router (TCPIP based) to use with bluetooth legacy device */ #define GSM_ENABLE_MROUTERBLUE 1 /* AT protocol */ #define GSM_ENABLE_AT 1 /* Alcatel protocol */ #define GSM_ENABLE_ALCABUS 1 /* Infrared. PHONET FBUS */ #define GSM_ENABLE_IRDAPHONET 1 /* Infrared. AT commands */ #define GSM_ENABLE_IRDAAT 1 /* Infrared. OBEX */ #define GSM_ENABLE_IRDAOBEX 1 #ifdef WIN32 # define GSM_ENABLE_BLUEFBUS2 1 # define GSM_ENABLE_BLUEPHONET 1 # define GSM_ENABLE_BLUEAT 1 # define GSM_ENABLE_BLUEOBEX 1 #else /* Bluetooth stack (like Bluez). FBUS2 (init done using AT commands) */ //LR# define GSM_ENABLE_BLUEFBUS2 1 /* Bluetooth stack (like Bluez). PHONET FBUS */ //LR# define GSM_ENABLE_BLUEPHONET 1 /* Blueooth stack (like Bluez). AT commands */ //LR# define GSM_ENABLE_BLUEAT 1 /* Blueooth stack (like Bluez). OBEX */ //LR# define GSM_ENABLE_BLUEOBEX 1 #endif /* --------------------------- Phone modules (specific) ----------------- */ /* n3320.c models */ #define GSM_ENABLE_NOKIA3320 1 /* n6110.c models */ #define GSM_ENABLE_NOKIA6110 1 /* n7110.c models */ #define GSM_ENABLE_NOKIA7110 1 /* n9210.c models */ #define GSM_ENABLE_NOKIA9210 1 /* It allows to show incoming call and SMS info for 7110 family phones. * By default commented: you can have some problems, when using it. * Example: with my 6210 after using it info about incoming sms is shown much * earlier than sms in phone and phone restart (once and random) later after * connection. Seems phone firmware isn't too good here */ /* Show incoming Data for 7110/9210 */ /* #undef GSM_ENABLE_N71_92INCOMINGINFO */ /* n6510.c (DCT4) models */ #define GSM_ENABLE_NOKIA6510 1 /* Force using 6210 frames for calendar. Required by some older DCT4 */ /* #undef GSM_FORCE_DCT4_CALENDAR_6210 */ /* n3650.c (DCT4 with Symbian) models */ #define GSM_ENABLE_NOKIA3650 1 /* AT generic models */ #define GSM_ENABLE_ATGEN 1 /* Alcatel BE5 */ #define GSM_ENABLE_ALCATEL 1 /* OBEX generic models */ #define GSM_ENABLE_OBEXGEN 1 /* Symbian with m-router generic models */ #define GSM_ENABLE_MROUTERGEN 1 /* ---------------------- General settings -------------------------------- */ /* By default commented: some people reported me (for example, with 6210 * and 3210), that their phones doesn't answer at all sometimes or answer * with (too) long delay. Possible reason: firmware in phone is too slow * I didn't have such problems personally with phone and PC with Celeron 800 * Please also note, that CB function was always TO CHECK in MyGnokii/Gnokii * too. */ /* Enables cell broadcast */ /* #undef GSM_ENABLE_CELLBROADCAST */ /* If you want backup/restore stuff. Some people wanted it - they required * smalled library made from Gammu and didn't require it. Please note, * that backup/restore stuff can be easy separated from other things. */ #define GSM_ENABLE_BACKUP 1 /* Bu default commented: some parts of source are not ready or not tested * at all (or aren't good tested). Uncomment, if want them */ //#define DEVELOP /* By default disabled. It allows to making short beep after such things * like changing logo in phone (like in Logo Manager) */ //#define GSM_ENABLE_BEEP /* ---------------------- C language specific --------------------------- */ #ifndef WIN32 /* are the scandir functions available */ # define HAVE_DIRENT_H 1 # define HAVE_SCANDIR 1 # define HAVE_ALPHASORT 1 # define HAVE_PTHREAD 1 # define HAVE_SYS_IOCTL_H 1 //LR # define HAVE_MYSQL_MYSQL_H 1 #endif #define HAVE_ISWSPACE 1 #define HAVE_TOWLOWER 1 #ifndef WIN32 /* Will be used Bluez BT stack ? */ // LR bluetooth disabled //# define GSM_ENABLE_BLUEZ 1 /* Will be used Affix BT stack ? */ /* # undef GSM_ENABLE_AFFIX */ #endif /* Uncomment, if you want searching RF channel during each BT connection */ /* It can make connecting longer or connection less stable */ /* With MS VC and MS BT stack required irprops.lib from MS Platform SDK to compile */ #ifndef WIN32 // LR bluetooth disabled //# define BLUETOOTH_RF_SEARCHING 1 #else //# define BLUETOOTH_RF_SEARCHING 1 #endif #endif