OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agogdbus: Add callback support for handling property changes
Marcel Holtmann [Fri, 14 Dec 2012 18:48:06 +0000 (19:48 +0100)]
gdbus: Add callback support for handling property changes

11 years agogdbus: Handle property changed signals and update property
Marcel Holtmann [Fri, 14 Dec 2012 18:16:59 +0000 (19:16 +0100)]
gdbus: Handle property changed signals and update property

11 years agogdbus: Set property changed filter match rule for each proxy
Marcel Holtmann [Fri, 14 Dec 2012 17:48:18 +0000 (18:48 +0100)]
gdbus: Set property changed filter match rule for each proxy

11 years agogdbus: Use a GPtrArray for the match rules
Marcel Holtmann [Fri, 14 Dec 2012 17:23:39 +0000 (18:23 +0100)]
gdbus: Use a GPtrArray for the match rules

11 years agoclient: Add support for setting controller pairable mode
Marcel Holtmann [Fri, 14 Dec 2012 16:31:50 +0000 (17:31 +0100)]
client: Add support for setting controller pairable mode

11 years agoclient: Add support for setting controller discoverable mode
Marcel Holtmann [Fri, 14 Dec 2012 16:22:54 +0000 (17:22 +0100)]
client: Add support for setting controller discoverable mode

11 years agoclient: Use generic callback and parsing functions
Marcel Holtmann [Fri, 14 Dec 2012 16:16:29 +0000 (17:16 +0100)]
client: Use generic callback and parsing functions

11 years agoclient: Add support for setting controller name
Marcel Holtmann [Fri, 14 Dec 2012 16:00:07 +0000 (17:00 +0100)]
client: Add support for setting controller name

11 years agoclient: Fix argument parsing for commands
Marcel Holtmann [Fri, 14 Dec 2012 15:58:59 +0000 (16:58 +0100)]
client: Fix argument parsing for commands

11 years agotools: Add missing newlines to management utility
Marcel Holtmann [Fri, 14 Dec 2012 15:42:27 +0000 (16:42 +0100)]
tools: Add missing newlines to management utility

11 years agoclient: Add support for setting controller power
Marcel Holtmann [Fri, 14 Dec 2012 14:21:35 +0000 (15:21 +0100)]
client: Add support for setting controller power

11 years agogdbus: Add support for setting D-Bus client basic properties
Marcel Holtmann [Fri, 14 Dec 2012 14:19:53 +0000 (15:19 +0100)]
gdbus: Add support for setting D-Bus client basic properties

11 years agogdbus: Deep copy of variants also requires a signature
Marcel Holtmann [Fri, 14 Dec 2012 14:07:36 +0000 (15:07 +0100)]
gdbus: Deep copy of variants also requires a signature

11 years agoTODO: Mark libbluetooth installation item as done
Johan Hedberg [Fri, 14 Dec 2012 13:42:12 +0000 (15:42 +0200)]
TODO: Mark libbluetooth installation item as done

11 years agoprofiles: Make use of btd_device_get_primary
Johan Hedberg [Fri, 14 Dec 2012 13:37:26 +0000 (15:37 +0200)]
profiles: Make use of btd_device_get_primary

11 years agocore: Add btd_device_get_primary convenience function
Johan Hedberg [Fri, 14 Dec 2012 13:22:46 +0000 (15:22 +0200)]
core: Add btd_device_get_primary convenience function

11 years agoheartrate: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 11:34:33 +0000 (13:34 +0200)]
heartrate: Remove useless files

11 years agoscanparam: Remove left-over main.c file
Johan Hedberg [Fri, 14 Dec 2012 11:29:09 +0000 (13:29 +0200)]
scanparam: Remove left-over main.c file

11 years agothermometer: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 11:28:18 +0000 (13:28 +0200)]
thermometer: Remove useless files

11 years agodevice: Fix memory leak in load_att_info()
Frédéric Danis [Fri, 14 Dec 2012 09:43:22 +0000 (10:43 +0100)]
device: Fix memory leak in load_att_info()

11 years agotime: Use btd_profile_register return value in time_init
Johan Hedberg [Fri, 14 Dec 2012 11:19:04 +0000 (13:19 +0200)]
time: Use btd_profile_register return value in time_init

11 years agodeviceinfo: Remove leftover main.c file
Johan Hedberg [Fri, 14 Dec 2012 11:17:22 +0000 (13:17 +0200)]
deviceinfo: Remove leftover main.c file

11 years agoalert: Use btd_profile_register return value in alert_server_init
Johan Hedberg [Fri, 14 Dec 2012 11:16:50 +0000 (13:16 +0200)]
alert: Use btd_profile_register return value in alert_server_init

11 years agoscanparam: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 11:14:37 +0000 (13:14 +0200)]
scanparam: Remove useless files

11 years agodeviceinfo: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 11:08:18 +0000 (13:08 +0200)]
deviceinfo: Remove useless files

11 years agoalert: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 11:02:22 +0000 (13:02 +0200)]
alert: Remove useless files

11 years agotime: Remove useless files
Johan Hedberg [Fri, 14 Dec 2012 10:54:31 +0000 (12:54 +0200)]
time: Remove useless files

11 years agocore: Remove unused emit_property_changed function
Johan Hedberg [Fri, 14 Dec 2012 10:50:10 +0000 (12:50 +0200)]
core: Remove unused emit_property_changed function

11 years agocore: Remove unused bt_string2list and bt_list2string functions
Johan Hedberg [Fri, 14 Dec 2012 10:48:47 +0000 (12:48 +0200)]
core: Remove unused bt_string2list and bt_list2string functions

