Denis Kenzior
5d3640397a
core: Quiet warning about strncpy use
2019-05-16 15:10:40 -05:00
Denis Kenzior
1c940839bb
handsfree: Dereference after validating !NULL
2019-04-29 14:26:43 -05:00
Jonas Bonn
3beeff758d
treewide: Remove superfluous use of _GNU_SOURCE
...
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
2018-10-17 10:01:57 -05:00
John Ernberg
1e5725993b
handsfree: Use g_slist_free_full
2016-04-22 15:28:43 -05:00
Denis Kenzior
35ebbf4c97
handsfree: Mark GetProperties method ASYNC
2015-07-06 04:06:45 -05:00
Denis Kenzior
fceb5a41c2
handsfree: Fix potential buffer overflow
...
Function: ag_features_list
static const char *list[10]; (Out of bounds write, line 75)
Incrementing i the value is now 10, for “hf-indicators”
Reported by: blanca.e.sabas.rosales@intel.com
2015-06-30 16:58:36 -05:00
Denis Kenzior
d3560b3784
handsfree: Be extra pedantic with booleans
2014-10-20 13:40:28 -05:00
Denis Kenzior
de02f68a2e
handsfree: Don't try to send a method return
...
When we are simply updating the AG of HF indicator changes, do not try
to send a method return message.
2014-10-20 13:40:28 -05:00
Denis Kenzior
6c0f90fc1b
handsfree: Implement new HF indicators API
2014-10-20 13:40:28 -05:00
Denis Kenzior
ab5b6d1217
handsfree: Skeleton implementation of DDR
...
Distracted Driving Reduction or Enhanced Safety is implemented using HF
indicator 0x0001
2014-10-20 13:40:28 -05:00
Denis Kenzior
66cf2a30fa
handsfree: Implement new Features property value
2014-10-20 13:40:28 -05:00
Andrew Earl
9bbc98651f
handsfree: correct crash on connect of hfp
2014-04-22 13:10:32 -05:00
Denis Kenzior
8cfcfa4519
handsfree: Rename variable
2014-04-10 09:43:47 -05:00
Denis Kenzior
ca3ae87d0a
handsfree: Reflow logic
2014-04-10 09:43:44 -05:00
Denis Kenzior
02138901d3
handsfree: Remove function
...
No need for one line functions that are only used once
2014-04-10 09:43:41 -05:00
Denis Kenzior
24e87d2580
handsfree: Rename function
...
No need for the ofono_ prefix here
2014-04-10 09:31:58 -05:00
Denis Kenzior
057c4d788f
handsfree: Remove unneeded variable
2014-04-10 09:29:32 -05:00
Denis Kenzior
805c3068be
handsfree: Remove unneeded variable i
2014-04-10 09:29:11 -05:00
Denis Kenzior
eb4fd9f5aa
handsfree: style fixes for previous commit
2014-04-10 09:25:30 -05:00
Andrew Earl
8327d528a9
hfp: Add subscriber number to handsfree properties
2014-04-10 09:21:23 -05:00
Denis Kenzior
5705a0078e
handsfree: Fixup variable names
2014-03-19 10:19:35 -05:00
Krzysztof Wilk
b2b3943717
hfp: extend Features to three way calling and CHLD
2014-03-19 10:15:55 -05:00
Claudio Takahasi
9a3cfcd109
core: Add SetProperty for EchoCancelingNoiseReduction
...
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.
2013-04-23 10:30:15 -05:00
Claudio Takahasi
275fe0df81
core: Set EchoCancelingNoiseReduction to TRUE by default
...
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.
2013-04-23 10:20:02 -05:00
Claudio Takahasi
6ef7d4fa88
core: Add EchoCancelingNoiseReduction to GetProperties
...
This patch adds EchoCancelingNoiseReduction property to GetProperties
method of Handsfree interface.
2013-04-23 10:19:35 -05:00
Claudio Takahasi
1b355c4232
core: Add "echo-canceling-and-noise-reduction"
...
This patch adds "echo-canceling-and-noise-reduction" to "Features"
property of the Handsfree interface.
2013-04-23 10:19:07 -05:00
Denis Kenzior
ad43b3d248
core: Include hfp.h
2013-04-09 14:33:41 -05:00
Denis Kenzior
679e3d708b
handsfree: Implement BatteryChargeLevel
2012-12-17 09:50:21 -06:00
Lucas De Marchi
e0d6f9f0ce
Do not set signature and reply in GDBus tables
...
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi
b3489f2ee8
Convert GDBus methods to use macro helpers
...
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida
924ee02ff7
Constify GDBus signal tables
...
Constify signal tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida
63bbdebdf2
Constify GDBus method tables
...
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Denis Kenzior
6861213024
handsfree: add ofono_handsfree_set_ag_features
2011-10-21 13:56:43 -05:00
Mikel Astiz
c5f7886cf2
handsfree: Implement voice recognition function
2011-10-21 13:13:48 -05:00
Marcel Holtmann
ac4c9d7237
core: Some more copyright fixes
2011-10-15 12:21:12 -07:00
Mikel Astiz
03866e30e2
handsfree: Removed ASYNC flag from GetProperties
2011-10-13 13:49:01 -05:00
Mikel Astiz
7b9fa9455c
handsfree: Expose RequestPhoneNumber in D-Bus API
2011-10-13 13:20:13 -05:00
Denis Kenzior
e32346aa51
handsfree: Don't emit signals if not registered
2011-10-13 13:01:17 -05:00
Mikel Astiz
a50e52cdfe
handsfree: Copyright statement correction
2011-10-13 12:27:17 -05:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Mikel Astiz
6072a98109
handsfree: Implement inband ring settings
2011-09-09 00:30:54 -05:00
Mikel Astiz
8de8e9f0c7
handsfree: Add skeleton implementation
2011-09-09 00:10:06 -05:00