OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agoavrcp: Notify remote of volume changes
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:31 +0000 (17:25 -0300)]
avrcp: Notify remote of volume changes

11 years agoavrcp: Handle RegisterNotification for volume
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:30 +0000 (17:25 -0300)]
avrcp: Handle RegisterNotification for volume

This commit answers a NOTIFY command to register for nofications of
EVENT_VOLUME_CHANGED with an INTERIM response containing the current
absolute volume value.

11 years agotransport: Get volume passing only audio_device
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:29 +0000 (17:25 -0300)]
transport: Get volume passing only audio_device

11 years agotransport: Keep a list o all existent transports
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:28 +0000 (17:25 -0300)]
transport: Keep a list o all existent transports

11 years agotransport: Get volume from transport
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:27 +0000 (17:25 -0300)]
transport: Get volume from transport

11 years agoavrcp: Add EVENT_VOLUME_CHANGED to CT capabilities
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:26 +0000 (17:25 -0300)]
avrcp: Add EVENT_VOLUME_CHANGED to CT capabilities

11 years agotransport: Store the value set through the 'Volume' property
João Paulo Rechi Vita [Fri, 11 Jan 2013 20:25:25 +0000 (17:25 -0300)]
transport: Store the value set through the 'Volume' property

11 years agotransport: Initialize the "Volume" property
João Paulo Rechi Vita [Mon, 14 Jan 2013 16:10:29 +0000 (13:10 -0300)]
transport: Initialize the "Volume" property

11 years agocore: Fix handling mgmt socket write failures
Johan Hedberg [Tue, 15 Jan 2013 17:46:04 +0000 (19:46 +0200)]
core: Fix handling mgmt socket write failures

If a write to the socket fails we should properly notify the command
callback and remove the command from the queue.

11 years agocore: Move valid discovery type check to mgmt_start_discovery
Johan Hedberg [Tue, 15 Jan 2013 14:19:47 +0000 (16:19 +0200)]
core: Move valid discovery type check to mgmt_start_discovery

11 years agocore: Fix connect list usage for non-LE adapters
Johan Hedberg [Tue, 15 Jan 2013 13:46:56 +0000 (15:46 +0200)]
core: Fix connect list usage for non-LE adapters

11 years agocore: Don't try to start discovery with invalid address type
Johan Hedberg [Tue, 15 Jan 2013 12:41:25 +0000 (14:41 +0200)]
core: Don't try to start discovery with invalid address type

11 years agocore: Add more debug logs to start_discovery functions
Johan Hedberg [Tue, 15 Jan 2013 12:38:18 +0000 (14:38 +0200)]
core: Add more debug logs to start_discovery functions

11 years agocore: Add debug log to mgmt_start_discovery()
Johan Hedberg [Tue, 15 Jan 2013 11:56:49 +0000 (13:56 +0200)]
core: Add debug log to mgmt_start_discovery()

11 years agotools: Fix map-client to use new print syntax
Luiz Augusto von Dentz [Mon, 14 Jan 2013 15:39:28 +0000 (17:39 +0200)]
tools: Fix map-client to use new print syntax

print now requires () on newer python:
  File "./map-client", line 101
    print err
            ^

11 years agoobexd: Remove transferred file only if the GET operation failed
Christian Fetzer [Fri, 11 Jan 2013 15:55:57 +0000 (16:55 +0100)]
obexd: Remove transferred file only if the GET operation failed

Since 9606375649e12f1b9f302bbb5bb8f87957387ddd xfer_complete() sets the
transfer status rather than the size. Adapt obc_transfer_free to check
for the completed status to avoid deletion of completed transfers.

11 years agoobexd: Change behavior of parse_filter_read
Christian Fetzer [Fri, 11 Jan 2013 15:55:56 +0000 (16:55 +0100)]
obexd: Change behavior of parse_filter_read

Calls to ListMessages with filter 'Read' set to true should
request the MSE to send read messages only.

The old code requests the MSE to send unread messages only.
This behavior is not matching the other filters.

11 years agoobexd: Use defines for values in parse_filter_read parse_filter_priority
Christian Fetzer [Fri, 11 Jan 2013 15:55:55 +0000 (16:55 +0100)]
obexd: Use defines for values in parse_filter_read parse_filter_priority

