**** BEGIN LOGGING AT Thu Jul 21 02:59:56 2011 Jul 21 14:12:08 fdanis: You can now do something pretty fun with hfp client / server Jul 21 14:12:10 [localhfp] Jul 21 14:12:11 Address=127.0.0.1 Jul 21 14:12:11 Port=12347 Jul 21 14:12:11 Modem=hfp Jul 21 14:12:32 Then you can run hfp client against our hfp_server running against phonesim Jul 21 14:13:38 if I understand correctly, we no more need Bluetooth to test both HFP sides, right ? Jul 21 14:13:56 You need it if you want to test BlueZ integration Jul 21 14:14:07 But if you just want to test the protocol implementation within oFono, then no Jul 21 14:14:07 yes, of course Jul 21 14:14:18 you can just run locally Jul 21 14:14:25 either against phonesim or a real modem Jul 21 14:14:52 just add the above settings to /etc/ofono/phonesim.conf Jul 21 14:15:00 ok Jul 21 14:17:10 fdanis: One other thing with your hfp_ag patch, you need to take care of the case where the modem is removed Jul 21 14:19:31 Or at least check that it works, I don't recall whether we call atom watches in that case Jul 21 14:20:23 ok, I will check Jul 21 14:25:45 I added sim_entry structure to be able to correctly remove sim watches from sim_watch() or from hfp_ag_exit() Jul 21 14:25:46 in second case, I do not know the related modem Jul 21 14:26:50 also, g_hash_table_remove will remove all sim watches, but all modems also, so it will unregister the bluetooth server Jul 21 14:27:20 s/g_hash_table_remove/g_hash_table_foreach_remove Jul 21 14:36:14 please forget my comments, I made this really to complicated Jul 21 14:36:50 fdanis: Why do you need to know the modem ? Jul 21 14:37:04 heh :) Jul 21 14:38:30 I thought I need it in sim_watch_remove, but I was wrong :( Jul 21 14:42:19 no worries, I had to think about it for 5 minutes to convince myself it wasn't necessary ;) Jul 21 15:02:40 denkenz: ./disable-modem correctly unregister the bluetooth server through sim_watch() Jul 21 15:59:54 fdanis: ok cool **** ENDING LOGGING AT Fri Jul 22 02:59:57 2011