summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-03-18hfp_hf_bluez5: Update to the new APIDenis Kenzior1-1/+1
2013-03-18handsfree-audio: Match new card APIDenis Kenzior1-5/+46
2013-03-18include: Refactor ofono_handsfree_card_createDenis Kenzior1-2/+11
2013-03-18handsfree-audio: Implement get/set dataDenis Kenzior1-0/+12
2013-03-18include: Add get/set data handsfree audio cardDenis Kenzior1-0/+4
2013-03-18handsfree-audio: Add card driver registrationDenis Kenzior1-0/+22
2013-03-18include: Add handsfree card driver registrationDenis Kenzior1-0/+18
2013-03-12hfp_hf_bluez5: Remove duplicated includeClaudio Takahasi1-1/+0
2013-03-04handsfree-audio: Reject SCO if agent is unavailableClaudio Takahasi1-0/+6
This patch rejects the incoming SCO connection if there isn't a Handsfree Audio Agent registered.
2013-03-04handsfree-audio: Reject SCO if Card is not readyClaudio Takahasi1-1/+1
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.
2013-03-04handsfree-audio: Check local SCO addressClaudio Takahasi1-13/+31
This patch verifies if the local Bluetooth address of the incoming connection also matches with one of available audio cards.
2013-03-04handsfree-audio: Add NewConnectionClaudio Takahasi1-1/+27
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.
2013-03-04handsfree-audio: Add SCO handlingClaudio Takahasi1-1/+90
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.
2013-03-04hfp_hf_bluez5: Remove SCO handlingClaudio Takahasi1-101/+1
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.
2013-03-04hfp_hf_bluez5: Use new bluetooth.h headerClaudio Takahasi1-0/+1
2013-03-04bluez5: Remove Bluetooth related utilitiesClaudio Takahasi2-58/+0
2013-03-04core: Add new Bluetooth headerClaudio Takahasi2-1/+72
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.
2013-03-04bluez5: Add bt_register_profile_with_rolePaulo Borges2-2/+17
This function allows to specify which role is registering when the profile does not have specific UUIDs for each role.
2013-03-01handsfree-audio: Check CVSD when registering agentClaudio Takahasi1-2/+9
This patch makes CVSD codec mandatory when registering a Handsfree Audio Agent.
2013-03-01bluez5: Move ref / unref handsfree audioPaulo Borges2-14/+6
This commit moves the ref / unref to hfp_hf_bluez5 to make bluez5 more generic and reusable.
2013-02-28hfp_hf_bluez5: Remove Card on RequestDisconnectionClaudio Takahasi1-0/+3
For local initiated disconnection the GAtChat disconnect callback is not called. For this case, Audio Card remove function needs to be called.
2013-02-28hfp_hf_bluez5: Remove Card when modem is disabledClaudio Takahasi1-0/+3
2013-02-28hfp_hf_bluez5: Remove Card if SLC is disconnectedClaudio Takahasi1-0/+3
This patch removes previous registered Audio Card when the remote Bluetooth device triggers the service level disconnection.
2013-02-28hfp_hf_bluez5: Remove Card when SLC failsClaudio Takahasi1-0/+3
This patch removes the previously created Audio Card if the service level negotiation fails.
2013-02-28hfp_hf_bluez5: Add local address to Audio CardClaudio Takahasi1-2/+15
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