11 years agoobexd: Fix segfault in parse_filter_read and parse_filter_priority
Christian Fetzer [Fri, 11 Jan 2013 15:55:54 +0000 (16:55 +0100)]
obexd: Fix segfault in parse_filter_read and parse_filter_priority

Calls to ListMessages with filter 'Read' or 'Priority' caused a segfault
in parse_filter_read / parse_filter_priority. The functions read
D-Bus boolean values (uint32) into uint8.

0  0x00007ffff730332d in ?? () from /usr/lib/libdbus-1.so.3
1  0x00007ffff7304219 in dbus_message_iter_next () from /usr/lib/libdbus-1.so.3
2  0x000000000043ef0f in parse_message_filters (
    apparam=<error reading variable: Cannot access memory at address 0x7ffffeffff08>,
    iter=<error reading variable: Cannot access memory at address 0x7ffffeffff00>)
    at obexd/client/map.c:1246

11 years agoobexd: Fix FILTER_ALL in MAP client to set 16 bit
Christian Fetzer [Fri, 11 Jan 2013 15:55:53 +0000 (16:55 +0100)]
obexd: Fix FILTER_ALL in MAP client to set 16 bit

The MAP specification defines ParameterMask as a bitmask of 32 bit / 4 bytes.
For the lower 16 bit the specification defines parameters, the higher 16 bit
remain reserved for future use. Therefore FILTER_ALL is set to 0x0000FFFF.
(Reserved bits have to be set to 0)

In addition this fixes the issue that ListFilterFields didn't show all fields.

11 years agoobexd: Fix infinite loop in ListMessages with filter "Types"
Christian Fetzer [Fri, 11 Jan 2013 15:55:52 +0000 (16:55 +0100)]
obexd: Fix infinite loop in ListMessages with filter "Types"

Calls to ListMessages with filter 'Types' make obexd hang in an infinite loop.
This is caused by a missing dbus_message_iter_next in parse_filter_type.

0  0x00007ffff7304ca7 in dbus_message_iter_get_basic ()
   from /usr/lib/libdbus-1.so.3
1  0x0000000000434fba in parse_filter_type (iter=0x7fffffffd7d0, apparam=
    0x6987f0) at obexd/client/map.c:1086
2  parse_message_filters (iter=0x7fffffffd730, apparam=0x6987f0)
    at obexd/client/map.c:1222
3  map_list_messages (connection=<optimized out>, message=0x669ae0, user_data=
    0x698a60) at obexd/client/map.c:1273
4  0x00000000004109a1 in process_message (connection=0x662b20,
    message=<optimized out>, iface_user_data=<optimized out>,
    method=<optimized out>, method=<optimized out>) at gdbus/object.c:285
5  0x00007ffff7308e15 in ?? () from /usr/lib/libdbus-1.so.3
6  0x00007ffff72fb070 in dbus_connection_dispatch ()
   from /usr/lib/libdbus-1.so.3
7  0x000000000040e3d8 in message_dispatch (data=0x662b20)
    at gdbus/mainloop.c:76
8  0x00007ffff703d3cb in ?? () from /usr/lib/libglib-2.0.so.0
9  0x00007ffff703c845 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
10 0x00007ffff703cb78 in ?? () from /usr/lib/libglib-2.0.so.0
11 0x00007ffff703cf72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
12 0x000000000040df82 in main (argc=1, argv=0x7fffffffdd88)
    at obexd/src/main.c:323

11 years agoobexd: Add property exist functions to map client
Christian Fetzer [Fri, 11 Jan 2013 15:55:51 +0000 (16:55 +0100)]
obexd: Add property exist functions to map client

This fixes crashes in MAP client when the server does not send optional properties.

0  0x00007ffff6a792c5 in raise () from /usr/lib/libc.so.6
1  0x00007ffff6a7a748 in abort () from /usr/lib/libc.so.6
2  0x00007ffff731c145 in ?? () from /usr/lib/libdbus-1.so.3
3  0x00007ffff7312a25 in ?? () from /usr/lib/libdbus-1.so.3
4  0x00007ffff73050d6 in dbus_message_iter_append_basic () from /usr/lib/libdbus-1.so.3
5  0x0000000000433cc5 in get_replyto (property=<optimized out>, iter=<optimized out>,
    data=<optimized out>) at obexd/client/map.c:484
