summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-02-28hfp_hf_bluez5: Add registering Audio CardClaudio Takahasi1-0/+21
This patch registers the Handsfree Audio Card when the service level connection is established.
2013-02-26handsfree-audio: properly increment next_card_idDenis Kenzior1-0/+2
2013-02-26doc: Add possible handsfree-audio API errorsClaudio Takahasi1-0/+7
This patch adds possible errors that can be returned by Register and Unregister methods of the Manager interface.
2013-02-26bluez4: Increase Bluez 4 D-Bus timeouts to 60 secondsPatrik Flykt1-1/+1
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.
2013-02-26handsfree-audio: Impelement CardRemoved signalDenis Kenzior1-0/+15
2013-02-26handsfree-audio: Implement CardAdded signalDenis Kenzior1-1/+36
2013-02-26handsfree-audio: Implement the GetCards methodDenis Kenzior1-1/+44
2013-02-26handsfree-audio: Implement card GetPropertiesDenis Kenzior1-1/+29
2013-02-26handsfree-audio: Unregister from DBus on removalDenis Kenzior1-1/+13
2013-02-26handsfree-audio: Add skeleton D-Bus registrationDenis Kenzior1-0/+50
For HandsfreeAudioCard objects
2013-02-26handsfree-audio: Don't hardcode '/' pathDenis Kenzior1-3/+5
Use OFONO_MANAGER_PATH instead
2013-02-26include: Add handsfree card register methodDenis Kenzior1-0/+1
2013-02-26handsfree-audio: Implement card create / removeDenis Kenzior1-0/+36
2013-02-26include: Add handsfree card create / remove APIDenis Kenzior1-0/+6
2013-02-25audio-settings: Fix unneeded async for GetPropertiesClaudio Takahasi1-1/+1
GetProperties method call for Audio settings returns the reply in the same iteraction, it doesn't need to be asynchronous.
2013-02-23gdbus: Always unreference the message in g_dbus_send_message()Tomasz Bursztyka1-2/+3
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.
2013-02-22AUTHORS: Mention Paulo's contributionsDenis Kenzior1-0/+1
2013-02-22dundee: Fix typo in dundee-disconnect testPaulo Borges1-1/+1
2013-02-22dundee: Fix typo in Manager's signal DeviceAddedPaulo Borges1-1/+1
This typo was preventing dundee from sending the signal.
2013-02-21hfpmodem: Fix segfault in CIEV GAtChat callbackClaudio Takahasi1-3/+3
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
2013-02-21bluez5: ref / unref handsfree audioDenis Kenzior1-1/+14
2013-02-21handsfree-audio: Add ref / unref supportDenis Kenzior1-7/+39
2013-02-21include: Add skeleton for handsfree-audioDenis Kenzior2-1/+40
2013-02-20hfp_ag_bluez5: Send HFP version when registeringClaudio Takahasi1-2/+6
2013-02-20hfp_hf_bluez5: Send HFP version when registeringClaudio Takahasi1-1/+1
2013-02-20bluez5: Add profile version argumentClaudio Takahasi2-2/+5
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.
2013-02-20hfp_hf_bluez5: Add local HFP version trackingClaudio Takahasi1-1/+4
Fallback to HFP 1.5 if defer setup is not supported since it is not possible to proceed with codec negotiation.
2013-02-20handsfree-audio: Don't go over 80 charactersDenis Kenzior1-2/+2
2013-02-20handsfree-audio: Add Agent trackingClaudio Takahasi1-0/+14
This patch tracks when the Handsfree Audio Agent leaves the system BUS, and free agent allocated resources.
2013-02-20handsfree-audio: Call Agent "Release" when exitingClaudio Takahasi1-1/+14
This patch notifies the Agent implementation that it is no longer registered to the service daemon.
2013-02-20handsfree-audio: Add Agent "Unregister"Claudio Takahasi1-1/+24
This patch implements the "Unregister" method of the Handsfree Audio Manager. The agent is unregistered if sender and path match.
2013-02-20handsfree-audio: Free agent when exitingClaudio Takahasi1-0/+11
Free agent allocated resources when oFono exits.
2013-02-20handsfree-audio: Add codec array validationVinicius Costa Gomes1-1/+13
This patch checks if the codec array included in the "Register" method contains valid codec ID's.
2013-02-20handsfree-audio: Add Agent "Register" methodClaudio Takahasi1-1/+38
This patch adds the initial Handsfree Audio Manager "Register" method implementation. It adds the parsing of the arguments included in the message and checks if there is an agent registered already.
2013-02-20main: Call handsfree audio manager init and cleanupClaudio Takahasi1-0/+4
2013-02-20handsfree-audio: Add Manager registrationClaudio Takahasi3-1/+86
Adds the initial implementation of new experimental Handsfree Audio Manager interface. This patch adds the interface registration and the declaration of it's methods.
2013-02-19doc: Add experimental handsfree-audio APIDenis Kenzior1-0/+96
2013-02-14hfp_hf_bluez5: Ensure active SLC for SCO linksDenis Kenzior1-1/+23
Whenever a SCO connection is attempted, ensure that the SLC link is already active between us and the same remote peer.
2013-02-14hfp_hf_bluez5: Remove use of hash tableDenis Kenzior1-10/+14
The number of paired devices is quite small, so the use of the hash table for lookup seems unnecessary. The typical user will have no more than 1-2 devices paired, maybe half a dozen in a less common case.
2013-02-14hfp_hf_bluez5: Use faster method of disable()Denis Kenzior1-9/+14
2013-02-14modem: Implement ofono_modem_findDenis Kenzior1-0/+16
2013-02-14include: Add ofono_modem_findDenis Kenzior1-0/+6
2013-02-14hfp_hf_bluez5: Remove unneeded modem hash lookupClaudio Takahasi1-4/+0
Modem object is created when the Device Proxy is added, and it is paired. Another path is when the Device "Paired" property changes to True.
2013-02-14hfp_hf_bluez5: Use some tricks to optimize codeDenis Kenzior1-39/+27
2013-02-14gdbus: Add g_dbus_proxy_set_removed_watchDenis Kenzior2-0/+20
2013-02-14hfp_hf_bluez5: Add support for Enabling/Disabling the modemVinicius Costa Gomes1-2/+37
Now that we have the support for sending the correct messages to BlueZ, we are able to dynamically power up/down the HFP modem. We add another property to the modem to be able to get the D-Bus object path that represents the remote device.
2013-02-14hfp_hf_bluez5: Add Profile RequestDisconnectionClaudio Takahasi1-3/+32
This patch implements RequestDisconnection method of the Profile1 interface. This method gets called when the profile gets disconnected. The profile implementation needs to cleanup the resources related to the informed device.
2013-02-14bluez5: Add support for Connecting/Disconnecting per UUIDVinicius Costa Gomes2-0/+102
This adds supports for sending the ConnectProfile() and DisconnectProfile() messages for the org.bluez.Device1 interface.
2013-02-14bluez5: Rename BlueZ Profile registration functionsClaudio Takahasi4-8/+8
This patch renames external profile registration functions replacing the prefix from 'bluetooth_' to 'bt_' in order to follow the name convention adopted for bluez5 functions.
2013-02-14gdbus: Fix missing PropertiesChanged signalVinicius Costa Gomes1-2/+5
If D-Bus ObjectManager is not supported, InterfacesAdded signal checking needs to be ignored otherwise PropertiesChanged signal will never be sent.