summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-03-26handsfree-audio: Reject .Connect() from other sendersVinicius Costa Gomes1-0/+6
Only the agent should be able to call .Connect() on the card.
2013-03-26handsfree-audio: Add support for sending the SCO socketVinicius Costa Gomes1-0/+2
Send the SCO socket to the agent associated with the card that just got connected.
2013-03-26handsfree-audio: Add support for initiating SCO connectionsVinicius Costa Gomes1-1/+92
When calling the card's .Connect() method, we should be able to establish a SCO connection. Right now, we only have support for establishing the SCO connection directly, this is what is expected from HFP 1.5 HF/AG devices.
2013-03-26sim900: Fix disable cleanup procedureDenis Kenzior1-7/+1
2013-03-26sim900: Fix compile errorDenis Kenzior1-1/+1
make --no-print-directory all-am CC plugins/sim900.o cc1: warnings being treated as errors plugins/sim900.c: In function ‘shutdown_device’: plugins/sim900.c:180:9: error: unused variable ‘fd’ make[1]: *** [plugins/sim900.o] Error 1 make: *** [all] Error 2
2013-03-26sim900: Remove unneeded goto / labelDenis Kenzior1-2/+0
2013-03-26sim900: Properly clean up device IOChannel on errorDenis Kenzior1-1/+5
2013-03-26sim900: Add multiplexer supportRenat Zaripov1-30/+171
Also add gprs and call-volume support.
2013-03-26sim900: Fix leak of options hash tableDenis Kenzior1-0/+2
2013-03-24TODO: Mark BlueZ 5 support in dundee as doneDaniel Wagner1-9/+0
2013-03-24dundee: Handle Profile connect and disconnectPaulo Borges1-10/+105
2013-03-24dundee: Add dundee disconnect functionPaulo Borges2-3/+14
2013-03-24dundee: Add support for driver connectPaulo Borges1-1/+6
This patch glues together the dundee driver interface with the D-Bus Profile1 interface. When the dundee driver requests a connection, it will call the Device1's ConnectProfile.
2013-03-24dundee: Add BlueZ Profile handlerPaulo Borges1-0/+68
This patch declares the external dundee Profile handler. It contains the initial implementation of the D-Bus Profile1 interface and methods responsible for handling Bluetooth connections.
2013-03-24dundee: Register/unregister dundee devicePaulo Borges1-0/+23
This patch adds the dundee device struct to the our Bluetooth device representation.
2013-03-24dundee: Add dundee device driver skeletonPaulo Borges1-0/+18
This patch adds the functions to be called when the dundee will connect or disconnect with a Bluetooth device.
2013-03-24dundee: Listen to devices property changesPaulo Borges1-0/+15
When a bluetooth device property change and this property is Alias, we need to refresh our representation of this device.
2013-03-24dundee: Add tracking of bluetooth devicesPaulo Borges1-0/+102
This patch tracks the GDBusProxy for Bluetooth devices in order to be able to get their properties.
2013-03-24dundee: Add mechanism to store bluetooth devicesPaulo Borges1-0/+23
This patch adds a hash that will store every known bluetooth device that implements DUN service.
2013-03-24dundee: Initial GDBusClient for BlueZ 5Paulo Borges2-0/+38
This patch adds callbacks to track additions of BlueZ related interfaces.
2013-03-24dundee: Start BlueZ 5 supportPaulo Borges2-5/+47
This patch adds the BlueZ 5 support file for dundee.
2013-03-24dundee: Rename dundee BlueZ 4 supportPaulo Borges2-1/+1
The BlueZ 4 support file for dundee has now been renamed to bluez4.c to make it easier to add a BlueZ 5 support file.
2013-03-21hfp_ag_bluez5: Fix sanity checkDenis Kenzior1-2/+2
We should be checking that modems != NULL, not modems->data. This is because the list can be empty and we would crash.
2013-03-21dun_gw_bluez5: Fix sanity checkDenis Kenzior1-2/+2
We should be checking that modems != NULL, not modems->data. This is because the list can be empty and we would crash.
2013-03-21dun_gw_bluez5: Fix copy-paste errorDenis Kenzior1-1/+1
2013-03-21dun_gw: Add BlueZ 5 versionFrédéric Danis3-0/+239
This patch adds initial implementation of the D-Bus Profile1 interface and methods responsible for handling Bluetooth connections. The DUN GW profile interface is registered as soon as a GPRS capable modem is registered in oFono.
2013-03-21bluetooth: Rename DUN GW pluginFrédéric Danis2-4/+5
As BlueZ 5 introduced backwards incompatible API changes, and we want to keep support for BlueZ 4 based DUN GW plugin for some time, we need to separate DUN GW plugin which is based on BlueZ 4 from the one based on BlueZ 5. The dun_gw.c plugin is renamed to dun_gw_bluez4. This will make it easy to add a DUN GW plugin for BlueZ 5.
2013-03-21doc: Add Handsfree Audio Card "Connect" errorsClaudio Takahasi1-0/+6
2013-03-19ofono.conf: Punch hole for HandsfreeAudioAgentVinicius Costa Gomes1-0/+1
2013-03-18handsfree_audio: Call driver remove() on removalDenis Kenzior1-0/+3
2013-03-18core: Add bt_str2ba() to bluetooth.hClaudio Takahasi2-0/+9
This patch adds a utility Bluetooth function to convert Bluetooth address from string to bdaddr_t.
2013-03-18hfp_hf_bluez5: Set remote and local informationDenis Kenzior1-0/+2
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.