6  0x00000000004103b6 in append_property (p=p@entry=0x6594c0 <map_msg_properties+192>,
    dict=dict@entry=0x7fffffffd8e0, iface=0x6a3720) at gdbus/object.c:547
7  0x0000000000410472 in append_properties (data=data@entry=0x6a3720, iter=iter@entry=
    0x7fffffffd960) at gdbus/object.c:576
8  0x00000000004104d1 in append_interface (data=0x6a3720, user_data=0x7fffffffda40)
    at gdbus/object.c:591
9  0x00007ffff7058a4d in g_slist_foreach () from /usr/lib/libglib-2.0.so.0
10 0x0000000000411d05 in emit_interfaces_added (data=0x6a2ff0) at gdbus/object.c:623
11 process_changes (user_data=0x6a2ff0) at gdbus/object.c:1006
12 0x00007ffff703c845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
13 0x00007ffff703cb78 in ?? () from /usr/lib/libglib-2.0.so.0
14 0x00007ffff703cf72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
15 0x000000000040df82 in main (argc=1, argv=0x7fffffffdd88) at obexd/src/main.c:323

11 years agoobexd: Handle empty path name in SetPath
Christian Fetzer [Fri, 11 Jan 2013 15:55:50 +0000 (16:55 +0100)]
obexd: Handle empty path name in SetPath

If the empty path is given, an empty name should be sent via OBEX.
Currently the name field is not set at all and later checks which
depend on data->index will access invalid memory regions as g_strsplit
returns NULL when an empty string is given.

0  0x000000000041a181 in g_obex_setpath (obex=obex@entry=0x662eb0, path=
    0x20 <Address 0x20 out of bounds>, func=func@entry=0x42d300 <setpath_cb>,
    user_data=user_data@entry=0x668f10, err=err@entry=0x7fffffffda08)
    at gobex/gobex.c:1397
1  0x000000000042d395 in setpath_cb (obex=0x662eb0, err=0x0, rsp=<optimized out>,
    user_data=0x668f10) at obexd/client/session.c:902
2  0x0000000000418e54 in handle_response (obex=obex@entry=0x662eb0, err=err@entry=0x0,
    rsp=rsp@entry=0x668f40) at gobex/gobex.c:948
3  0x0000000000419d7a in incoming_data (io=<optimized out>, cond=<optimized out>,
    user_data=0x662eb0) at gobex/gobex.c:1191
4  0x00007ffff703c845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
5  0x00007ffff703cb78 in ?? () from /usr/lib/libglib-2.0.so.0
6  0x00007ffff703cf72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
7  0x000000000040def2 in main (argc=1, argv=0x7fffffffdd88) at obexd/src/main.c:323

11 years agodoc: Fix trivial typo in adapter-api
Mikel Astiz [Mon, 14 Jan 2013 07:44:41 +0000 (08:44 +0100)]
doc: Fix trivial typo in adapter-api

11 years agomonitor: Add decoding for minor class for wearable major class
Marcel Holtmann [Mon, 14 Jan 2013 07:48:29 +0000 (23:48 -0800)]
monitor: Add decoding for minor class for wearable major class

11 years agocore: Rename adapter->disc_sessions to discov_sessions for clarity
Johan Hedberg [Mon, 14 Jan 2013 07:24:56 +0000 (09:24 +0200)]
core: Rename adapter->disc_sessions to discov_sessions for clarity

11 years agomonitor: Add GATT-based Service UUIDs
Marcel Holtmann [Mon, 14 Jan 2013 02:47:49 +0000 (18:47 -0800)]
monitor: Add GATT-based Service UUIDs

11 years agomonitor: Add UUID values for Characteristic Descriptors
Marcel Holtmann [Mon, 14 Jan 2013 02:39:31 +0000 (18:39 -0800)]
monitor: Add UUID values for Characteristic Descriptors

11 years agomonitor: Add UUID values for Characteristic Descriptions
Marcel Holtmann [Mon, 14 Jan 2013 02:37:37 +0000 (18:37 -0800)]
monitor: Add UUID values for Characteristic Descriptions

