| a6069675 |
adapter: Move storage names to cache directory |
Frédéric Danis |
13 years ago |
2 files, +99, -6 |
| dd0aedc5 |
TODO: Add entry to remove storage convertion function |
Frédéric Danis |
13 years ago |
1 file, +6, -0 |
| 2c44db9a |
adapter: Move saved config to ini-file format
Read and write config file in ini-file format.
If the file can not be loaded, try to convert legacy configuration. |
Frédéric Danis |
13 years ago |
1 file, +168, -38 |
| a10a9f54 |
adapter: Read mode in storage at init
Mgmt interface allows to change connectable and discoverable adapter
status even if the adapter is off. So both status are changed during
adapter init.
Remove on_mode from btd_adapter_get_mode(), as it is no more used.
Update src/mgmt.c and plugins/neard.c |
Frédéric Danis |
13 years ago |
5 files, +45, -51 |
| 53b18295 |
adapter: Read discoverable timeout in storage at init |
Frédéric Danis |
13 years ago |
1 file, +7, -12 |
| a1098f65 |
adapter: Read pairable timeout in storage at init |
Frédéric Danis |
13 years ago |
1 file, +10, -11 |
| 5a49021e |
adapter: Move pairable read to load_config() |
Frédéric Danis |
13 years ago |
1 file, +4, -4 |
| 31c34654 |
adapter: Remove device class storage |
Frédéric Danis |
13 years ago |
3 files, +7, -15 |
| e01b7cfa |
adaptername: Retrieve config name from adapter |
Frédéric Danis |
13 years ago |
1 file, +4, -2 |
| 284af778 |
adapter: Read name in storage at init |
Frédéric Danis |
13 years ago |
1 file, +13, -0 |
| 7ad67490 |
doc: Add settings storage documentation |
Frédéric Danis |
13 years ago |
1 file, +183, -0 |
| 38bac0a0 |
doc: Fix typo in media API |
Michael Knudsen |
13 years ago |
1 file, +1, -1 |
| e3f677b3 |
doc: Add missing info of peripheral setting to mgmt API |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| d6ff5518 |
mgmt: Remove LE prefix from the peripheral setting |
Johan Hedberg |
13 years ago |
3 files, +3, -3 |
| 1b0a4291 |
mgmt: Add support for LE peripheral mode |
Johan Hedberg |
13 years ago |
5 files, +45, -7 |
| f45ee9ff |
btmgmt: Add basic EIR parsing |
Johan Hedberg |
13 years ago |
2 files, +15, -3 |
| 6386e2d2 |
core: Remove unnecessary include from glib-helper.c |
Johan Hedberg |
13 years ago |
1 file, +0, -1 |
| 70a609bb |
sap: Fix connected property fetching when not connected |
Johan Hedberg |
13 years ago |
1 file, +6, -2 |
| d24560cf |
attrib: Fix memory leak if att_data_list_alloc fails
Fix for memory leak which was introduced in commit
f8619bef3406a2134082dc41c208105fe028c09f. |
Ludek Finstrle |
13 years ago |
1 file, +9, -3 |
| fc10fc4e |
doc: Update Health to BlueZ 5
Adapt to the new DBus.Properties and cleanup the format used in this
documentation to be similar to the other profiles. |
Lucas De Marchi |
13 years ago |
1 file, +98, -100 |
| b9d9498e |
health: Convert HealthDevice to DBus.Properties |
Lucas De Marchi |
13 years ago |
1 file, +26, -30 |
| d9ecb9c6 |
health: Convert HealthChannel to DBus.Properties
Also remove a needless strdup to send type property. |
Lucas De Marchi |
13 years ago |
1 file, +36, -32 |
| aaa40311 |
sap: Convert to DBus.Properties |
Lucas De Marchi |
13 years ago |
2 files, +18, -52 |
| 5b804fe6 |
sap: Fix usage of wrong struct in get_properties() |
Lucas De Marchi |
13 years ago |
1 file, +2, -1 |
| 6b351f59 |
input: Fix not sending PropertiesChanged signal |
Lucas De Marchi |
13 years ago |
1 file, +4, -9 |
| ea534e0c |
core: Update gdbus function calls
Done by the following semantic patch, with manual tweaks afterwards due
to changes in 80-chars line breaks:
// <smpl>
@r1 @
expression E1;
@@
g_dbus_pending_property_success(
- E1,
...)
@r2 @
expression E1;
@@
g_dbus_pending_property_error(
- E1,
...)
@r3 @
expression E1;
@@
g_dbus_pending_property_error_valist(
- E1,
...)
// </smpl> |
Lucas De Marchi |
13 years ago |
2 files, +69, -94 |
| ef27c6c7 |
gdbus: Remove connection from pending_property functions
The reply to a DBus.Properties.Set() method call should go through the
same D-Bus connection. Thus remove the DBusConnection parameter from the
following functions:
- g_dbus_pending_property_success()
- g_dbus_pending_property_error_valist()
- g_dbus_pending_property_error() |
Lucas De Marchi |
13 years ago |
2 files, +17, -20 |
| 8432085c |
adapter: Fix memory leak on discovery cleanup
During discovery cleanup, it was attempted to send a DevicesFound()
D-Bus signal for pending found devices, but adapter->discovery was set
to NULL before calling send_devices_found(), therefore it never sent any
signal (and there was a leak of discovery->pending list).
Fixes this memory leak when pairing two LE devices:
==1822== 8 bytes in 1 blocks are definitely lost in loss record 42 of
246
==1822== at 0x482BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==1822== by 0x48869AA: standard_malloc (gmem.c:85)
==1822== by 0x4886E42: g_malloc (gmem.c:159)
==1822== by 0x489B26D: g_slice_alloc (gslice.c:1003)
==1822== by 0x489C10A: g_slist_prepend (gslist.c:265)
==1822== by 0x1855AE: adapter_update_found_devices (adapter.c:2846)
==1822== by 0x191431: btd_event_device_found (event.c:260)
==1822== by 0xBC01001A: ???
==1822== |
Anderson Lizardo |
13 years ago |
1 file, +2, -2 |
| 01a2495a |
test: List only specified adapter's devices in list-devices |
Johan Hedberg |
13 years ago |
1 file, +2, -0 |
| 340cdeb4 |
device: Fix modifying list while iterating
A list should not be modified while iterating on it, and in this case
the solution is trivial: the code is just trying to free the whole list
with a previous call to profile->device_remove() per list item. |
Mikel Astiz |
13 years ago |
1 file, +2, -2 |
| fd16f2cc |
heartrate: Always write measurement CCC on discovery
Measurement CCC is written during discovery only in case watcher is
registered and notifications shall be enabled. However, it may happen
that (e.g. during reconnection scenario) notifications are already
enabled on remote but watcher is no longer registered and we will
be receiving unwanted notifications.
This patch makes sure measurement CCC is written to proper value
every time it's discovered during connection. |
Andrzej Kaczmarek |
13 years ago |
1 file, +14, -12 |
| 9b80a1f0 |
doc: Update to match latest BlueZ 5 API |
Johan Hedberg |
13 years ago |
4 files, +11, -71 |
| 03cd7b4b |
adapter: Remove not used defines
check_address and OFF_TIMER are not used anymore. |
Szymon Janc |
13 years ago |
1 file, +0, -4 |
| 4b273e5d |
lib: Simplify str2ba function
Reverse loop iteration so that baswap call is not needed. |
Szymon Janc |
13 years ago |
1 file, +2, -5 |
| 385a7bd5 |
mgmt: Remove not used members from controller_info
notified, version, manufacturer and dev_class were not used for
anything usefull. For debug print reply can be used directly. |
Szymon Janc |
13 years ago |
1 file, +2, -10 |
| ef745284 |
input: Remove not needed adapters list in manager
adapters list is not used for anything usefull. |
Szymon Janc |
13 years ago |
1 file, +1, -14 |
| c36d3d7d |
network: Remove redundant struct network_peer members
struct network_peer holds reference to btd_device so path, src and dst
can be accessed from it. |
Szymon Janc |
13 years ago |
5 files, +43, -54 |
| b33477bd |
audio: Remove path from struct audio_device
struct audio_device is holding a reference to btd_device and path can
be easily taken from it when needed. |
Szymon Janc |
13 years ago |
9 files, +102, -83 |
| 89b59038 |
mgmt: Make mgmt_update_powered return void
mgmt_update_powered always returned 0 and this was never checked by
caller. |
Szymon Janc |
13 years ago |
1 file, +2, -4 |
| d9465e82 |
audio: Move btd_device unref after last use in device_free
btd_device should not be used after local reference was dropped. |
Szymon Janc |
13 years ago |
1 file, +2, -2 |
| 4fff3327 |
device: Mark services as resolved also when loading from storage |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| 03fdd8bc |
control: Add Control.Disconnect method
This method can be used to disconnect AVRCP. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +35, -0 |
| 31951cc6 |
control: Add Control.Connect API
This method can be used to manually connect AVRCP when acting as a
controller. |
Luiz Augusto von Dentz |
13 years ago |
2 files, +49, -0 |
| 195fc945 |
control: Add basic support for AVRCP 1.0 controller |
Luiz Augusto von Dentz |
13 years ago |
2 files, +68, -17 |
| 2d7af851 |
AVRCP: Add proper role init procedure |
Luiz Augusto von Dentz |
13 years ago |
1 file, +103, -10 |
| e5a818b6 |
AVRCP: Fix handling TG PDUs as they were CT PDUs
PDU handling needs to different depending on the acting role. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +57, -24 |
| 23ad7c05 |
AVRCP: Fix reading wrong profile when acting as a controller
The role indicate which record should be read so we properly determine
the version and what features are supported. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +18, -1 |
| a8359428 |
AVCTP: Add proper queueing for channels
Add a request queue to channels to avoid dispatching too many requests
at once as the number of transaction is quite limited (16). |
Luiz Augusto von Dentz |
13 years ago |
1 file, +245, -98 |
| e8fb5895 |
AVCTP: Add proper prefix to AVC passthrough codes |
Luiz Augusto von Dentz |
13 years ago |
3 files, +25, -25 |
| 8f155c0c |
AVCTP: Wait confirmation to send button release |
Luiz Augusto von Dentz |
13 years ago |
1 file, +46, -12 |