Age | Commit message (Collapse) | Author | Files | Lines |
|
It's not possible to be both greater than '9' and less than '0'. This
would lead to accepting things like "#$33#" as activation and "*$33#" as
deactivation, even though the string makes no sense.
|
|
src/stk.c: In function ‘__ofono_cbs_sim_download’:
src/stk.c:283:45: error: argument to ‘sizeof’ in ‘memcpy’ call is the
same expression as the source; did you mean to dereference it?
[-Werror=sizeof-pointer-memaccess]
memcpy(&e.cbs_pp_download.page, msg, sizeof(msg));
^
|
|
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.
|
|
|
|
|
|
This patch extends SetProperty method of the Handsfree interface
allowing to disable echo canceling and noise reduction feature in
the audio gateway through a D-Bus method call. Once disabled, it
is not allowed to enable it using this procedure.
|
|
According to Bluetooth HFP spec: By default, if the AG supports its
own embedded echo canceling and/or noise reduction functions, it shall
have them activated until the AT+NREC command is received. The
configuration set by the HF shall by used by the AG while the Service
Level Connection is active.
Since there isn't a command to query the current value, it is being
assumed that Echo Canceling and Noise Reduction is enabled when the
connection is established and the gateway supports this feature.
|
|
This patch adds EchoCancelingNoiseReduction property to GetProperties
method of Handsfree interface.
|
|
This patch adds "echo-canceling-and-noise-reduction" to "Features"
property of the Handsfree interface.
|
|
hfp.h should store all HFP related definitions.
|
|
Print debug messages when Handsfree Audio Agent registers or unregisters
itself.
|
|
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.
|
|
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.
|
|
'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.
|
|
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.
|
|
|
|
|
|
|
|
This will serve as a collection point for all HFP related definitions.
|
|
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.
|
|
|
|
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.
|
|
|
|
Now each handsfree implementation may be notified that a card wants
its audio to be connected.
|
|
|
|
Only the agent should be able to call .Connect() on the card.
|
|
Send the SCO socket to the agent associated with the card that
just got connected.
|
|
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.
|
|
|
|
|
|
This patch adds a utility Bluetooth function to convert Bluetooth
address from string to bdaddr_t.
|
|
|
|
|
|
|
|
This patch rejects the incoming SCO connection if there isn't a
Handsfree Audio Agent registered.
|
|
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.
|
|
This patch verifies if the local Bluetooth address of the incoming
connection also matches with one of available audio cards.
|
|
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.
|
|
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.
|
|
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.
|
|
This patch makes CVSD codec mandatory when registering a Handsfree
Audio Agent.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For HandsfreeAudioCard objects
|
|
Use OFONO_MANAGER_PATH instead
|
|
|