OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agoheartrate: Append version to HeartRate interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:12:57 +0000 (11:12 +0200)]
heartrate: Append version to HeartRate interfaces

11 years agoaudio: Append version to Control interface
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:12:56 +0000 (11:12 +0200)]
audio: Append version to Control interface

11 years agonetwork: Append version to Network and NetworkServer interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:12:55 +0000 (11:12 +0200)]
network: Append version to Network and NetworkServer interfaces

11 years agocore: Remove unused read_device_attributes() and write_device_attribute()
Johan Hedberg [Fri, 14 Dec 2012 09:22:00 +0000 (11:22 +0200)]
core: Remove unused read_device_attributes() and write_device_attribute()

11 years agocore: Rename write_device_services according to what it actually does
Johan Hedberg [Fri, 14 Dec 2012 09:14:12 +0000 (11:14 +0200)]
core: Rename write_device_services according to what it actually does

11 years agocore: Remove unused read_device_services function
Johan Hedberg [Fri, 14 Dec 2012 09:12:21 +0000 (11:12 +0200)]
core: Remove unused read_device_services function

11 years agocore: Use "Services" instead of "Profiles" to store service UUIDs
Johan Hedberg [Fri, 14 Dec 2012 08:29:05 +0000 (10:29 +0200)]
core: Use "Services" instead of "Profiles" to store service UUIDs

11 years agoinput: Use new storage architecture
Frédéric Danis [Thu, 13 Dec 2012 20:39:30 +0000 (21:39 +0100)]
input: Use new storage architecture

Retrieve HID record from device file located in cache directory.

Remove no more used fetch_record().

11 years agodevice: Update btd_device_get_record to use new storage
Frédéric Danis [Thu, 13 Dec 2012 20:39:29 +0000 (21:39 +0100)]
device: Update btd_device_get_record to use new storage

Remove no more used functions from storage.[ch].

11 years agoadapter: Remove create_stored_device_from_primaries
Frédéric Danis [Thu, 13 Dec 2012 20:39:28 +0000 (21:39 +0100)]
adapter: Remove create_stored_device_from_primaries

Loading of primaries list is done by device_create_from_storage().

As all device load during start-up has been converted, we can remove
temporary hack in device_create().

11 years agoadapter: Convert device primaries list
Frédéric Danis [Thu, 13 Dec 2012 20:39:27 +0000 (21:39 +0100)]
adapter: Convert device primaries list

11 years agodevice: Store SDP records in new storage
Frédéric Danis [Thu, 13 Dec 2012 20:39:26 +0000 (21:39 +0100)]
device: Store SDP records in new storage

Store SDP records in device file located in cache directory.

Update attributes file with primary services retrieved from attributes
entry in SDP records.

Remove store_record() from storage.[ch].

11 years agodevice: Load primary attributes from storage
Frédéric Danis [Thu, 13 Dec 2012 20:39:25 +0000 (21:39 +0100)]
device: Load primary attributes from storage

Parse device attributes file for primary services, then add UUID service
to device primaries list.

11 years agodevice: Remove stored SDP records on device removal
Frédéric Danis [Thu, 13 Dec 2012 20:39:24 +0000 (21:39 +0100)]
device: Remove stored SDP records on device removal

Also remove management of legacy storage file in device_remove_stored().
Remove no more used storage functions.

11 years agoadapter: Convert device sdp file
Frédéric Danis [Thu, 13 Dec 2012 20:39:23 +0000 (21:39 +0100)]
adapter: Convert device sdp file

Save SDP records in device device file located in SDP directory.

Parse "sdp" file to retrieve services, i.e. sdp records with
attribute uuid.
Create device attributes file based on this.

11 years agodoc: Update Settings-storage for SDP records
Frédéric Danis [Thu, 13 Dec 2012 20:39:22 +0000 (21:39 +0100)]
doc: Update Settings-storage for SDP records

SDP records shouls be saved in device file located in cache
directory, as we cannot guarantee that this info is available
always and profiles should work even if the info is not there.

11 years agodevice: Delete storage device recursively
Frédéric Danis [Thu, 13 Dec 2012 20:39:21 +0000 (21:39 +0100)]
device: Delete storage device recursively

Device storage directory may contain multiple files like info or
attributes but also files stored by plug-ins or profiles,
so completely delete directory.

11 years agoadapter: Probe profiles after device creation
Frédéric Danis [Thu, 13 Dec 2012 20:39:20 +0000 (21:39 +0100)]
adapter: Probe profiles after device creation

