BlueZ supports now external profile registration, see: bluez/doc/profile-api.txt
This patch series has the initial implementation of the HFP external profile in oFono. HandsfreeAgent and HandsfreeGateway interfaces were removed from BlueZ. Modem are being registered dinamically when the new connection is notified instead of registering the modem when the Bluetooth device is created/probed. * Needs to be applied after "[PATCH v0 1/4] bluetooth: Fix reading Bluetooth Adapters" series Changes from RFC v0: - memory leak fixes - fixed invalid read - handle connections if the Bluetooth device is still being created (eg: SDP running). The next step: implement SCO connection handling in oFono. Claudio Takahasi (15): hfp_hf: Add HFP external Profile registration hfp_hf: Add BlueZ Profile handler hfp_hf: Add parsing of Profile NewConnection call hfp_hf: Add SLC setup hfp_hf: Add Profile1 Release hfp_hf: Remove HandsfreeAgent and HandsfreeGateway hfp_hf: Register HFP modem dynamically hfp_hf: Fix updating alias bluetooth: Reuse D-Bus dictionary parser function hfp_hf: Add Version and Features parsing bluetooth: Use generic function to parse dict hfp_hf: Request secure connections bluetooth: Fix memory leak of adapter_any_path hfp_hf: Handle connections before probe bluetooth: Fix memory leak of UUIDs list plugins/bluetooth.c | 275 ++++++++++++++++++++++++-------- plugins/bluetooth.h | 12 +- plugins/hfp_hf.c | 447 ++++++++++++++++++++++++++-------------------------- 3 files changed, 449 insertions(+), 285 deletions(-) -- 1.7.11.7 _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
