summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/cfg/config.h14
-rw-r--r--gammu/emb/gammu/gammuE.pro4
2 files changed, 10 insertions, 8 deletions
diff --git a/gammu/emb/cfg/config.h b/gammu/emb/cfg/config.h
index 96de549..1ba6365 100644
--- a/gammu/emb/cfg/config.h
+++ b/gammu/emb/cfg/config.h
@@ -15,158 +15,160 @@
15#endif 15#endif
16 16
17/* #undef ENABLE_LGPL */ 17/* #undef ENABLE_LGPL */
18 18
19/* ---------------------- Connections ---------------------------------- */ 19/* ---------------------- Connections ---------------------------------- */
20 20
21/* MBUS2 over cable */ 21/* MBUS2 over cable */
22#define GSM_ENABLE_MBUS2 1 22#define GSM_ENABLE_MBUS2 1
23 23
24/* FBUS2 over cable */ 24/* FBUS2 over cable */
25#define GSM_ENABLE_FBUS2 1 25#define GSM_ENABLE_FBUS2 1
26/* FBUS2 to use with DLR3 cable (init done using AT commands) */ 26/* FBUS2 to use with DLR3 cable (init done using AT commands) */
27#define GSM_ENABLE_FBUS2DLR3 1 27#define GSM_ENABLE_FBUS2DLR3 1
28/* FBUS2 to use with DKU5 cable (init done using AT commands) */ 28/* FBUS2 to use with DKU5 cable (init done using AT commands) */
29#define GSM_ENABLE_FBUS2DKU5 1 29#define GSM_ENABLE_FBUS2DKU5 1
30/* FBUS2 to use with cable with PL2303 chip (init done using AT commands) */ 30/* FBUS2 to use with cable with PL2303 chip (init done using AT commands) */
31#define GSM_ENABLE_FBUS2PL2303 1 31#define GSM_ENABLE_FBUS2PL2303 1
32/* FBUS2 to use with bluetooth legacy device (init done using AT commands) */ 32/* FBUS2 to use with bluetooth legacy device (init done using AT commands) */
33#define GSM_ENABLE_FBUS2BLUE 1 33#define GSM_ENABLE_FBUS2BLUE 1
34/* FBUS2 to use with direct infrared device */ 34/* FBUS2 to use with direct infrared device */
35#define GSM_ENABLE_FBUS2IRDA 1 35#define GSM_ENABLE_FBUS2IRDA 1
36 36
37/* PHONET FBUS to use with bluetooth legacy device */ 37/* PHONET FBUS to use with bluetooth legacy device */
38#define GSM_ENABLE_PHONETBLUE 1 38#define GSM_ENABLE_PHONETBLUE 1
39 39
40/* Symbian with m-router (TCPIP based) to use with bluetooth legacy device */ 40/* Symbian with m-router (TCPIP based) to use with bluetooth legacy device */
41#define GSM_ENABLE_MROUTERBLUE 1 41#define GSM_ENABLE_MROUTERBLUE 1
42 42
43/* AT protocol */ 43/* AT protocol */
44#define GSM_ENABLE_AT 1 44#define GSM_ENABLE_AT 1
45 45
46/* Alcatel protocol */ 46/* Alcatel protocol */
47#define GSM_ENABLE_ALCABUS 1 47#define GSM_ENABLE_ALCABUS 1
48 48
49/* Infrared. PHONET FBUS */ 49/* Infrared. PHONET FBUS */
50#define GSM_ENABLE_IRDAPHONET 1 50#define GSM_ENABLE_IRDAPHONET 1
51/* Infrared. AT commands */ 51/* Infrared. AT commands */
52#define GSM_ENABLE_IRDAAT 1 52#define GSM_ENABLE_IRDAAT 1
53/* Infrared. OBEX */ 53/* Infrared. OBEX */
54#define GSM_ENABLE_IRDAOBEX 1 54#define GSM_ENABLE_IRDAOBEX 1
55 55
56#ifdef WIN32 56#ifdef WIN32
57# define GSM_ENABLE_BLUEFBUS2 1 57# define GSM_ENABLE_BLUEFBUS2 1
58# define GSM_ENABLE_BLUEPHONET 1 58# define GSM_ENABLE_BLUEPHONET 1
59# define GSM_ENABLE_BLUEAT 1 59# define GSM_ENABLE_BLUEAT 1
60# define GSM_ENABLE_BLUEOBEX 1 60# define GSM_ENABLE_BLUEOBEX 1
61#else 61#else
62/* Bluetooth stack (like Bluez). FBUS2 (init done using AT commands) */ 62/* Bluetooth stack (like Bluez). FBUS2 (init done using AT commands) */
63# define GSM_ENABLE_BLUEFBUS2 1 63//LR# define GSM_ENABLE_BLUEFBUS2 1
64/* Bluetooth stack (like Bluez). PHONET FBUS */ 64/* Bluetooth stack (like Bluez). PHONET FBUS */
65# define GSM_ENABLE_BLUEPHONET 1 65//LR# define GSM_ENABLE_BLUEPHONET 1
66/* Blueooth stack (like Bluez). AT commands */ 66/* Blueooth stack (like Bluez). AT commands */
67# define GSM_ENABLE_BLUEAT 1 67//LR# define GSM_ENABLE_BLUEAT 1
68/* Blueooth stack (like Bluez). OBEX */ 68/* Blueooth stack (like Bluez). OBEX */
69# define GSM_ENABLE_BLUEOBEX 1 69//LR# define GSM_ENABLE_BLUEOBEX 1
70#endif 70#endif
71 71
72/* --------------------------- Phone modules (specific) ----------------- */ 72/* --------------------------- Phone modules (specific) ----------------- */
73 73
74/* n3320.c models */ 74/* n3320.c models */
75#define GSM_ENABLE_NOKIA3320 1 75#define GSM_ENABLE_NOKIA3320 1
76/* n6110.c models */ 76/* n6110.c models */
77#define GSM_ENABLE_NOKIA6110 1 77#define GSM_ENABLE_NOKIA6110 1
78 78
79/* n7110.c models */ 79/* n7110.c models */
80#define GSM_ENABLE_NOKIA7110 1 80#define GSM_ENABLE_NOKIA7110 1
81/* n9210.c models */ 81/* n9210.c models */
82#define GSM_ENABLE_NOKIA9210 1 82#define GSM_ENABLE_NOKIA9210 1
83/* It allows to show incoming call and SMS info for 7110 family phones. 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. 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 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 86 * earlier than sms in phone and phone restart (once and random) later after
87 * connection. Seems phone firmware isn't too good here 87 * connection. Seems phone firmware isn't too good here
88 */ 88 */
89/* Show incoming Data for 7110/9210 */ 89/* Show incoming Data for 7110/9210 */
90/* #undef GSM_ENABLE_N71_92INCOMINGINFO */ 90/* #undef GSM_ENABLE_N71_92INCOMINGINFO */
91 91
92/* n6510.c (DCT4) models */ 92/* n6510.c (DCT4) models */
93#define GSM_ENABLE_NOKIA6510 1 93#define GSM_ENABLE_NOKIA6510 1
94/* Force using 6210 frames for calendar. Required by some older DCT4 */ 94/* Force using 6210 frames for calendar. Required by some older DCT4 */
95/* #undef GSM_FORCE_DCT4_CALENDAR_6210 */ 95/* #undef GSM_FORCE_DCT4_CALENDAR_6210 */
96 96
97/* n3650.c (DCT4 with Symbian) models */ 97/* n3650.c (DCT4 with Symbian) models */
98#define GSM_ENABLE_NOKIA3650 1 98#define GSM_ENABLE_NOKIA3650 1
99 99
100/* AT generic models */ 100/* AT generic models */
101#define GSM_ENABLE_ATGEN 1 101#define GSM_ENABLE_ATGEN 1
102 102
103/* Alcatel BE5 */ 103/* Alcatel BE5 */
104#define GSM_ENABLE_ALCATEL 1 104#define GSM_ENABLE_ALCATEL 1
105 105
106/* OBEX generic models */ 106/* OBEX generic models */
107#define GSM_ENABLE_OBEXGEN 1 107#define GSM_ENABLE_OBEXGEN 1
108 108
109/* Symbian with m-router generic models */ 109/* Symbian with m-router generic models */
110#define GSM_ENABLE_MROUTERGEN 1 110#define GSM_ENABLE_MROUTERGEN 1
111 111
112/* ---------------------- General settings -------------------------------- */ 112/* ---------------------- General settings -------------------------------- */
113 113
114/* By default commented: some people reported me (for example, with 6210 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 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 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 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 118 * Please also note, that CB function was always TO CHECK in MyGnokii/Gnokii
119 * too. 119 * too.
120 */ 120 */
121/* Enables cell broadcast */ 121/* Enables cell broadcast */
122/* #undef GSM_ENABLE_CELLBROADCAST */ 122/* #undef GSM_ENABLE_CELLBROADCAST */
123 123
124/* If you want backup/restore stuff. Some people wanted it - they required 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, 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. 126 * that backup/restore stuff can be easy separated from other things.
127 */ 127 */
128#define GSM_ENABLE_BACKUP 1 128#define GSM_ENABLE_BACKUP 1
129 129
130/* Bu default commented: some parts of source are not ready or not tested 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 131 * at all (or aren't good tested). Uncomment, if want them
132 */ 132 */
133//#define DEVELOP 133//#define DEVELOP
134 134
135/* By default disabled. It allows to making short beep after such things 135/* By default disabled. It allows to making short beep after such things
136 * like changing logo in phone (like in Logo Manager) 136 * like changing logo in phone (like in Logo Manager)
137 */ 137 */
138//#define GSM_ENABLE_BEEP 138//#define GSM_ENABLE_BEEP
139 139
140/* ---------------------- C language specific --------------------------- */ 140/* ---------------------- C language specific --------------------------- */
141 141
142#ifndef WIN32 142#ifndef WIN32
143/* are the scandir functions available */ 143/* are the scandir functions available */
144# define HAVE_DIRENT_H 1 144# define HAVE_DIRENT_H 1
145# define HAVE_SCANDIR 1 145# define HAVE_SCANDIR 1
146# define HAVE_ALPHASORT 1 146# define HAVE_ALPHASORT 1
147 147
148# define HAVE_PTHREAD 1 148# define HAVE_PTHREAD 1
149# define HAVE_SYS_IOCTL_H 1 149# define HAVE_SYS_IOCTL_H 1
150# define HAVE_MYSQL_MYSQL_H 1 150# define HAVE_MYSQL_MYSQL_H 1
151#endif 151#endif
152 152
153#define HAVE_ISWSPACE 1 153#define HAVE_ISWSPACE 1
154#define HAVE_TOWLOWER 1 154#define HAVE_TOWLOWER 1
155 155
156#ifndef WIN32 156#ifndef WIN32
157/* Will be used Bluez BT stack ? */ 157/* Will be used Bluez BT stack ? */
158# define GSM_ENABLE_BLUEZ 1 158// LR bluetooth disabled
159//# define GSM_ENABLE_BLUEZ 1
159/* Will be used Affix BT stack ? */ 160/* Will be used Affix BT stack ? */
160/* # undef GSM_ENABLE_AFFIX */ 161/* # undef GSM_ENABLE_AFFIX */
161#endif 162#endif
162 163
163/* Uncomment, if you want searching RF channel during each BT connection */ 164/* Uncomment, if you want searching RF channel during each BT connection */
164/* It can make connecting longer or connection less stable */ 165/* 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/* With MS VC and MS BT stack required irprops.lib from MS Platform SDK to compile */
166#ifndef WIN32 167#ifndef WIN32
167# define BLUETOOTH_RF_SEARCHING 1 168// LR bluetooth disabled
169//# define BLUETOOTH_RF_SEARCHING 1
168#else 170#else
169//# define BLUETOOTH_RF_SEARCHING 1 171//# define BLUETOOTH_RF_SEARCHING 1
170#endif 172#endif
171 173
172#endif 174#endif
diff --git a/gammu/emb/gammu/gammuE.pro b/gammu/emb/gammu/gammuE.pro
index c685bf8..5b18205 100644
--- a/gammu/emb/gammu/gammuE.pro
+++ b/gammu/emb/gammu/gammuE.pro
@@ -3,55 +3,55 @@
3###################################################################### 3######################################################################
4 4
5TEMPLATE = app 5TEMPLATE = app
6DEPENDPATH += msvc06.mak \ 6DEPENDPATH += msvc06.mak \
7 msvc2003.mak \ 7 msvc2003.mak \
8 smsd \ 8 smsd \
9 depend/nokia \ 9 depend/nokia \
10 depend/siemens \ 10 depend/siemens \
11 depend/nokia/dct3trac 11 depend/nokia/dct3trac
12INCLUDEPATH += . smsd depend/nokia depend/nokia/dct3trac depend/siemens 12INCLUDEPATH += . smsd depend/nokia depend/nokia/dct3trac depend/siemens
13# console 13# console
14# Input 14# Input
15 15
16HEADERS += gammu.h \ 16HEADERS += gammu.h \
17 sniff.h \ 17 sniff.h \
18 smsd/s_files.h \ 18 smsd/s_files.h \
19 smsd/s_mysql.h \ 19 smsd/s_mysql.h \
20 smsd/smsdcore.h \ 20 smsd/smsdcore.h \
21 depend/nokia/dct3.h \ 21 depend/nokia/dct3.h \
22 depend/nokia/dct4.h \ 22 depend/nokia/dct4.h \
23 depend/siemens/chiffre.h \ 23 depend/siemens/chiffre.h \
24 depend/siemens/dsiemens.h \ 24 depend/siemens/dsiemens.h \
25 depend/nokia/dct3trac/type-cc.h \ 25 depend/nokia/dct3trac/type-cc.h \
26 depend/nokia/dct3trac/type-mm.h \ 26 depend/nokia/dct3trac/type-mm.h \
27 depend/nokia/dct3trac/type-rr.h \ 27 depend/nokia/dct3trac/type-rr.h \
28 depend/nokia/dct3trac/type-sms.h \ 28 depend/nokia/dct3trac/type-sms.h \
29 depend/nokia/dct3trac/type-ss.h \ 29 depend/nokia/dct3trac/type-ss.h \
30 depend/nokia/dct3trac/wmx-gsm.h \ 30 depend/nokia/dct3trac/wmx-gsm.h \
31 depend/nokia/dct3trac/wmx-list.h \ 31 depend/nokia/dct3trac/wmx-list.h \
32 depend/nokia/dct3trac/wmx-sim.h \ 32 depend/nokia/dct3trac/wmx-sim.h \
33 depend/nokia/dct3trac/wmx-util.h \ 33 depend/nokia/dct3trac/wmx-util.h \
34 depend/nokia/dct3trac/wmx.h 34 depend/nokia/dct3trac/wmx.h
35SOURCES += gammu.c \ 35SOURCES += gammu.c \
36 sniff.c \ 36 sniff.c \
37 smsd/s_files.c \ 37 smsd/s_files.c \
38 smsd/smsdcore.c \ 38 smsd/smsdcore.c \
39 depend/nokia/dct3.c \ 39 depend/nokia/dct3.c \
40 depend/nokia/dct4.c \ 40 depend/nokia/dct4.c \
41 depend/siemens/chiffre.c \ 41 depend/siemens/chiffre.c \
42 depend/siemens/dsiemens.c \ 42 depend/siemens/dsiemens.c \
43 depend/nokia/dct3trac/wmx-gsm.c \ 43 depend/nokia/dct3trac/wmx-gsm.c \
44 depend/nokia/dct3trac/wmx-list.c \ 44 depend/nokia/dct3trac/wmx-list.c \
45 depend/nokia/dct3trac/wmx-sim.c \ 45 depend/nokia/dct3trac/wmx-sim.c \
46 depend/nokia/dct3trac/wmx-util.c \ 46 depend/nokia/dct3trac/wmx-util.c \
47 depend/nokia/dct3trac/wmx.c 47 depend/nokia/dct3trac/wmx.c
48 48
49LIBS += -L$(QPEDIR)/lib 49LIBS += -L$(QPEDIR)/lib
50LIBS += -lkammu 50LIBS += -lkammu
51LIBS += -lbluetooth 51#LIBS += -lbluetooth
52LIBS += -lsdp 52#LIBS += -lsdp
53LIBS += -lpthread 53LIBS += -lpthread
54 CONFIG = warn_off release console 54 CONFIG = warn_off release console
55DESTDIR=$(QPEDIR)/bin 55DESTDIR=$(QPEDIR)/bin
56OBJECTS_DIR = obj/$(PLATFORM) 56OBJECTS_DIR = obj/$(PLATFORM)
57TARGET = kammu \ No newline at end of file 57TARGET = kammu \ No newline at end of file