**** BEGIN LOGGING AT Wed Apr 20 02:59:58 2011 Apr 20 13:42:50 denkenz: ping Apr 20 13:47:02 Gzajac: pong Apr 20 13:48:27 denkenz: Hi, I finished fixing Gustavo patches into ConnMan to request a private network whenever a data call is needed. Apr 20 13:48:53 Now I have to commit a ConnMan plugin into oFono Apr 20 13:49:09 this plugin involved some new functions into emulator Apr 20 13:49:10 yep Apr 20 13:49:35 however there are some pending patches concenring escape sequence detection Apr 20 13:49:42 on my local branch Apr 20 13:49:53 if I commit new patches on emulator Apr 20 13:50:01 there will some confilcts on your side? Apr 20 13:50:29 yes, you have two options Apr 20 13:50:58 git format-patch -26 for your escape sequence patches, then git reset --hard HEAD~26 Apr 20 13:51:09 That will just reset your tree to before these existed Apr 20 13:51:13 Then proceed as normal Apr 20 13:51:23 Or, work on the new changes Apr 20 13:51:38 and then git rebase --interactive HEAD~26+n Apr 20 13:51:46 and move the new patches backwards Apr 20 13:51:51 ok Apr 20 13:51:52 Then just send that subset Apr 20 13:52:25 I have another question Apr 20 13:52:35 conerning PPP stack in oFono Apr 20 13:52:44 if I modify ppp_net.c Apr 20 13:52:56 to use ConnMan file descriptor Apr 20 13:53:18 there will be a problem for gsmdial Apr 20 13:53:43 I mean gsmdial won't be able to be used Apr 20 13:54:14 you need to add a new constructor for ppp that takes an existing fd Apr 20 13:54:59 So in effect you have two ways, the legacy one and the connman one Apr 20 13:55:23 ok Apr 20 13:56:44 so I should keep 2 implementations into ppp_net and test the fd passed by connman: Apr 20 13:56:44 if -1 I use the old routine (for gsmdial) Apr 20 13:56:44 if > 0 I use connman fd (for emulator) Apr 20 13:57:37 no, use two g_at_ppp constructors Apr 20 13:58:28 e.g. g_at_ppp_new_full() Apr 20 13:58:35 or g_at_ppp_new_with_fd() Apr 20 13:58:46 I see Apr 20 13:58:48 ok Apr 20 18:09:31 denkenz: ping Apr 20 18:14:26 fdanis: pong Apr 20 18:15:24 did you take a look to v4 of +CHUP ? Apr 20 18:15:40 yes, its fine and pending on my next push Apr 20 18:15:48 ok, thanks Apr 20 18:19:00 about RING, if I understand correctly, I should stop the timer only when callsetup goes to inactive, or should I check for waiting call at each callsetup change ? Apr 20 18:20:01 The current logic only bites you if callsetup goes to dialing / alerting Apr 20 18:20:43 we have to be a bit careful how we set the indicators in those cases as well Apr 20 18:23:15 this can only happens with a waiting call (not an incoming), right ? Apr 20 18:24:46 is it possible to have incoming and outgoing calls at same time on the network ? Apr 20 18:28:38 no Apr 20 18:28:43 only waiting + dialing Apr 20 18:34:47 so it could be ok to check waiting call when ring timer is running before stopping it Apr 20 18:41:29 likely, yes Apr 20 18:41:48 However, the problem is also that a dialing call can be canceled or a waiting call can go away Apr 20 18:42:00 And how we set the indicator in those cases is tricky Apr 20 18:42:46 Maybe we should let the voicecall atom do this for us Apr 20 18:43:00 since it knows exactly when an incoming/waiting call goes away Apr 20 18:45:21 currently in voicecall, the indicators are set for each call state change depending on the whole call list, so I think there is no problem Apr 20 18:45:21 if the dialing call is canceled the callsetup will go back to waiting Apr 20 18:45:21 if the waiting call go away, the ring timer should be stopped Apr 20 18:47:33 Then we might have to introduce an explicit end call setup function to emulator Apr 20 18:47:48 because the indicator will not be set in the case waiting call goes away Apr 20 18:49:11 likely no headset in the world gets this part right though ;) Apr 20 18:49:39 yes, but if we check if a waiting call exists for other callsetup state (!incoming) we can stop the timer without a new API Apr 20 18:50:55 This just need to change precedence of callsetup status in notify_emulator_call_status() (voicecall.c) so waiting are less important than dialing/alerting Apr 20 18:51:21 and not stop ring timer if a waiting call exists Apr 20 18:54:53 I will send you a patch for this tomorrow Apr 20 19:07:35 denkenz: about +CLIP, should I do same thing than in phone_and_clip_to_string() ? Apr 20 19:07:35 It may be useful to move phone_and_clip_to_string() from voicecall.c to common.c, right ? Apr 20 19:18:23 hmm, let me see Apr 20 19:18:46 No, it is not really quite what you want Apr 20 19:19:10 in case a number is withheld, report it as "", 128 Apr 20 19:19:58 Also, I'm not sure we can rely on indicators properly Apr 20 19:20:16 if we have something like active + waiting -> active + dialing + waiting -> active + dialing Apr 20 19:20:29 The indicator will not change Apr 20 19:21:04 If you think you can, go for it, but if you see the code getting ugly, then we might need a slightly different approach Apr 20 19:32:29 ok, I will try Apr 20 19:32:31 I start to implement the +BLDN using a file to store the latest dialed number over ofono restart (like netreg settings). Apr 20 19:32:31 Is it ok or should I use history plugin to retrieve latest dialed number ? Apr 20 19:36:14 just storing it in voicecall settings is fine Apr 20 19:39:28 ok, thanks Apr 20 22:57:40 i had a single segfault when playing with RoamingAllowed on MBM modem which was roaming. segfault was when freeing the mms context when setting Powered=0 later, and i'm unable to reproduce it Apr 20 22:57:49 just mentioning because maybe it's something obvious Apr 21 00:42:27 balrog-k2n: I think there's a meego bug filed against this Apr 21 00:43:13 This might be related to the ppp tty being hung-up Apr 21 00:43:58 I'm still too lazy to actually track this down, but likely this needs a similar tweak that Martin made in the huawei driver **** ENDING LOGGING AT Thu Apr 21 02:59:58 2011