-rw-r--r-- | gammu/emb/cfg/config.h | 172 |
1 files changed, 172 insertions, 0 deletions
diff --git a/gammu/emb/cfg/config.h b/gammu/emb/cfg/config.h new file mode 100644 index 0000000..96de549 --- a/dev/null +++ b/gammu/emb/cfg/config.h | |||
@@ -0,0 +1,172 @@ | |||
1 | /* config.h. Generated by configure. */ | ||
2 | |||
3 | #ifndef _config_h_ | ||
4 | #define _config_h_ | ||
5 | |||
6 | /* -------------------------- Gammu specific ---------------------------- */ | ||
7 | |||
8 | /* Version of package */ | ||
9 | #define VERSION "0.97.0" | ||
10 | #define VERSION_WIN "0,97,0,0" | ||
11 | |||
12 | #ifndef _MSC_VER | ||
13 | /* Define if want DEBUG info */ | ||
14 | /* #undef DEBUG */ | ||
15 | #endif | ||
16 | |||
17 | /* #undef ENABLE_LGPL */ | ||
18 | |||
19 | /* ---------------------- Connections ---------------------------------- */ | ||
20 | |||
21 | /* MBUS2 over cable */ | ||
22 | #define GSM_ENABLE_MBUS2 1 | ||
23 | |||
24 | /* FBUS2 over cable */ | ||
25 | #define GSM_ENABLE_FBUS2 1 | ||
26 | /* FBUS2 to use with DLR3 cable (init done using AT commands) */ | ||
27 | #define GSM_ENABLE_FBUS2DLR3 1 | ||
28 | /* FBUS2 to use with DKU5 cable (init done using AT commands) */ | ||
29 | #define GSM_ENABLE_FBUS2DKU5 1 | ||
30 | /* FBUS2 to use with cable with PL2303 chip (init done using AT commands) */ | ||
31 | #define GSM_ENABLE_FBUS2PL2303 1 | ||
32 | /* FBUS2 to use with bluetooth legacy device (init done using AT commands) */ | ||
33 | #define GSM_ENABLE_FBUS2BLUE 1 | ||
34 | /* FBUS2 to use with direct infrared device */ | ||
35 | #define GSM_ENABLE_FBUS2IRDA 1 | ||
36 | |||
37 | /* PHONET FBUS to use with bluetooth legacy device */ | ||
38 | #define GSM_ENABLE_PHONETBLUE 1 | ||
39 | |||
40 | /* Symbian with m-router (TCPIP based) to use with bluetooth legacy device */ | ||
41 | #define GSM_ENABLE_MROUTERBLUE 1 | ||
42 | |||
43 | /* AT protocol */ | ||
44 | #define GSM_ENABLE_AT 1 | ||
45 | |||
46 | /* Alcatel protocol */ | ||
47 | #define GSM_ENABLE_ALCABUS 1 | ||
48 | |||
49 | /* Infrared. PHONET FBUS */ | ||
50 | #define GSM_ENABLE_IRDAPHONET 1 | ||
51 | /* Infrared. AT commands */ | ||
52 | #define GSM_ENABLE_IRDAAT 1 | ||
53 | /* Infrared. OBEX */ | ||
54 | #define GSM_ENABLE_IRDAOBEX 1 | ||
55 | |||
56 | #ifdef WIN32 | ||
57 | # define GSM_ENABLE_BLUEFBUS2 1 | ||
58 | # define GSM_ENABLE_BLUEPHONET 1 | ||
59 | # define GSM_ENABLE_BLUEAT 1 | ||
60 | # define GSM_ENABLE_BLUEOBEX 1 | ||
61 | #else | ||
62 | /* Bluetooth stack (like Bluez). FBUS2 (init done using AT commands) */ | ||
63 | # define GSM_ENABLE_BLUEFBUS2 1 | ||
64 | /* Bluetooth stack (like Bluez). PHONET FBUS */ | ||
65 | # define GSM_ENABLE_BLUEPHONET 1 | ||
66 | /* Blueooth stack (like Bluez). AT commands */ | ||
67 | # define GSM_ENABLE_BLUEAT 1 | ||
68 | /* Blueooth stack (like Bluez). OBEX */ | ||
69 | # define GSM_ENABLE_BLUEOBEX 1 | ||
70 | #endif | ||
71 | |||
72 | /* --------------------------- Phone modules (specific) ----------------- */ | ||
73 | |||
74 | /* n3320.c models */ | ||
75 | #define GSM_ENABLE_NOKIA3320 1 | ||
76 | /* n6110.c models */ | ||
77 | #define GSM_ENABLE_NOKIA6110 1 | ||
78 | |||
79 | /* n7110.c models */ | ||
80 | #define GSM_ENABLE_NOKIA7110 1 | ||
81 | /* n9210.c models */ | ||
82 | #define GSM_ENABLE_NOKIA9210 1 | ||
83 | /* It allows to show incoming call and SMS info for 7110 family phones. | ||
84 | * By default commented: you can have some problems, when using it. | ||
85 | * Example: with my 6210 after using it info about incoming sms is shown much | ||
86 | * earlier than sms in phone and phone restart (once and random) later after | ||
87 | * connection. Seems phone firmware isn't too good here | ||
88 | */ | ||
89 | /* Show incoming Data for 7110/9210 */ | ||
90 | /* #undef GSM_ENABLE_N71_92INCOMINGINFO */ | ||
91 | |||
92 | /* n6510.c (DCT4) models */ | ||
93 | #define GSM_ENABLE_NOKIA6510 1 | ||
94 | /* Force using 6210 frames for calendar. Required by some older DCT4 */ | ||
95 | /* #undef GSM_FORCE_DCT4_CALENDAR_6210 */ | ||
96 | |||
97 | /* n3650.c (DCT4 with Symbian) models */ | ||
98 | #define GSM_ENABLE_NOKIA3650 1 | ||
99 | |||
100 | /* AT generic models */ | ||
101 | #define GSM_ENABLE_ATGEN 1 | ||
102 | |||
103 | /* Alcatel BE5 */ | ||
104 | #define GSM_ENABLE_ALCATEL 1 | ||
105 | |||
106 | /* OBEX generic models */ | ||
107 | #define GSM_ENABLE_OBEXGEN 1 | ||
108 | |||
109 | /* Symbian with m-router generic models */ | ||
110 | #define GSM_ENABLE_MROUTERGEN 1 | ||
111 | |||
112 | /* ---------------------- General settings -------------------------------- */ | ||
113 | |||
114 | /* By default commented: some people reported me (for example, with 6210 | ||
115 | * and 3210), that their phones doesn't answer at all sometimes or answer | ||
116 | * with (too) long delay. Possible reason: firmware in phone is too slow | ||
117 | * I didn't have such problems personally with phone and PC with Celeron 800 | ||
118 | * Please also note, that CB function was always TO CHECK in MyGnokii/Gnokii | ||
119 | * too. | ||
120 | */ | ||
121 | /* Enables cell broadcast */ | ||
122 | /* #undef GSM_ENABLE_CELLBROADCAST */ | ||
123 | |||
124 | /* If you want backup/restore stuff. Some people wanted it - they required | ||
125 | * smalled library made from Gammu and didn't require it. Please note, | ||
126 | * that backup/restore stuff can be easy separated from other things. | ||
127 | */ | ||
128 | #define GSM_ENABLE_BACKUP 1 | ||
129 | |||
130 | /* Bu default commented: some parts of source are not ready or not tested | ||
131 | * at all (or aren't good tested). Uncomment, if want them | ||
132 | */ | ||
133 | //#define DEVELOP | ||
134 | |||
135 | /* By default disabled. It allows to making short beep after such things | ||
136 | * like changing logo in phone (like in Logo Manager) | ||
137 | */ | ||
138 | //#define GSM_ENABLE_BEEP | ||
139 | |||
140 | /* ---------------------- C language specific --------------------------- */ | ||
141 | |||
142 | #ifndef WIN32 | ||
143 | /* are the scandir functions available */ | ||
144 | # define HAVE_DIRENT_H 1 | ||
145 | # define HAVE_SCANDIR 1 | ||
146 | # define HAVE_ALPHASORT 1 | ||
147 | |||
148 | # define HAVE_PTHREAD 1 | ||
149 | # define HAVE_SYS_IOCTL_H 1 | ||
150 | # define HAVE_MYSQL_MYSQL_H 1 | ||
151 | #endif | ||
152 | |||
153 | #define HAVE_ISWSPACE 1 | ||
154 | #define HAVE_TOWLOWER 1 | ||
155 | |||
156 | #ifndef WIN32 | ||
157 | /* Will be used Bluez BT stack ? */ | ||
158 | # define GSM_ENABLE_BLUEZ 1 | ||
159 | /* Will be used Affix BT stack ? */ | ||
160 | /* # undef GSM_ENABLE_AFFIX */ | ||
161 | #endif | ||
162 | |||
163 | /* Uncomment, if you want searching RF channel during each BT connection */ | ||
164 | /* It can make connecting longer or connection less stable */ | ||
165 | /* With MS VC and MS BT stack required irprops.lib from MS Platform SDK to compile */ | ||
166 | #ifndef WIN32 | ||
167 | # define BLUETOOTH_RF_SEARCHING 1 | ||
168 | #else | ||
169 | //# define BLUETOOTH_RF_SEARCHING 1 | ||
170 | #endif | ||
171 | |||
172 | #endif | ||