Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
This patch rejects the incoming SCO connection if there isn't a
Handsfree Audio Agent registered.
|
|
The Audio Card is being created when the NewConnection from BlueZ
Profile is received, and registered when the service level connection
negotiation finishes. This patch rejects SCO connection if the SCO
incoming connection arrives when the service level negotiation is
ongoing.
|
|
This patch verifies if the local Bluetooth address of the incoming
connection also matches with one of available audio cards.
|
|
This patch adds Agent NewConnection call. The card object path, the SCO
file descriptor, and the codec are being passed to the agent. This
initial version supports CVSD codec only.
|
|
Unlike the previous implementation in the plugin, the SCO/SLC matching
is done based on the Audio Card objects.
Audio Cards are created when the RFCOMM fd descriptor is received, and
registered when the service level connetion is established.
|
|
This patch moves the SCO socket handling from hfp_hf_bluez5 plugin. It
will be instead handled by the handsfree-audio functionality. This is
the initial step to be able to support sending the file descriptor
through the Agent NewConnection method.
|
|
|
|
|
|
This patch adds the Bluetooth utility funtions and socket type
declarations to a new header src/bluetooth.h, allowing to share it
between core, and plugins.
|
|
This function allows to specify which role is registering when the
profile does not have specific UUIDs for each role.
|
|
This patch makes CVSD codec mandatory when registering a Handsfree
Audio Agent.
|
|
This commit moves the ref / unref to hfp_hf_bluez5 to make
bluez5 more generic and reusable.
|
|
For local initiated disconnection the GAtChat disconnect callback is not
called. For this case, Audio Card remove function needs to be called.
|
|
|
|
This patch removes previous registered Audio Card when the remote
Bluetooth device triggers the service level disconnection.
|
|
This patch removes the previously created Audio Card if the service
level negotiation fails.
|
|
|
|
This patch registers the Handsfree Audio Card when the service level
connection is established.
|
|
|
|
This patch adds possible errors that can be returned by Register and
Unregister methods of the Manager interface.
|
|
RequestAuthorization method call may trigger pairing and/or pop up a
dialog in the remote device to which the user needs to react. Thus
increase D-Bus timeouts to 60 seconds for the Bluez 4 plugin.
|
|
|
|
|
|
|
|
|
|
|
|
For HandsfreeAudioCard objects
|
|
Use OFONO_MANAGER_PATH instead
|
|
|
|
|
|
|
|
GetProperties method call for Audio settings returns the reply in the
same iteraction, it doesn't need to be asynchronous.
|
|
A quick fix on g_dbus_send_message(), if check_signal() fails it returns
FALSE without unreferencing the message as it should. This patch fixes
it.
|
|
|
|
|
|
This typo was preventing dundee from sending the signal.
|
|
This patch fixes segmentation fault when the network registration
watch is called without being initialized. CIEV GAtChat callback can
be called before ofono_netreg_register().
==15101== Invalid read of size 8
==15101== at 0x492B56: ofono_netreg_register (network.c:2073)
==15101== by 0x47245E: hfp_netreg_probe (network-registration.c:311)
==15101== by 0x492A8D: ofono_netreg_create (network.c:1881)
==15101== by 0x4849D5: hfp_pre_sim (hfp_hf_bluez5.c:288)
==15101== by 0x48C486: ofono_modem_set_powered (modem.c:1194)
==15101== by 0x484E9D: slc_established (hfp_hf_bluez5.c:85)
==15101== by 0x4702AD: chld_cb (slc.c:147)
==15101== by 0x440457: at_chat_finish_command (gatchat.c:461)
==15101== by 0x44109F: new_bytes (gatchat.c:532)
==15101== by 0x4433B7: received_data (gatio.c:122)
==15101== by 0x3CBAA47824: g_main_context_dispatch (gmain.c:2539)
==15101== by 0x3CBAA47B57: g_main_context_iterate.isra.23
(gmain.c:3146)
==15101== Address 0x18 is not stack'd, malloc'd or (recently) free'd
|
|
|
|
|
|
|
|
|
|
|
|
This patch adds sending of the Version argument to RegisterProfile
method. The version is required to create the service record
containing the correct profile version.
|
|
Fallback to HFP 1.5 if defer setup is not supported since it is not
possible to proceed with codec negotiation.
|
|
|
|
This patch tracks when the Handsfree Audio Agent leaves the system BUS,
and free agent allocated resources.
|
|
This patch notifies the Agent implementation that it is no longer
registered to the service daemon.
|