11 years agoaudio: Make manager_find_devices static
Johan Hedberg [Fri, 14 Dec 2012 10:47:39 +0000 (12:47 +0200)]
audio: Make manager_find_devices static

11 years agoaudio: Fix A2DP Source connection callback handling
Johan Hedberg [Fri, 14 Dec 2012 10:46:33 +0000 (12:46 +0200)]
audio: Fix A2DP Source connection callback handling

11 years agoaudio: Fix using the right procedure id when cleaning up
Johan Hedberg [Fri, 14 Dec 2012 10:46:14 +0000 (12:46 +0200)]
audio: Fix using the right procedure id when cleaning up

11 years agoaudio: Remove unused source_get_state and source_is_active functions
Johan Hedberg [Fri, 14 Dec 2012 10:32:18 +0000 (12:32 +0200)]
audio: Remove unused source_get_state and source_is_active functions

11 years agocore: Remove unused sdp_get_access_list function
Johan Hedberg [Fri, 14 Dec 2012 10:31:08 +0000 (12:31 +0200)]
core: Remove unused sdp_get_access_list function

11 years agocore: Make some needlessly exported device functions static
Johan Hedberg [Fri, 14 Dec 2012 10:29:52 +0000 (12:29 +0200)]
core: Make some needlessly exported device functions static

11 years agocore: Remove unused textfile_casedel and textfile_caseput functions
Johan Hedberg [Fri, 14 Dec 2012 10:27:42 +0000 (12:27 +0200)]
core: Remove unused textfile_casedel and textfile_caseput functions

11 years agocore: Make create_dirs function static
Johan Hedberg [Fri, 14 Dec 2012 10:26:36 +0000 (12:26 +0200)]
core: Make create_dirs function static

11 years agoaudio: Remove unused sink_get_state function
Johan Hedberg [Fri, 14 Dec 2012 10:25:29 +0000 (12:25 +0200)]
audio: Remove unused sink_get_state function

11 years agocore: Remove unused eir functions
Johan Hedberg [Fri, 14 Dec 2012 10:23:34 +0000 (12:23 +0200)]
core: Remove unused eir functions

11 years agoattrib: conn_state should be static
Johan Hedberg [Fri, 14 Dec 2012 10:22:03 +0000 (12:22 +0200)]
attrib: conn_state should be static

11 years agocore: Remove unused adapter_any references
Johan Hedberg [Fri, 14 Dec 2012 10:16:23 +0000 (12:16 +0200)]
core: Remove unused adapter_any references

11 years agocore: Remove unused read_local_class function
Johan Hedberg [Fri, 14 Dec 2012 09:40:18 +0000 (11:40 +0200)]
core: Remove unused read_local_class function

11 years agocore: Remove unused write_lastused_info function
Johan Hedberg [Fri, 14 Dec 2012 09:38:52 +0000 (11:38 +0200)]
core: Remove unused write_lastused_info function

11 years agocore: Remove unused delete_record function
Johan Hedberg [Fri, 14 Dec 2012 09:37:45 +0000 (11:37 +0200)]
core: Remove unused delete_record function

11 years agocore: Remove unused characteristic storage functions
Johan Hedberg [Fri, 14 Dec 2012 09:35:37 +0000 (11:35 +0200)]
core: Remove unused characteristic storage functions

11 years agoTODO: All internal plugins have been converted to standard properties
Johan Hedberg [Fri, 14 Dec 2012 09:33:06 +0000 (11:33 +0200)]
TODO: All internal plugins have been converted to standard properties

11 years agoTODO: Mark profile->connect/auto_connect item as done
Johan Hedberg [Fri, 14 Dec 2012 09:32:21 +0000 (11:32 +0200)]
TODO: Mark profile->connect/auto_connect item as done

11 years agoTODO: Mark ConnectProfile item as done
Johan Hedberg [Fri, 14 Dec 2012 09:29:02 +0000 (11:29 +0200)]
TODO: Mark ConnectProfile item as done

11 years agocore: Match remote UUID instead of local one with ConnectProfile
Johan Hedberg [Fri, 14 Dec 2012 09:28:13 +0000 (11:28 +0200)]
core: Match remote UUID instead of local one with ConnectProfile

11 years agocore: Remove org.bluez.Watcher from bluetooth.conf
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:07 +0000 (11:13 +0200)]
core: Remove org.bluez.Watcher from bluetooth.conf

This interface is not used anywhere

11 years agocore: Remove another left over of HFP removal
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:06 +0000 (11:13 +0200)]
core: Remove another left over of HFP removal

11 years agosap: Append version to SimAccess interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:05 +0000 (11:13 +0200)]
sap: Append version to SimAccess interfaces

11 years agoproximity: Append version to Proximity interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:04 +0000 (11:13 +0200)]
proximity: Append version to Proximity interfaces

11 years agodbusoob: Append version to OutOfBand interface
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:03 +0000 (11:13 +0200)]
dbusoob: Append version to OutOfBand interface

11 years agohealth: Append version to Health interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:02 +0000 (11:13 +0200)]
health: Append version to Health interfaces

11 years agocore: Append version to Agent interface
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:01 +0000 (11:13 +0200)]
core: Append version to Agent interface

11 years agoalert: Append version to Alert interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:13:00 +0000 (11:13 +0200)]
alert: Append version to Alert interfaces

11 years agothermometer: Append version to Thermometer interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:12:59 +0000 (11:12 +0200)]
thermometer: Append version to Thermometer interfaces

11 years agocyclingspeed: Append version to CyclingSpeed interfaces
Luiz Augusto von Dentz [Fri, 14 Dec 2012 09:12:58 +0000 (11:12 +0200)]
cyclingspeed: Append version to CyclingSpeed interfaces

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.