**** BEGIN LOGGING AT Fri Jul 29 02:59:56 2011 Jul 29 16:26:58 holtmann: denkenz: ping Jul 29 16:27:59 pong Jul 29 16:28:49 during test with my old phone (Samsung SHG-D600) and hfpmodem I was not able to setup connection Jul 29 16:28:55 the phone returns ERROR to AT+BRSF sent by hfpmodem, and HFP AG version on phone is 0x0101 Jul 29 16:29:01 after removing version 1.5 features in hfp_slc_info_init(), I can connect to the phone and pass a call Jul 29 16:29:09 I propose to add a RemoteVersion property in org.bluez.HandsfreeGateway to let oFono retrieve the remote profile version Jul 29 16:29:13 are you OK with this ? Jul 29 16:29:58 The RemoteVersion would be read from the remote SDP record? Jul 29 16:30:52 It can also be read from the record saved by BlueZ from previous connection Jul 29 16:31:07 That sounds fine to me, but lets do this inside NewConnection callback Jul 29 16:31:14 1 less round trip Jul 29 16:33:04 if I understand correctly you propose to add a parameter with the remote version to NewConnection, right ? Jul 29 16:33:12 yep Jul 29 16:34:16 ok, I will prepare 2 patches for this (1 for BlueZ and 1 for oFono) Jul 29 16:35:18 yep, sounds good, guess I need to subscribe to linux-bluetooth again ;) Jul 29 16:37:51 about moving bluetooth part back to BlueZ, I understood that this will be similar to the org.bluez.HandsfreeGateway interface Jul 29 16:38:38 only interface name and uuids to use should change Jul 29 16:40:06 right ? Jul 29 16:45:57 fdanis: which bluetooth part? Jul 29 16:46:59 padovan: connection setup, sdp records, like for hfpmodem Jul 29 16:47:23 for the Gateway role? Jul 29 16:48:03 yes, for HFP AG emulator Jul 29 16:49:03 I proposed sometime ago create a Serial Server API, but never tought hard on it. Jul 29 16:49:29 I think something similar to AudioGateway is required Jul 29 16:49:54 Why? Jul 29 16:49:56 Assuming we don't need something like HandsfreeVersion, padovan's proposal can also work Jul 29 16:50:29 denkenz: and it works both for HFP and DUN gateways Jul 29 16:52:33 both role of HFP are very similar at bluetooth level Jul 29 16:53:30 both of them also need to manage the audio part Jul 29 16:54:56 Do you want to use the same API? You could just add a new parameter to identify the role. It's an option. Jul 29 16:59:41 same API but with org.bluez.Handsfree interface (instead of HandsfreeGateway) on "[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX" path Jul 29 17:00:05 I am not sure we can do this just with a parameter Jul 29 17:06:41 The thing is that we do need the RemoteVersion like fdanis mentioned Jul 29 17:06:59 Also, wasn't there talk of running HFP over L2CAP or am I confused Jul 29 17:10:00 It worth a try. We can discuss the API on the list at least. Jul 29 17:10:24 fdanis: can you send a proposal to linux-bluetooth? Jul 29 17:13:26 ok, I will do this next week Jul 29 21:43:34 denkenz: ping Jul 29 21:44:06 padovan: pong Jul 29 21:49:10 I think I have already figure out. I was trying to figure out how open_device() works. Jul 29 21:49:43 denkenz: I have the telit hw here, and I think I need to use" Modem" for AT command Jul 29 21:50:16 and on the "Data" device I need to connect the bluetooth link. Jul 29 21:50:36 I think I'm right, have to test this. Jul 29 21:50:51 no idea, that one has 4 ports Jul 29 21:50:58 so it might be one of the other ttys too Jul 29 21:51:07 One is GPS Jul 29 21:51:15 One is Modem Jul 29 21:51:19 there are two left Jul 29 21:57:26 Yeah, but remember that the modem is off at that point Jul 29 21:57:36 so who knows whether they re-use the GPS or Data port Jul 29 22:00:45 Good point. And I wasn't able to find any doc about this :( Jul 29 22:01:49 Just have to try at random I guess Jul 29 22:12:52 Yes. **** ENDING LOGGING AT Sat Jul 30 02:59:56 2011