summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-16handsfree-audio: Add debug loggingJoão Paulo Rechi Vita1-1/+9
Print debug messages when Handsfree Audio Agent registers or unregisters itself.
2013-04-15emulator: Change feature check to attend HFP 1.6Paulo Borges1-1/+1
HFP 1.6 adds a new feature called Codec Negotitation. For the HF Role, this feature is stored in bit 8 of the supported features bitmap. This patch changes the range of valid HF feature bitmaps to 2^8-1.
2013-04-15handsfree-audio: Toggle wideband support when the agent registersVinicius Costa Gomes1-2/+9
Each time an agent registers itself, we check if we support deferred setup and if the agent has mSBC as a codec, if both checks are true, we enable wideband speech support.
2013-04-15handsfree-audio: Keep track whether defer_setup is enabledVinicius Costa Gomes1-2/+5
'defer_setup' will be one of the inputs when enabling or disabling support for wideband speech codecs, we will only enable wideband speech support if the kernel supports deferred setup. So, we have to have this information available, in this case it means a global variable.
2013-04-15handsfree-audio: Send the selected codecClaudio Takahasi1-4/+3
This patch removes the hard-coded CVSD codec, and adds the selected codec in the NewConnection method call, notifying the agent the codec previously selected for the audio connection.
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-15handsfree-audio: Implement ofono_handsfree_card_set_codec()Vinicius Costa Gomes1-0/+20
2013-04-15include: Add ofono_handsfree_card_set_codec()Vinicius Costa Gomes1-0/+2
This will be used by the drivers that a given codec was negotiated for a card. It will return FALSE if the codec can't be used. For example, if the selected codec is mSBC and defer setup is not supported by the kernel.
2013-04-09hfpmodem: Send AT+BAC with the supported codecsVinicius Costa Gomes1-1/+11
Before, the AT+BAC command was being sent with fixed information, now we send the command (that inform the AG of the codecs supported by the HF) with the codecs supported by the registered Handsfree Audio Agent.
2013-04-09handsfree-audio: Move codec enums to hfp.hDenis Kenzior2-6/+7
2013-04-09core: Include hfp.hDenis Kenzior2-0/+2
2013-04-09hfp_hf_bluez5: Include hfp.hDenis Kenzior1-0/+1
2013-04-09drivers: Include hfp.hDenis Kenzior2-0/+2
2013-04-09core: Add hfp.hDenis Kenzior2-1/+48
This will serve as a collection point for all HFP related definitions.
2013-04-09include: Remove hfp bits from types.hDenis Kenzior1-26/+0
2013-04-09handsfree-audio: Remove unused 'codecs' field from agentVinicius Costa Gomes1-5/+0
Now that we only keep track whether we support wideband speech or not, we don't have to keep track of the list of codecs supported by the Agent.
2013-04-09handsfree-audio: Implement ofono_handsfree_audio_has_widebandVinicius Costa Gomes1-0/+6
2013-04-09include: Add ofono_handsfree_audio_has_wideband()Vinicius Costa Gomes1-0/+2
As we can assume that the CVSD codec will be always available, the only information that we need to export is if we have support for wideband codecs. Right now only mSBC is defined as wideband.
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-08gdbus: Fix not calling property_changed callbackLuiz Augusto von Dentz1-13/+10
In case a property did not appear by the time proxy_added was called property_changed has to be called if it appear latter otherwise the application will be unaware of it.
2013-04-08gdbus: Use gcc builtin instead of g_atomicLucas De Marchi1-6/+6
g_atomic_* end up using G_STATIC_ASSERT, causing gcc 4.8 to yell due to -Wunused-local-typedefs. gdbus/client.c: In function ‘g_dbus_client_ref’: /usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef ‘_GStaticAssertCompileTimeAssertion_2’ locally defined but not used [-Werror=unused-local-typedefs] #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
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-04-01modem: Support modem property "AlwaysOnline"Forest Bond1-6/+14
This can be set by the modem driver to indicate that the device is always in the online state when it is enabled. This is useful for modem drivers that handle both CDMA and GSM devices.
2013-04-01AUTHORS: Mention Anthony's contributionsDenis Kenzior1-0/+1
2013-04-01sim: Add SIMCOM SIM card ready quirkAnthony Viallard1-0/+7
SIM is busy right after pin is entered. Use the quirk which add a CPIN? pooling check until having "CPIN: READY" answer.
2013-03-28modem: Allow setting boolean propertiesForest Bond1-1/+2
2013-03-28handsfree-audio: Add .Connect using the card driverVinicius Costa Gomes1-0/+25
Now each handsfree implementation may be notified that a card wants its audio to be connected.
2013-03-28handsfree-audio: Add ofono_handsfree_card_connect_scoVinicius Costa Gomes1-43/+44
2013-03-28include: Add ofono_handsfree_card_connect_sco()Vinicius Costa Gomes1-0/+2
This will be used by HFP plugins to tell the core that a SCO connection needs to be established.
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-26include: Fix hf audio connect method declarationDenis Kenzior1-1/+1
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.