projects
/
jenirok
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Danish Eniro search fixed.
[jenirok]
/
src
/
daemon
/
calllistener.h
diff --git
a/src/daemon/calllistener.h
b/src/daemon/calllistener.h
index
5e1d18b
..
b58f3cb
100644
(file)
--- a/
src/daemon/calllistener.h
+++ b/
src/daemon/calllistener.h
@@
-36,14
+36,14
@@
public:
~CallListener();
bool begin();
void end();
~CallListener();
bool begin();
void end();
- static const int REQUEST_TIMEOUT = 10000;
+ static const int REQUEST_TIMEOUT = 8000;
static const int BANNER_DELAY = 350;
static const int SEARCH_RETRIES = 2;
static const int BANNER_DELAY = 350;
static const int SEARCH_RETRIES = 2;
- static const int CONNECT_RETRIES = 2;
- static const int CONNECTION_LOOKUP_RETRIES = 10;
+ static const int CONNECT_RETRIES = 1;
+ static const int CONNECTION_LOOKUP_RETRIES = 7;
static const int GPRS_SCANS = 2;
static const int GPRS_SCANS = 2;
- static const int WLAN_SCANS = 5;
- static const int WAIT_BETWEEN_RETRIES = 500;
+ static const int WLAN_SCANS = 4;
+ static const int WAIT_BETWEEN_RETRIES = 400;
static const int ERROR_BANNER_TIMEOUT = 4500;
protected:
static const int ERROR_BANNER_TIMEOUT = 4500;
protected:
@@
-55,6
+55,7
@@
private slots:
void callTerminate();
void showTimedMessage();
void handleAnswer();
void callTerminate();
void showTimedMessage();
void handleAnswer();
+ void closeConnection();
private:
Q_DISABLE_COPY(CallListener);
private:
Q_DISABLE_COPY(CallListener);
@@
-90,6
+91,7
@@
private:
int retries_;
int timer_;
CallDetails* currentCall_;
int retries_;
int timer_;
CallDetails* currentCall_;
+ bool ignoreFirstZero_;
};
#endif // CALLLISTENER_H
};
#endif // CALLLISTENER_H