11 years agodevice: Load profiles from storage
Frédéric Danis [Thu, 13 Dec 2012 20:39:19 +0000 (21:39 +0100)]
device: Load profiles from storage

Add device_get_uuids() to retrieve UUIDs list.
It will allow to call device_probe_profiles() from
load_devices() of adapter.c after device creation.

Remove write_device_profiles from storage.[ch].

11 years agoadapter: Convert device profiles list
Frédéric Danis [Thu, 13 Dec 2012 20:39:18 +0000 (21:39 +0100)]
adapter: Convert device profiles list

11 years agodevice: Add device_create_from_storage() function
Frédéric Danis [Thu, 13 Dec 2012 20:39:17 +0000 (21:39 +0100)]
device: Add device_create_from_storage() function

This function is used from load_devices() of adapter.c
during bluetoothd start-up to re-load known devices from
storage key file.

device_create() is used to create new devices for which
no storage exists, but until all device load during start-up
has been converted we should continue to call load_info().

11 years agodevice: Retrieve device technology from storage
Frédéric Danis [Thu, 13 Dec 2012 20:39:16 +0000 (21:39 +0100)]
device: Retrieve device technology from storage

11 years agoTODO: Mark powered state storing item as done
Johan Hedberg [Thu, 13 Dec 2012 20:17:28 +0000 (22:17 +0200)]
TODO: Mark powered state storing item as done

11 years agoTODO: Update Session/ModeChange item
Johan Hedberg [Thu, 13 Dec 2012 20:16:23 +0000 (22:16 +0200)]
TODO: Update Session/ModeChange item

11 years agomgmt-api: Remove not needed restriction on add/remove OOB data
Szymon Janc [Thu, 13 Dec 2012 14:10:52 +0000 (15:10 +0100)]
mgmt-api: Remove not needed restriction on add/remove OOB data

Those commands don't send any HCI commands to controller so there is no
need to restrict them to only powered up controller. This also clarify
that provided OOB data is persistent over power down/up toggles.

11 years agocore: Remove ConfirmModeChange method
Luiz Augusto von Dentz [Thu, 13 Dec 2012 20:00:40 +0000 (22:00 +0200)]
core: Remove ConfirmModeChange method

This method was only used by RequestSession which is now removed.

11 years agocore: Remove RequestSession and ReleaseSession
Luiz Augusto von Dentz [Thu, 13 Dec 2012 20:00:39 +0000 (22:00 +0200)]
core: Remove RequestSession and ReleaseSession

Sessions is no longer used by obexd and the concept is probably not
relevant anymore since BlueZ 5 don't remember powered state anymore.

11 years agoclient: Add support for auto-completion and controller selection
Marcel Holtmann [Thu, 13 Dec 2012 19:32:11 +0000 (20:32 +0100)]
client: Add support for auto-completion and controller selection

11 years agoclient: Add support for aborting command typing without exit
Marcel Holtmann [Thu, 13 Dec 2012 17:34:59 +0000 (18:34 +0100)]
client: Add support for aborting command typing without exit

11 years agoclient: Add command completion support
Marcel Holtmann [Thu, 13 Dec 2012 16:56:32 +0000 (17:56 +0100)]
client: Add command completion support

11 years agoclient: Show the UUIDs with the controller info
Marcel Holtmann [Thu, 13 Dec 2012 16:15:35 +0000 (17:15 +0100)]
client: Show the UUIDs with the controller info

11 years agogdbus: Add support for complex D-Bus client properties
Marcel Holtmann [Thu, 13 Dec 2012 16:14:33 +0000 (17:14 +0100)]
gdbus: Add support for complex D-Bus client properties

11 years agoTODO: Update DiscoverServices item status
Johan Hedberg [Thu, 13 Dec 2012 14:44:57 +0000 (16:44 +0200)]
TODO: Update DiscoverServices item status

11 years agocore: Remove D-Bus service discovery methods
Johan Hedberg [Thu, 13 Dec 2012 14:44:03 +0000 (16:44 +0200)]
core: Remove D-Bus service discovery methods

11 years agocore: Remove device mode storage functions
Johan Hedberg [Thu, 13 Dec 2012 14:36:09 +0000 (16:36 +0200)]
core: Remove device mode storage functions

11 years agocore: Remove persistent storing of the powered state
Johan Hedberg [Thu, 13 Dec 2012 14:35:30 +0000 (16:35 +0200)]
core: Remove persistent storing of the powered state