11 years agomonitor: Fix the singular entry vs plural entries
Marcel Holtmann [Mon, 14 Jan 2013 02:07:46 +0000 (18:07 -0800)]
monitor: Fix the singular entry vs plural entries

11 years agomonitor: Decode the minor class field for major class phone
Marcel Holtmann [Mon, 14 Jan 2013 02:03:37 +0000 (18:03 -0800)]
monitor: Decode the minor class field for major class phone

11 years agomonitor: Decode 16-bit and 32-bit UUID values from EIR data
Marcel Holtmann [Mon, 14 Jan 2013 01:59:24 +0000 (17:59 -0800)]
monitor: Decode 16-bit and 32-bit UUID values from EIR data

11 years agomonitor: Add more ATT protocol decodings
Marcel Holtmann [Mon, 14 Jan 2013 01:45:44 +0000 (17:45 -0800)]
monitor: Add more ATT protocol decodings

11 years agomonitor: Print manufacturer name from EIR data
Marcel Holtmann [Sun, 13 Jan 2013 23:57:40 +0000 (15:57 -0800)]
monitor: Print manufacturer name from EIR data

11 years agomonitor: Print detailed class of device from EIR data
Marcel Holtmann [Sun, 13 Jan 2013 23:49:39 +0000 (15:49 -0800)]
monitor: Print detailed class of device from EIR data

11 years agomonitor: Print strings for advertising data flags
Marcel Holtmann [Sun, 13 Jan 2013 23:47:41 +0000 (15:47 -0800)]
monitor: Print strings for advertising data flags

11 years agolib: Update list of company identifiers
Marcel Holtmann [Sun, 13 Jan 2013 23:17:53 +0000 (15:17 -0800)]
lib: Update list of company identifiers

11 years agotools: Add entry for COOKOO watch product ID
Marcel Holtmann [Sun, 13 Jan 2013 23:13:24 +0000 (15:13 -0800)]
tools: Add entry for COOKOO watch product ID

The product ID for the COOKOO watch is from the Bluetrek manufacturer ID
and it is a little bit weird. It is assumed this is on purpose and not
some leftover from potential Bluetrek example code they used.

11 years agoemulator: Add command line switch for local HCI virtual device
Marcel Holtmann [Sun, 13 Jan 2013 23:12:34 +0000 (15:12 -0800)]
emulator: Add command line switch for local HCI virtual device

11 years agounit: Add advertising data from Citizen Proximity watch for testing
Marcel Holtmann [Sun, 13 Jan 2013 03:00:10 +0000 (19:00 -0800)]
unit: Add advertising data from Citizen Proximity watch for testing

11 years agoshared: Resetting watch identifier is done in the destroy handler
Marcel Holtmann [Sat, 12 Jan 2013 01:53:03 +0000 (17:53 -0800)]
shared: Resetting watch identifier is done in the destroy handler

11 years agoshared: Use protocol family constant instead of address family
Marcel Holtmann [Sat, 12 Jan 2013 00:02:37 +0000 (16:02 -0800)]
shared: Use protocol family constant instead of address family

11 years agotester: Add -l command line switch for listing test cases
Johan Hedberg [Fri, 11 Jan 2013 22:12:25 +0000 (00:12 +0200)]
tester: Add -l command line switch for listing test cases

11 years agotester: Add -p option to filter which test to be executed
Johan Hedberg [Fri, 11 Jan 2013 21:48:36 +0000 (23:48 +0200)]
tester: Add -p option to filter which test to be executed

11 years agoshared: Remove line with one single empty space in it
Marcel Holtmann [Fri, 11 Jan 2013 21:54:30 +0000 (13:54 -0800)]
shared: Remove line with one single empty space in it

11 years agoRelease 5.1
Marcel Holtmann [Fri, 11 Jan 2013 19:07:49 +0000 (11:07 -0800)]
Release 5.1

11 years agocore: Add comment about loading empty key lists into the kernel
Marcel Holtmann [Fri, 11 Jan 2013 19:01:32 +0000 (11:01 -0800)]
core: Add comment about loading empty key lists into the kernel

11 years agobuild: Update library version
Marcel Holtmann [Fri, 11 Jan 2013 18:37:24 +0000 (10:37 -0800)]
build: Update library version

