|
From: | Fred Lefévère-Laoide |
Subject: | Re: Call and SMS Notification |
Date: | Wed, 02 Apr 2008 14:05:51 +0200 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
Am I missing something ?In the example (gnokii-extras/snippets/monitor/waitcall.c), after the call gn_sm_functions(GN_OP_SetCallNotification
there is a loop with gn_call_check_active(state); Is it mandatory if the call notification is accepted by the driver ?When I look at the sources, I don't see any select on the BT socket after setting the notification ...
Any help would be much appreciated ... Thanks Fred Fred Lefévère-Laoide a écrit :
Daniele Forsi a écrit :On Friday 28 March 2008, 12:13:30, Fred wrote:I tried replacing AT+CLCC=1 by AT+CCWA=1 in atgen.c/steCallNotification and I get no error but no callback either ...I don't know about SE W880i with unmodified libgnokii since you didn't post the relevant part of debug log, but SE Z310i replies to AT+CPAS with just "+CRING: " while we were expecting "+CRING: VOICE"see the fix I just committed with atgen.c,v 1.179It replies to +CCWA=1 with +CRING: VOICE But gnokii doesn't see anything although hyperterminal see it ... I'll try +CPAS ...the error with AT+CLCC=1 is a minor problem because the phone stays in what is its default state (since ATZ is sent as first command) which with some phones is okPawel, I would change it to just AT+CLCC because Sony-Ericsson docs (dg_at_2006--07_r3a.pdf) state that "1" means "notifiy incoming data calls" while we only check for VOICE, but the docs don't specify what happens without arguments; from my tests both SE Z310i and Nokia 5300 always notify voice calls, with AT+CLCC=1 and with AT+CLCC
[Prev in Thread] | Current Thread | [Next in Thread] |