11 years agobuild: Remove left-overs from previous cleanup
Marcel Holtmann [Thu, 13 Dec 2012 14:14:39 +0000 (15:14 +0100)]
build: Remove left-overs from previous cleanup

11 years agoclient: Add support for basic controller handling
Marcel Holtmann [Thu, 13 Dec 2012 14:06:39 +0000 (15:06 +0100)]
client: Add support for basic controller handling

11 years agogdbus: Add support for D-Bus client properties
Marcel Holtmann [Thu, 13 Dec 2012 13:06:25 +0000 (14:06 +0100)]
gdbus: Add support for D-Bus client properties

11 years agobuild: Remove obexd usb plugin
Luiz Augusto von Dentz [Thu, 13 Dec 2012 12:03:51 +0000 (14:03 +0200)]
build: Remove obexd usb plugin

This plugin is not longer maintained and used to work only in meego
times.

11 years agocore: Remove attribute client API
Johan Hedberg [Thu, 13 Dec 2012 12:08:04 +0000 (14:08 +0200)]
core: Remove attribute client API

There will be a more comprehensive API coming soon and we don't want to
have this one around for 5.0 since it'd immediately have to be
deprecated.

11 years agocore: Fix conn->psm setting when resolving SDP records
Johan Hedberg [Thu, 13 Dec 2012 09:00:58 +0000 (11:00 +0200)]
core: Fix conn->psm setting when resolving SDP records

11 years agogdbus: Add support for D-Bus client proxies
Marcel Holtmann [Thu, 13 Dec 2012 01:38:53 +0000 (02:38 +0100)]
gdbus: Add support for D-Bus client proxies

11 years agobuild: Install the client utility if enabled
Marcel Holtmann [Wed, 12 Dec 2012 22:24:27 +0000 (23:24 +0100)]
build: Install the client utility if enabled

11 years agoobexd: Fix build breakage from profile conversion
Marcel Holtmann [Wed, 12 Dec 2012 22:21:02 +0000 (23:21 +0100)]
obexd: Fix build breakage from profile conversion

11 years agoREADME: Mention to install client together with the daemons
Marcel Holtmann [Wed, 12 Dec 2012 22:20:37 +0000 (23:20 +0100)]
README: Mention to install client together with the daemons

11 years agoREADME: Add section about the monitor configure option
Marcel Holtmann [Wed, 12 Dec 2012 22:20:14 +0000 (23:20 +0100)]
README: Add section about the monitor configure option

11 years agobuild: Add configure option to disable the monitor utility
Marcel Holtmann [Wed, 12 Dec 2012 22:19:43 +0000 (23:19 +0100)]
build: Add configure option to disable the monitor utility

11 years agoclient: Add initial parts for the command line client
Marcel Holtmann [Wed, 12 Dec 2012 21:57:20 +0000 (22:57 +0100)]
client: Add initial parts for the command line client

11 years agobuild: Compile support for new D-Bus client helpers
Marcel Holtmann [Wed, 12 Dec 2012 20:59:25 +0000 (21:59 +0100)]
build: Compile support for new D-Bus client helpers

11 years agogdbus: Add helper functions for simple D-Bus clients
Marcel Holtmann [Wed, 12 Dec 2012 20:58:57 +0000 (21:58 +0100)]
gdbus: Add helper functions for simple D-Bus clients

11 years agoobex-client: Remove calls to org.bluez.Manager and org.bluez.Adapter
Luiz Augusto von Dentz [Wed, 12 Dec 2012 12:16:31 +0000 (14:16 +0200)]
obex-client: Remove calls to org.bluez.Manager and org.bluez.Adapter

With BlueZ 5 this API no longer exist or have changed.

11 years agoTODO: Update obexd & service plugin status
Johan Hedberg [Wed, 12 Dec 2012 12:03:12 +0000 (14:03 +0200)]
TODO: Update obexd & service plugin status

11 years agoplugins: Remove service plugin (replaced by Profile interface)
Johan Hedberg [Wed, 12 Dec 2012 11:59:40 +0000 (13:59 +0200)]
plugins: Remove service plugin (replaced by Profile interface)

11 years agoirmc: Remove record details
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:16 +0000 (13:52 +0200)]
irmc: Remove record details

Standart service records are already supported by bluetoothd

11 years agomas: Remove record details
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:15 +0000 (13:52 +0200)]
mas: Remove record details

Standart service records are already supported by bluetoothd