11 years agoobexd: Don't bother with trying to handle SIGPIPE
Marcel Holtmann [Fri, 11 Jan 2013 17:45:40 +0000 (09:45 -0800)]
obexd: Don't bother with trying to handle SIGPIPE

11 years agoAVRCP: Fix crash when MediaPlayer1 is disabled
Luiz Augusto von Dentz [Fri, 11 Jan 2013 14:19:09 +0000 (16:19 +0200)]
AVRCP: Fix crash when MediaPlayer1 is disabled

When MediaPlayer1 is disabled we should not proceed with getting
remote capabilities but switch back to 1.0 mode.

11 years agoemulator: Add support for HCI_LE_Set_Advertising_Data command
Johan Hedberg [Fri, 11 Jan 2013 14:00:01 +0000 (16:00 +0200)]
emulator: Add support for HCI_LE_Set_Advertising_Data command

11 years agotools: Add HCI command monitoring for mgmt link security test
Johan Hedberg [Fri, 11 Jan 2013 13:40:10 +0000 (15:40 +0200)]
tools: Add HCI command monitoring for mgmt link security test

11 years agotools: Add mgmt test case for link security when powered on
Johan Hedberg [Fri, 11 Jan 2013 13:35:27 +0000 (15:35 +0200)]
tools: Add mgmt test case for link security when powered on

11 years agotools: Add HCI command monitoring to discoverable on/off tests
Johan Hedberg [Fri, 11 Jan 2013 13:10:30 +0000 (15:10 +0200)]
tools: Add HCI command monitoring to discoverable on/off tests

11 years agotools: Add mgmt test case for discoverable off while powered
Johan Hedberg [Fri, 11 Jan 2013 12:38:08 +0000 (14:38 +0200)]
tools: Add mgmt test case for discoverable off while powered

11 years agotools: Fix discoverable off test case name in logs
Johan Hedberg [Fri, 11 Jan 2013 12:31:44 +0000 (14:31 +0200)]
tools: Fix discoverable off test case name in logs

11 years agotools: Add mgmt test for setting connectable when powered on
Johan Hedberg [Fri, 11 Jan 2013 12:21:39 +0000 (14:21 +0200)]
tools: Add mgmt test for setting connectable when powered on

11 years agotools: Add basic HCI command monitoring callback to mgmt-tester
Johan Hedberg [Fri, 11 Jan 2013 11:15:29 +0000 (13:15 +0200)]
tools: Add basic HCI command monitoring callback to mgmt-tester

11 years agotools: Add set_link_security tests to mgmt-tester
Johan Hedberg [Fri, 11 Jan 2013 10:43:27 +0000 (12:43 +0200)]
tools: Add set_link_security tests to mgmt-tester

11 years agounit: Providing empty info() implementation is no longer needed
Marcel Holtmann [Fri, 11 Jan 2013 04:06:14 +0000 (20:06 -0800)]
unit: Providing empty info() implementation is no longer needed

11 years agocore: Turn message about device id into debug statement
Marcel Holtmann [Fri, 11 Jan 2013 04:05:51 +0000 (20:05 -0800)]
core: Turn message about device id into debug statement

11 years agobuild: Fix --disable-optimization configure option
Anderson Lizardo [Tue, 8 Jan 2013 15:46:26 +0000 (11:46 -0400)]
build: Fix --disable-optimization configure option

On commit cc9e4e7cae0379864ea06038d92bf7ecc192bba7, this flag was
mistakenly replaced with the behavior of the old --enable-fortify
option.

This patch restores the "-O0" flag when --disable-optimization is used.

Unfortunately, this is not enough to disable build optimization. By
default, autoconf adds -O2 to CFLAGS if the compiler is GCC. AM_CFLAGS
(where -O0 is added with --disable-optimization) is passed as argument
to GCC before autoconf CFLAGS, so it is not possible to override the
default -O2. One solution is to use:

CFLAGS= ./configure --disable-optimization

i.e. remove -O2 from CFLAGS, and let autoconf add -O0.

11 years agoattrib: Fix compilation errors when compiled without optimization
Anderson Lizardo [Tue, 8 Jan 2013 15:46:27 +0000 (11:46 -0400)]
attrib: Fix compilation errors when compiled without optimization

Fix these build errors:

attrib/att.c: In function ‘dec_read_by_grp_req’:
attrib/att.c:165:10: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
attrib/att.c:170:10: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
attrib/att.c: In function ‘dec_read_by_type_req’:
attrib/att.c:393:10: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
attrib/att.c:402:10: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]

11 years agotools: Fix using DBusBasicValue
Luiz Augusto von Dentz [Thu, 10 Jan 2013 16:59:53 +0000 (18:59 +0200)]
tools: Fix using DBusBasicValue

DBusBasicValue needs a more recent libdbus so use const void * instead

11 years agotools: Update mpris-player to register using MPRIS interface
Luiz Augusto von Dentz [Tue, 8 Jan 2013 12:30:41 +0000 (14:30 +0200)]
tools: Update mpris-player to register using MPRIS interface

In addition fix not supporting new APIs for getting the adapter.

11 years agomedia: Implement new RegisterPlayer API
Luiz Augusto von Dentz [Tue, 8 Jan 2013 08:54:12 +0000 (10:54 +0200)]
media: Implement new RegisterPlayer API

RegisterPlayer now uses MPRIS spec

11 years agotest: Update test-player to register using MPRIS interface
Luiz Augusto von Dentz [Tue, 8 Jan 2013 08:47:55 +0000 (10:47 +0200)]
test: Update test-player to register using MPRIS interface

11 years agomedia-api: Change RegisterPlayer to use MPRIS spec
Luiz Augusto von Dentz [Tue, 8 Jan 2013 08:43:03 +0000 (10:43 +0200)]
media-api: Change RegisterPlayer to use MPRIS spec

RegisterPlayer now expect registered paths to implement
org.mpris.MediaPlayer2.player interface accourding to MPRIS spec:

http://specifications.freedesktop.org/mpris-spec/latest/

11 years agotools: Adapt mpris-player to new API of MediaPlayer1
Luiz Augusto von Dentz [Sat, 5 Jan 2013 13:25:49 +0000 (15:25 +0200)]
tools: Adapt mpris-player to new API of MediaPlayer1

In addition fix using Manager1 interface which no longer exists

11 years agotest: Adapt simple-player to the new API of MediaPlayer1
Luiz Augusto von Dentz [Sat, 5 Jan 2013 11:51:13 +0000 (13:51 +0200)]
test: Adapt simple-player to the new API of MediaPlayer1

11 years agomedia: Adapt RegisterPlayer to changes in MediaPlayer1
Luiz Augusto von Dentz [Sat, 5 Jan 2013 11:44:19 +0000 (13:44 +0200)]
media: Adapt RegisterPlayer to changes in MediaPlayer1

This adds support for Track being a property and the removal of
GetTrack and TrackChanged.

11 years agoplayer: Add Device property
Luiz Augusto von Dentz [Fri, 4 Jan 2013 12:10:49 +0000 (14:10 +0200)]
player: Add Device property

Device property indicates which device object the player belongs to.

11 years agoAVRCP: Always create a controller player even for version 1.0
Luiz Augusto von Dentz [Thu, 3 Jan 2013 15:08:21 +0000 (17:08 +0200)]
AVRCP: Always create a controller player even for version 1.0

Since the buttons controls are now part of the MediaPlayer1 it can be used
even with AVRCP version 1.0.

11 years agoplayer: Fix documentation to use TrackNumber in track metadata
Luiz Augusto von Dentz [Thu, 3 Jan 2013 14:51:00 +0000 (16:51 +0200)]
player: Fix documentation to use TrackNumber in track metadata

Using Track key inside a Track property would be pointless, despite the
documentation and code where also inconsistent.

11 years agoplayer: Add support for button controls
Luiz Augusto von Dentz [Thu, 3 Jan 2013 14:39:33 +0000 (16:39 +0200)]
player: Add support for button controls

This adds support for buttons controls in MediaPlayer1

11 years agoplayer: Remove GetTrack and TrackChanged
Luiz Augusto von Dentz [Thu, 3 Jan 2013 14:36:37 +0000 (16:36 +0200)]
player: Remove GetTrack and TrackChanged

This turn track metadata into a property called "Track" of MediaPlayer1

11 years agomedia-api: Add playback control methods to MediaPlayer1
Luiz Augusto von Dentz [Wed, 2 Jan 2013 12:09:41 +0000 (14:09 +0200)]
media-api: Add playback control methods to MediaPlayer1

