Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-05 | handsfree-audio: add type for our audio cards | Simon Fels | 1 | -2/+22 | |
When registering audio cards for the handsfree and gateway roles we need a way for our users to differentiate between both to decide which of them they start using for their purpose. | |||||
2015-05-13 | handsfree-audio: Call sco_connected_hint | Denis Kenzior | 1 | -0/+3 | |
2015-05-13 | handsfree-audio: Add additional debugs | Denis Kenzior | 1 | -0/+5 | |
2015-02-02 | handsfree-audio: Refactor manager init / cleanup | Tommi Kenakkala | 1 | -8/+8 | |
2014-09-20 | handsfree-audio: Fix broken coding style in switch statement | Marcel Holtmann | 1 | -4/+4 | |
2013-09-12 | handsfree-audio: Don't listen() if no defer_setup | Vinicius Costa Gomes | 1 | -0/+3 | |
As we won't allow any card to be registered when the kernel doesn't support defer_setup, we don't need to have the listening SCO socket open in this case. | |||||
2013-09-12 | handsfree-audio: Don't register if no defer_setup | Vinicius Costa Gomes | 1 | -0/+3 | |
If the kernel doesn't support defer_setup for SCO, we shouldn't allow cards to be registered, because in that case we won't be able to properly send the file descriptor to the Agent. | |||||
2013-09-12 | handsfree-audio: Set socket parameters | Vinicius Costa Gomes | 1 | -0/+5 | |
In the AG case, the voice setting needs to be set before we can use Transparent SCO mode, which is necessary for Wideband speech support. | |||||
2013-09-12 | handsfree-audio: Detect transparent SCO in kernel | Vinicius Costa Gomes | 1 | -4/+14 | |
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-12 | handsfree-audio: Tweak logic a bit | Denis Kenzior | 1 | -4/+4 | |
2013-09-12 | handsfree-audio: Add setting SCO air mode | Vinicius Costa Gomes | 1 | -0/+32 | |
2013-08-07 | handsfree-audio: Make sure to reset has_wideband | Denis Kenzior | 1 | -0/+4 | |
When Agent is unregistered we do not know whether the wideband speech is supported. Default to false. | |||||
2013-05-03 | handsfree-audio: Fix replying to an empty D-Bus message | Vinicius Costa Gomes | 1 | -2/+7 | |
In the case that ofono_handsfree_card_connect_sco() is called outside the context of a .Connect() call, there's no message we need to reply. This happens, for example, when the HFP AG plugin initiates a SCO connection when it receives an AT+BCC command from the HF. | |||||
2013-04-25 | handsfree-audio: Implement ofono_handsfree_audio_has_defer_setup() | Vinicius Costa Gomes | 1 | -0/+5 | |
2013-04-16 | handsfree-audio: Add debug logging | João Paulo Rechi Vita | 1 | -1/+9 | |
Print debug messages when Handsfree Audio Agent registers or unregisters itself. | |||||
2013-04-15 | handsfree-audio: Toggle wideband support when the agent registers | Vinicius Costa Gomes | 1 | -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-15 | handsfree-audio: Keep track whether defer_setup is enabled | Vinicius Costa Gomes | 1 | -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-15 | handsfree-audio: Send the selected codec | Claudio Takahasi | 1 | -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-15 | handsfree-audio: Implement ofono_handsfree_card_set_codec() | Vinicius Costa Gomes | 1 | -0/+20 | |
2013-04-09 | handsfree-audio: Move codec enums to hfp.h | Denis Kenzior | 1 | -6/+1 | |
2013-04-09 | handsfree-audio: Remove unused 'codecs' field from agent | Vinicius Costa Gomes | 1 | -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-09 | handsfree-audio: Implement ofono_handsfree_audio_has_wideband | Vinicius Costa Gomes | 1 | -0/+6 | |
2013-03-28 | handsfree-audio: Add .Connect using the card driver | Vinicius Costa Gomes | 1 | -0/+25 | |
Now each handsfree implementation may be notified that a card wants its audio to be connected. | |||||
2013-03-28 | handsfree-audio: Add ofono_handsfree_card_connect_sco | Vinicius Costa Gomes | 1 | -43/+44 | |
2013-03-26 | handsfree-audio: Reject .Connect() from other senders | Vinicius Costa Gomes | 1 | -0/+6 | |
Only the agent should be able to call .Connect() on the card. | |||||
2013-03-26 | handsfree-audio: Add support for sending the SCO socket | Vinicius Costa Gomes | 1 | -0/+2 | |
Send the SCO socket to the agent associated with the card that just got connected. | |||||
2013-03-26 | handsfree-audio: Add support for initiating SCO connections | Vinicius Costa Gomes | 1 | -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-18 | handsfree_audio: Call driver remove() on removal | Denis Kenzior | 1 | -0/+3 | |
2013-03-18 | core: Add bt_str2ba() to bluetooth.h | Claudio Takahasi | 1 | -0/+1 | |
This patch adds a utility Bluetooth function to convert Bluetooth address from string to bdaddr_t. | |||||
2013-03-18 | handsfree-audio: Match new card API | Denis Kenzior | 1 | -5/+46 | |
2013-03-18 | handsfree-audio: Implement get/set data | Denis Kenzior | 1 | -0/+12 | |
2013-03-18 | handsfree-audio: Add card driver registration | Denis Kenzior | 1 | -0/+22 | |
2013-03-04 | handsfree-audio: Reject SCO if agent is unavailable | Claudio Takahasi | 1 | -0/+6 | |
This patch rejects the incoming SCO connection if there isn't a Handsfree Audio Agent registered. | |||||
2013-03-04 | handsfree-audio: Reject SCO if Card is not ready | Claudio Takahasi | 1 | -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-04 | handsfree-audio: Check local SCO address | Claudio Takahasi | 1 | -13/+31 | |
This patch verifies if the local Bluetooth address of the incoming connection also matches with one of available audio cards. | |||||
2013-03-04 | handsfree-audio: Add NewConnection | Claudio Takahasi | 1 | -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-04 | handsfree-audio: Add SCO handling | Claudio Takahasi | 1 | -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-01 | handsfree-audio: Check CVSD when registering agent | Claudio Takahasi | 1 | -2/+9 | |
This patch makes CVSD codec mandatory when registering a Handsfree Audio Agent. | |||||
2013-02-26 | handsfree-audio: properly increment next_card_id | Denis Kenzior | 1 | -0/+2 | |
2013-02-26 | handsfree-audio: Impelement CardRemoved signal | Denis Kenzior | 1 | -0/+15 | |
2013-02-26 | handsfree-audio: Implement CardAdded signal | Denis Kenzior | 1 | -1/+36 | |
2013-02-26 | handsfree-audio: Implement the GetCards method | Denis Kenzior | 1 | -1/+44 | |
2013-02-26 | handsfree-audio: Implement card GetProperties | Denis Kenzior | 1 | -1/+29 | |
2013-02-26 | handsfree-audio: Unregister from DBus on removal | Denis Kenzior | 1 | -1/+13 | |
2013-02-26 | handsfree-audio: Add skeleton D-Bus registration | Denis Kenzior | 1 | -0/+50 | |
For HandsfreeAudioCard objects | |||||
2013-02-26 | handsfree-audio: Don't hardcode '/' path | Denis Kenzior | 1 | -3/+5 | |
Use OFONO_MANAGER_PATH instead | |||||
2013-02-26 | handsfree-audio: Implement card create / remove | Denis Kenzior | 1 | -0/+36 | |
2013-02-21 | handsfree-audio: Add ref / unref support | Denis Kenzior | 1 | -7/+39 | |
2013-02-20 | handsfree-audio: Don't go over 80 characters | Denis Kenzior | 1 | -2/+2 | |
2013-02-20 | handsfree-audio: Add Agent tracking | Claudio Takahasi | 1 | -0/+14 | |
This patch tracks when the Handsfree Audio Agent leaves the system BUS, and free agent allocated resources. |