summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2013-10-01hfp_hf_bluez5: Be more pedantic in get_versionDenis Kenzior1-5/+6
If no 'Version' key is found we might be assigning an uninitialized value. Return an error in this case as the 'Version' key is required.
2013-10-01hfp_hf_bluez5: Add version debug infoDenis Kenzior1-0/+2
2013-09-12handsfree-audio: Detect transparent SCO in kernelVinicius Costa Gomes1-1/+1
Deferred SCO setup is not enough for HFP 1.6 wideband codec support. Wideband speech also requires Transparent SCO to be enabled in the kernel.
2013-09-12hfp_hf_bluez5: Remove Cancel methodDenis Kenzior1-11/+0
2013-09-12hfp_hf_bluez5: Mark Release method as NOREPLYDenis Kenzior1-4/+2
2013-07-19sim900: Use SIM900 quirk for gprs contextJesper Larsen1-1/+1
Use the module specific quirk for gprs by using the vendor entry OFONO_VENDOR_SIMCOM_SIM900
2013-07-17sim900: Fix order of dlc prefixesJesper Larsen1-5/+5
The order of the defines for the dlc prefixes does not match the order of the array containing the strings to print.
2013-07-17sim900: Enable serial receiverJesper Larsen1-0/+1
The read option must be set to 'on' in order for two-way communication with SIM900 module to work.
2013-06-26hfp_hf_bluez5: Fix SDP record with correct featuresFrederic Danis1-1/+2
2013-04-25hfp_hf_bluez5: Enable WB only with defer_setupVinicius Costa Gomes1-2/+8
When setting the SDP features, only enable wideband speech support if the kernel has defer setup for SCO. It is possible that even if defer setup is supported the kernel is not able to use Transparent Mode for SCO.
2013-04-25Revert "hfp_hf_bluez5: UUIDs can change after Pairing"Denis Kenzior1-2/+1
This reverts commit 456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a.
2013-04-25hfp_hf_bluez5: Register the SDP record with correct featuresVinicius Costa Gomes1-1/+6
2013-04-25bluez5: Unify bt_register_profile_* into a single functionVinicius Costa Gomes5-18/+12
It was a cause of confusion for little gain to have separate functions for registering profiles with extra information, for example "role" and "features". We remove those helper functions in favor of a single one with more parameters, "role" and "feature" when NULL, will be ignored.
2013-04-22hfp_ag_bluez5: Implement RequestDisconnection()Paulo Borges1-3/+27
When a RequestDisconnect() is received, the socket must be closed. This way, the related emulator will be freed.
2013-04-22hfp_ag_bluez5: Add watch for G_IO_HUP when connectPaulo Borges1-1/+22
A watch to G_IO_HUP is added to remove the file descriptor when the emulator is automatically disconnected when its GAtServer closes. We use a dupped file descriptor because the events aren't delivered to the file descriptor who originated them.
2013-04-22hfp_ag_bluez5: Create a hash to store connectionsPaulo Borges1-0/+15
We need to store active connections so we can disconnect them at RequestDisconnect(). When we remove a connection from the hash, we also close it.
2013-04-18hfp_ag_bluez5: Remove unused includesPaulo Borges1-4/+0
2013-04-18hfp_ag_bluez5: Include hfp.hPaulo Borges1-0/+1
2013-04-18phonesim: Include hfp.hPaulo Borges1-0/+1
2013-04-18hfp_hf_bluez5: UUIDs can change after PairingVinicius Costa Gomes1-1/+2
For example, in the case of a remote-initiated pairing, the device may be created and Paired first, then the UUID array is emitted later.
2013-04-15hfp_hf_bluez5: Watch for changes in the selected codecVinicius Costa Gomes1-0/+40
This patch adds a function to monitor when the AG sends a new codec before establishing the SCO connection.
2013-04-09hfp_hf_bluez5: Include hfp.hDenis Kenzior1-0/+1
2013-04-09hfp_hf_bluez5: Remove redundant parenthesesDenis Kenzior1-2/+2
2013-04-09hfp_hf_bluez5: Add audio card .connect() for HFP 1.6Vinicius Costa Gomes1-1/+29
2013-04-05hfp_hf_bluez5: Use 1.6 card driverVinicius Costa Gomes1-2/+10
2013-04-05hfp_hf_bluez5: Add extracting versionClaudio Takahasi1-1/+48
This patch parses and reads the profile "Version" that comes in the fd dictionary of the NewConnection method. "Version" is input for Audio Card registration.
2013-04-01huawei: Use AlwaysOnline for CDMA modemsForest Bond1-0/+7
2013-03-28hfp_hf_bluez5: Make sure to call the callbackDenis Kenzior1-1/+2
2013-03-28hfp_hf_bluez5: Add a card driver for HFP 1.6Vinicius Costa Gomes1-0/+37
This is just the skeleton of a Handsfree Audio Card for the HF side of HFP 1.6.
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-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 Danis2-0/+236
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 Danis1-2/+3
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-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-12hfp_hf_bluez5: Remove duplicated includeClaudio Takahasi1-1/+0
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-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-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