11 years agopbap: Remove record details
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:14 +0000 (13:52 +0200)]
pbap: Remove record details

Standart service records are already supported by bluetoothd

11 years agoftp: Remove record details
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:13 +0000 (13:52 +0200)]
ftp: Remove record details

Standart service records are already supported by bluetoothd

11 years agoopp: Remove record details
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:12 +0000 (13:52 +0200)]
opp: Remove record details

Standart service records are already supported by bluetoothd

11 years agoobexd: Add support for custom records
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:11 +0000 (13:52 +0200)]
obexd: Add support for custom records

Services such as pcsuite and syncml use custom records not defined by
Bluetooth SIG so they have to be registered using ServiceRecord entry.

11 years agoobexd: Enable support SYNC profile
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:10 +0000 (13:52 +0200)]
obexd: Enable support SYNC profile

11 years agoobexd: Enable support for MAS profile
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:09 +0000 (13:52 +0200)]
obexd: Enable support for MAS profile

11 years agocore: Add SYNC record
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:08 +0000 (13:52 +0200)]
core: Add SYNC record

This adds SYNC record to detault settings

11 years agocore: Add MAS record
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:07 +0000 (13:52 +0200)]
core: Add MAS record

This adds MAS record to detault settings

11 years agoobexd: Port bluetooth plugin to use external profile support
Luiz Augusto von Dentz [Wed, 12 Dec 2012 11:52:06 +0000 (13:52 +0200)]
obexd: Port bluetooth plugin to use external profile support

This changes obexd to use ProfileManager.RegisterProfile

11 years agoTODO: Add a couple more BlueZ 5 items
Johan Hedberg [Wed, 12 Dec 2012 11:28:40 +0000 (13:28 +0200)]
TODO: Add a couple more BlueZ 5 items

11 years agodoc: Remove left-overs from gtk-doc attempt
Marcel Holtmann [Wed, 12 Dec 2012 11:07:25 +0000 (12:07 +0100)]
doc: Remove left-overs from gtk-doc attempt

11 years agostorage: Remove not used functions
Frédéric Danis [Wed, 12 Dec 2012 08:41:28 +0000 (09:41 +0100)]
storage: Remove not used functions

Those functions are no more used with new storage architecture.

11 years agoTODO: Add a couple of more items for BlueZ 5
Johan Hedberg [Wed, 12 Dec 2012 07:53:27 +0000 (09:53 +0200)]
TODO: Add a couple of more items for BlueZ 5

11 years agocore: Fix issue with wrong path for daemon in systemd unit
Marcel Holtmann [Tue, 11 Dec 2012 22:03:33 +0000 (23:03 +0100)]
core: Fix issue with wrong path for daemon in systemd unit

11 years agobuild: Add support for installing test scripts if requested
Marcel Holtmann [Tue, 11 Dec 2012 21:28:15 +0000 (22:28 +0100)]
build: Add support for installing test scripts if requested

11 years agobuild: Support building client without tools enabled
Marcel Holtmann [Tue, 11 Dec 2012 21:19:13 +0000 (22:19 +0100)]
build: Support building client without tools enabled

11 years agobuild: Use @libexecdir@/bluetooth path for daemons
Marcel Holtmann [Tue, 11 Dec 2012 20:46:00 +0000 (21:46 +0100)]
build: Use @libexecdir@/bluetooth path for daemons

11 years agobuild: Add option for D-Bus system bus services directory
Marcel Holtmann [Tue, 11 Dec 2012 16:55:24 +0000 (17:55 +0100)]
build: Add option for D-Bus system bus services directory

11 years agobuild: Start building xz compressed packages by default
Marcel Holtmann [Tue, 11 Dec 2012 16:31:58 +0000 (17:31 +0100)]
build: Start building xz compressed packages by default

11 years agobuild: Require phonebook support for IrMC profile
Marcel Holtmann [Tue, 11 Dec 2012 16:21:01 +0000 (17:21 +0100)]
build: Require phonebook support for IrMC profile

11 years agobuild: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P
Marcel Holtmann [Tue, 11 Dec 2012 16:16:59 +0000 (17:16 +0100)]
build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P

11 years agobuild: Reorder LE plugins and put some into experimental stage
Marcel Holtmann [Tue, 11 Dec 2012 15:40:11 +0000 (16:40 +0100)]
build: Reorder LE plugins and put some into experimental stage

11 years agobuild: Don't use systemd integration when building package
Marcel Holtmann [Tue, 11 Dec 2012 14:35:56 +0000 (15:35 +0100)]
build: Don't use systemd integration when building package

