**** BEGIN LOGGING AT Fri May 06 02:59:58 2011 May 06 03:02:32 balrog-k1n: So I just stuck this into my iPhone 3G, and I get the same message about losing service May 06 03:02:41 Sounds like you need a ticket to UK May 06 03:03:54 denkenz: This should work while roaming as well. Maybe just using AT&T as carrier is being stupid. May 06 03:05:02 i'm trying it on Orange network, just not UK Orange May 06 03:33:25 holtmann: Shoulda coulda woulda ;) It does not May 06 13:05:30 denkenz: ping May 06 13:11:03 denkenz: I have tested CHLD and CLCC changes you made they are fine, and the CHLD parenthesis fix remind me that we should start testing with PTS May 06 13:11:55 denkenz: however, after setup up a PTS, the first thing it asked was : establish a connection from the IUT to PTS May 06 13:19:21 denkenz: 2 weeks ago, I have written patches to bluez headset interface to register an agent for Handsfree connections. I have the oFono counterpart for HFP (big copy paste of Gustavo's work on Handsfree). Is it still the direction to go? May 06 13:24:19 fdalleau: I'd like us to finish hfp protocol first May 06 13:24:31 long-term it probably is the way to go, yes May 06 13:24:49 you mean finish all AT commands? May 06 13:27:23 nod May 06 13:27:36 there is not a lot of mandatory commands missing May 06 13:28:44 the question will probably come back soon May 06 13:29:01 have you seen the previous messages about chld and clcc? May 06 13:29:33 (03:10:27 PM) fdalleau: denkenz: however, after setup up a PTS, the first thing it asked was : establish a connection from the IUT to PTS May 06 13:30:04 nope, must have been offline May 06 13:30:08 (03:09:34 PM) fdalleau: denkenz: I have tested CHLD and CLCC changes you made they are fine, and the CHLD parenthesis fix remind me that we should start testing with PTS May 06 13:31:08 At the very least you need to start testing with oFono's hfp client May 06 13:31:15 and with PTS, yes May 06 13:31:37 so getting to the point where we can properly establish an SLC and all the relevant commands is a good idea May 06 13:33:18 i have tested with a real handsfree and it is fine, it rings, i can answer hangup and probably all other implemented commands May 06 13:34:45 i have to leave now, let's think about this over the weekend, bye May 06 13:55:39 denkenz: ping May 06 13:56:43 nbertrand: pong May 06 14:02:34 hi, about call management, the notif ECAV is sent by phonesim but not used by ofono May 06 14:04:08 so i got some problems when the clcc polling is stoped May 06 14:06:44 nbertrand: does this happen when some call is ended? May 06 14:06:49 or what circumstances? May 06 14:11:51 I try to implement the peer hangup, and so i need to notified ofono about it May 06 14:12:31 Try sending a NO CARRIER when the 'peer' hangs up May 06 14:12:42 phonesim send "NO CARRIER", even if i got more than one call May 06 14:12:54 is not a problem? May 06 14:13:45 There is no standard AT command to notify that a call has been disconnected May 06 14:13:58 What some manufacturers do is send a NO CARRIER unsolicited May 06 14:14:38 GAtChat should handle this just fine May 06 14:15:46 Ok i will try with this solution, about ECAV, why it has been implemented in phonesim? May 06 14:16:17 historical, early phonesim testing was done on Wavecoms May 06 14:16:43 This is before my time even May 06 14:17:01 Feel free to rip it out May 06 14:18:25 hello, I'm thinking about playing with STK menus, does phonesim have any built in? May 06 14:18:37 Ok, I will do that May 06 14:18:49 calypsoscomforts: yes May 06 14:19:25 how do I access them from AT command line, I tried ST+STGI May 06 14:19:39 s/ST/AT/ May 06 14:23:07 denkenz: regarding phonesim and call management, are you not thinking that it should be better to try to match as much as we can current modem? May 06 14:24:04 We could all agree that ETSI and 3GPP standard are not very well defined for call management, and an unsollicited AT command for call status is really important May 06 14:24:05 calypsoscomforts: phonesim uses +CRSM May 06 14:24:32 denkenz: thanks, I'll google the syntax May 06 14:25:00 calypsoscomforts: You'll go blind, but its in 11.11 and 27.007 May 06 14:25:50 BertrandAygon: This is another part of the reason why phonesim sends ECAV notifications May 06 14:26:07 You could actually simulate multiple modems with it May 06 14:26:08 thanks. BTW thanks all for phonesim, having a lot of fun with it at the moment May 06 14:26:15 denkenz: and we will have the same issue with some services that are not defnied by 3GPP like Radio Access Technology. About this feature, there is a bug saying that PhoneSim doesn't support it. I agree that this is not a bug, because PhoneSim doesn't expose the AT command. But it should be nice to create a PhoneSim AT command for it, so we can test this feature using PhoneSim. May 06 14:26:45 Feel free ;) May 06 14:27:00 We have 'invented' AT commands for phonesim before May 06 14:27:47 Ok, so instead of sending NO CARRIER when a call is ended, I think that we should send the ECAV, and handle it in oFono May 06 14:28:04 ECAV is a bad idea, since it is an Ericsson command May 06 14:28:12 and NO CARRIER should work just fine actually May 06 14:28:30 static void no_carrier_notify(GAtResult *result, gpointer user_data) May 06 14:28:30 { May 06 14:28:30 struct ofono_voicecall *vc = user_data; May 06 14:28:30 struct voicecall_data *vd = ofono_voicecall_get_data(vc); May 06 14:28:30 g_at_chat_send(vd->chat, "AT+CLCC", clcc_prefix, May 06 14:28:31 clcc_poll_cb, vc, NULL); May 06 14:28:31 } May 06 14:28:41 Ok, I way saying ECAV, but thinking unsolliceted AT command for call status May 06 14:28:57 I do not like CLCC polling. May 06 14:29:40 I would prefer create our own PhoneSim AT command doing the same stuff as ECAV May 06 14:29:45 It is just fine to invent an idealized call notification and put it into phonesim May 06 14:30:00 ok, agreed, let's go this way. May 06 14:30:21 However, there are modem manufacturers out there that do not have one (yet) May 06 14:31:31 the atmodem voicecall driver is not supposed to be used in production anyway, since most production modems will have vendor specific cpi May 06 14:31:51 Testing clcc polling might still be a good idea May 06 14:32:36 if they do not have unsollicited AT cmd for call status, we should ask them to create one :) May 06 14:33:09 Oh they will realize this eventually May 06 14:33:09 This is so important. Polling takes time, ressources, and pollute code and logs. May 06 14:33:58 It is, but having it work is also nice to enable new modems in a jiffy May 06 14:34:26 From past experience, we have alreayd go this way. We have also done the polling on CLCC, CSQ, CBC... But when analysing modem, if they hadn't call status change notification, it was our first requirement May 06 14:35:09 and I still don't understand why 3GPP doesn't craete one... May 06 14:35:30 they are creating new AT command for dummy new things, but not for this important one May 06 14:37:28 Well, not up until release 10 have they had Sim toolkit commands May 06 14:37:35 and CPI is a lost cause with 3GPP May 06 14:40:58 too bad May 06 17:37:25 denkenz: hey you weren't kidding about the specs for +CRSM and menus, it seems so much more complicated than +STGI May 06 17:38:13 Lets put it this way, it took 3 people most of last year to make STK work nicely May 06 17:38:24 oh boy May 06 17:39:22 I don't suppose you know of any cookbook commands to define a basic terminal and query the menu/respond etc? May 06 17:39:37 Depends on your modem vendor May 06 17:39:47 There are some modems that do the STK pdu parsing for you May 06 17:40:02 For those you'll have to refer to your vendor's documentation May 06 17:40:02 well for now I want to just use phonesim May 06 17:40:32 phonesim encodes STK commands into low-level PDUs May 06 17:41:10 Without ~7k line stkutil.c from oFono you're not going to get very far May 06 17:41:38 oh, that's a shame May 06 17:42:05 still I'll have a look in there anyway May 06 17:43:11 have fun, I've been down that rabbit hole, wouldn't wish it on my worst enemy ;) May 06 17:43:26 :-) May 06 17:43:32 thanks **** ENDING LOGGING AT Sat May 07 02:59:58 2011