This adds methods such as Play, Pause directly in MediaPlayer1, in
addition to that Track is now turn into a property to take advantage of
ObjectManager and document the interface as experimental.

11 years agounit: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:09 +0000 (09:15 -0400)]
unit: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoattrib: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:08 +0000 (09:15 -0400)]
attrib: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoproximity: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:07 +0000 (09:15 -0400)]
proximity: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agotime: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:06 +0000 (09:15 -0400)]
time: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoalert: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:05 +0000 (09:15 -0400)]
alert: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoscanparam: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:04 +0000 (09:15 -0400)]
scanparam: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agogatt: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:03 +0000 (09:15 -0400)]
gatt: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoinput: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:02 +0000 (09:15 -0400)]
input: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agoplugins: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:01 +0000 (09:15 -0400)]
plugins: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agocore: Fix remaining references to bluetooth/uuid.h
Anderson Lizardo [Thu, 10 Jan 2013 13:15:00 +0000 (09:15 -0400)]
core: Fix remaining references to bluetooth/uuid.h

These headers are not public anymore, so need to use "lib/uuid.h".

11 years agounit: Avoid D-Bus calling _exit() during SDP tests
Anderson Lizardo [Thu, 10 Jan 2013 12:30:30 +0000 (08:30 -0400)]
unit: Avoid D-Bus calling _exit() during SDP tests

While running tests, the D-Bus library was set to call _exit() when the
client leaves the bus. This caused the second test to be interrupted
without providing a PASS/FAIL result. This was confirmed by running
test-sdp with DBUS_VERBOSE=1.

This commit disables this behavior, which does not exist on BlueZ
because g_dbus_set_disconnect_function() implicitly does this.

11 years agotools: Fix up testing of discoverable management command
Marcel Holtmann [Thu, 10 Jan 2013 07:11:44 +0000 (23:11 -0800)]
tools: Fix up testing of discoverable management command

11 years agodoc: Clarify the error codes of some management commands
Marcel Holtmann [Thu, 10 Jan 2013 06:59:34 +0000 (22:59 -0800)]
doc: Clarify the error codes of some management commands

11 years agobuild: Enable Bluetooth library for distribution builds
Marcel Holtmann [Thu, 10 Jan 2013 04:32:40 +0000 (20:32 -0800)]
build: Enable Bluetooth library for distribution builds

11 years agobuild: Only install old legacy Bluetooth library headers
Marcel Holtmann [Thu, 10 Jan 2013 04:32:12 +0000 (20:32 -0800)]
build: Only install old legacy Bluetooth library headers

11 years agomonitor: Fix includes from Bluetooth library
Marcel Holtmann [Thu, 10 Jan 2013 04:31:18 +0000 (20:31 -0800)]
monitor: Fix includes from Bluetooth library

11 years agotools: Fix includes for mgmt.h
Marcel Holtmann [Thu, 10 Jan 2013 04:31:07 +0000 (20:31 -0800)]
tools: Fix includes for mgmt.h

11 years agoobexd: Fix includes for uuid.h
Marcel Holtmann [Thu, 10 Jan 2013 04:30:43 +0000 (20:30 -0800)]
obexd: Fix includes for uuid.h

11 years agoprofiles: Fix includes for uuid.h
Marcel Holtmann [Thu, 10 Jan 2013 04:30:30 +0000 (20:30 -0800)]
profiles: Fix includes for uuid.h

11 years agocore: Fix includes for mgmt.h and uuid.h
Marcel Holtmann [Thu, 10 Jan 2013 04:30:09 +0000 (20:30 -0800)]
core: Fix includes for mgmt.h and uuid.h

11 years agoshared: Remove redundant include
Marcel Holtmann [Thu, 10 Jan 2013 03:45:59 +0000 (19:45 -0800)]
shared: Remove redundant include

11 years agotools: Remove redundant include
Marcel Holtmann [Thu, 10 Jan 2013 03:45:17 +0000 (19:45 -0800)]
tools: Remove redundant include

11 years agolib: Remove all management settings helpers since they are unused now
Marcel Holtmann [Thu, 10 Jan 2013 03:44:00 +0000 (19:44 -0800)]
lib: Remove all management settings helpers since they are unused now