11 years agobuild: Use D-Bus config directory and not guess it
Marcel Holtmann [Tue, 11 Dec 2012 14:32:04 +0000 (15:32 +0100)]
build: Use D-Bus config directory and not guess it

11 years agobuild: Include directory errors within square brackets
Marcel Holtmann [Tue, 11 Dec 2012 14:26:09 +0000 (15:26 +0100)]
build: Include directory errors within square brackets

11 years agobuild: Use better configuration option for D-Bus config directory
Marcel Holtmann [Tue, 11 Dec 2012 14:24:18 +0000 (15:24 +0100)]
build: Use better configuration option for D-Bus config directory

11 years agobuild: Cleanup of systemd unit directory options
Marcel Holtmann [Tue, 11 Dec 2012 14:09:31 +0000 (15:09 +0100)]
build: Cleanup of systemd unit directory options

11 years agobuild: Add option for providing the udev directory
Marcel Holtmann [Tue, 11 Dec 2012 14:05:24 +0000 (15:05 +0100)]
build: Add option for providing the udev directory

11 years agoREADME: Mention the option to disable systemd integration
Marcel Holtmann [Tue, 11 Dec 2012 13:55:58 +0000 (14:55 +0100)]
README: Mention the option to disable systemd integration

11 years agobuild: Handle systemd system and user unit directories
Marcel Holtmann [Tue, 11 Dec 2012 13:52:23 +0000 (14:52 +0100)]
build: Handle systemd system and user unit directories

11 years agoREADME: Add descriptions for configure options
Marcel Holtmann [Tue, 11 Dec 2012 13:09:25 +0000 (14:09 +0100)]
README: Add descriptions for configure options

11 years agoREADME: Update list of optional dependencies
Marcel Holtmann [Tue, 11 Dec 2012 12:44:58 +0000 (13:44 +0100)]
README: Update list of optional dependencies

11 years agoTODO: Mark profile auto-connection upon registration as done
Johan Hedberg [Tue, 11 Dec 2012 12:06:45 +0000 (14:06 +0200)]
TODO: Mark profile auto-connection upon registration as done

11 years agocore: Auto-connect new profiles if Device.Connect was called
Johan Hedberg [Tue, 11 Dec 2012 12:06:22 +0000 (14:06 +0200)]
core: Auto-connect new profiles if Device.Connect was called

11 years agoprofile: Fix missing unexpected disconnection notification
Johan Hedberg [Tue, 11 Dec 2012 11:52:13 +0000 (13:52 +0200)]
profile: Fix missing unexpected disconnection notification

11 years agoTODO: Update Device.Connect item status
Johan Hedberg [Tue, 11 Dec 2012 11:49:04 +0000 (13:49 +0200)]
TODO: Update Device.Connect item status

11 years agocore: Fully track connected profiles
Johan Hedberg [Tue, 11 Dec 2012 11:48:11 +0000 (13:48 +0200)]
core: Fully track connected profiles

11 years agoTODO: Update profile connection tracking item
Johan Hedberg [Tue, 11 Dec 2012 11:30:40 +0000 (13:30 +0200)]
TODO: Update profile connection tracking item

11 years agonetwork: Fix profile connection state notifications
Johan Hedberg [Tue, 11 Dec 2012 11:18:34 +0000 (13:18 +0200)]
network: Fix profile connection state notifications

11 years agobuild: Add configure option for disabling CUPS support
Marcel Holtmann [Tue, 11 Dec 2012 10:49:45 +0000 (11:49 +0100)]
build: Add configure option for disabling CUPS support

11 years agoaudio: Get rid of unneeded struct pending_request
Johan Hedberg [Tue, 11 Dec 2012 10:39:49 +0000 (12:39 +0200)]
audio: Get rid of unneeded struct pending_request

11 years agoaudio: Remove useless struct profile_req
Johan Hedberg [Tue, 11 Dec 2012 09:36:14 +0000 (11:36 +0200)]
audio: Remove useless struct profile_req

11 years agoinput: Fix profile connection status notifications
Johan Hedberg [Tue, 11 Dec 2012 09:08:57 +0000 (11:08 +0200)]
input: Fix profile connection status notifications

11 years agoprofile: Get rid of not needed btd_profile_cb define
Johan Hedberg [Tue, 11 Dec 2012 08:46:44 +0000 (10:46 +0200)]
profile: Get rid of not needed btd_profile_cb define