summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-18handsfree-audio: Match new card APIDenis Kenzior1-5/+46
2013-03-18handsfree-audio: Implement get/set dataDenis Kenzior1-0/+12
2013-03-18handsfree-audio: Add card driver registrationDenis Kenzior1-0/+22
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-04core: Add new Bluetooth headerClaudio Takahasi1-0/+71
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-01handsfree-audio: Check CVSD when registering agentClaudio Takahasi1-2/+9
This patch makes CVSD codec mandatory when registering a Handsfree Audio Agent.
2013-02-26handsfree-audio: properly increment next_card_idDenis Kenzior1-0/+2
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-26handsfree-audio: Implement card create / removeDenis Kenzior1-0/+36
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-21handsfree-audio: Add ref / unref supportDenis Kenzior1-7/+39
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 Takahasi2-0/+84
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-14modem: Implement ofono_modem_findDenis Kenzior1-0/+16
2013-01-16storage: Include sys/types.h for ssize_tLucas De Marchi1-0/+1
src/storage.h:32:1: error: unknown type name 'ssize_t' src/storage.h:36:1: error: unknown type name 'ssize_t'
2013-01-01stk: Fix crash with Modem-Handled SIM RefreshDenis Kenzior1-1/+7
2013-01-01Revert "stk: Fix crash in SIM refresh handling"Denis Kenzior1-2/+2
This reverts commit dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5.
2012-12-17handsfree: Implement BatteryChargeLevelDenis Kenzior1-0/+27
2012-11-29sms: Don't try to start the queue if already activeDenis Kenzior1-0/+3
If the queue is currently inside a submit operation and the network registration state changes, do not try to schedule the next operation.
2012-11-28stk: Fix Set Up Call with pause charactersDenis Kenzior1-1/+14
Set Up Call with extra DTMF characters after the phone number should be set up with only the dialed number. Otherwise we get a sequence like this: {VoiceCallManager} [CallAdded] /ifx_0/voicecall01 { LineIdentification = +012340123456c1c2, Name = , Emergency = False, Multiparty = False, RemoteHeld = False, State = alerting, RemoteMultiparty = False }
2012-11-28stk: Print what kind of info the SIM wantsDenis Kenzior1-3/+45
In Provide Local Information implementation
2012-11-28voicecall: Add extra debug infoDenis Kenzior1-0/+3
2012-11-28voicecall: Fix crashDenis Kenzior1-4/+7
2012-11-28sim: Fix crashDenis Kenzior1-3/+4
ofonod[32055]: ++++++++ backtrace ++++++++ ofonod[32055]: #0 0x7f6af0ee3b30 in /lib64/libc.so.6 ofonod[32055]: #1 0x4c2466 in __ofono_watchlist_remove_item() at src/watch.c:57 ofonod[32055]: #2 0x4b5b73 in ofono_sim_remove_spn_watch() at src/sim.c:2715 ofonod[32055]: #3 0x497c30 in netreg_unregister() at src/network.c:1817 ofonod[32055]: #4 0x4912e1 in __ofono_atom_unregister() at src/modem.c:277 ofonod[32055]: #5 0x491387 in flush_atoms() at src/modem.c:425 ofonod[32055]: #6 0x4b6cb8 in __ofono_sim_refresh() at src/sim.c:3154 ofonod[32055]: #7 0x4b8c41 in handle_command_refresh() at src/stk.c:2302 ofonod[32055]: #8 0x4baf0d in ofono_stk_proactive_command_handled_notify() at src/stk.c:3048 ofonod[32055]: #9 0x46c60f in satn_notify() at drivers/ifxmodem/stk.c:229 ofonod[32055]: #10 0x7f6af1711455 in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #11 0x43e729 in at_chat_match_notify() at gatchat/gatchat.c:421 ofonod[32055]: #12 0x440da8 in received_data() at gatchat/gatio.c:125 ofonod[32055]: #13 0x441834 in dispatch_sources() at gatchat/gatmux.c:157 ofonod[32055]: #14 0x441bbd in received_data() at gatchat/gatmux.c:215 ofonod[32055]: #15 0x7f6af173dfc3 in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #16 0x7f6af16ef065 in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #17 0x7f6af16efd0f in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #18 0x7f6af16efef9 in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #19 0x7f6af16f032f in /usr/lib64/libglib-2.0.so.0 ofonod[32055]: #20 0x48f5f8 in main() at src/main.c:249 ofonod[32055]: #21 0x7f6af0ed04bd in /lib64/libc.so.6 ofonod[32055]: +++++++++++++++++++++++++++
2012-11-28stk: Handle self explanatory icons in idle mode textDenis Kenzior1-5/+9