OSDN Git Service
Johan Hedberg [Tue, 20 Nov 2012 11:02:05 +0000 (13:02 +0200)]
input: Add missing local_uuid entry
Szymon Janc [Mon, 19 Nov 2012 15:03:58 +0000 (16:03 +0100)]
neard: Append hash/randomizer in EIR only if remote provided it
Read local OOB data for RequestOOB reply only if remote also provided
hash and randomizer in EIR. This will allow for faster reply when only
discovery is done OOB. It is also required to pass NFC handover test
related to Bluetooth just-works pairing.
Szymon Janc [Mon, 19 Nov 2012 15:03:57 +0000 (16:03 +0100)]
neard: Add support for nokia.com:bt type
This adds support for parsing nokia.com:bt type supported by some Nokia
NFC enabled devices. This is not fully documented Nokia extension so
to keep implementation sane and simple only PushOOB method suports
this type so only static handover is possible.
Szymon Janc [Mon, 19 Nov 2012 15:03:56 +0000 (16:03 +0100)]
neard: Move device object checking into separate helper
This will also be used by 'nokia.com:bt' handler.
Szymon Janc [Mon, 19 Nov 2012 15:03:55 +0000 (16:03 +0100)]
neard: Use ENONET error when adapter is not enabled
This results in returning error 'Disabled' instead of 'No such Device'.
Will allow neard to properly set power state of Bluetooth carrier.
Frédéric Dalleau [Mon, 19 Nov 2012 15:50:44 +0000 (16:50 +0100)]
btiotest: Enable deferred setup for sco sockets
Frédéric Dalleau [Mon, 19 Nov 2012 15:50:43 +0000 (16:50 +0100)]
scotest: Add deferred setup option
Luiz Augusto von Dentz [Tue, 20 Nov 2012 09:13:01 +0000 (11:13 +0200)]
audio: Auto connect AVRCP in case of A2DP source is connected
This enables the same logic used for A2DP sink, so it attempt to
connect AVRCP if remote device support it.
Note this is necessary for some devices e.g. WP7 that don't connect
even when being the initiator because it is not mandatory for target
to do so even though it is recommended to avoid collisions while trying
to estabilish the connection.
Johan Hedberg [Mon, 19 Nov 2012 18:46:31 +0000 (20:46 +0200)]
test: Add simple HFP test script
Szymon Janc [Mon, 19 Nov 2012 15:02:46 +0000 (16:02 +0100)]
device: Fix minor whitespace issues
Szymon Janc [Mon, 19 Nov 2012 15:02:45 +0000 (16:02 +0100)]
device: Remove not really used auto_id member from btd_device
auto_id is not used anymore as LE device connect is now done by
adapter autoconnect list.
Szymon Janc [Mon, 19 Nov 2012 15:02:44 +0000 (16:02 +0100)]
adapter: Minor whitespace fix in btd_adapter_set_class
Indent with tab not spaces.
Szymon Janc [Mon, 19 Nov 2012 15:02:43 +0000 (16:02 +0100)]
adapter: Remove not needed variable from btd_adapter_start
address is no longer used and can be removed.
Szymon Janc [Mon, 19 Nov 2012 15:02:42 +0000 (16:02 +0100)]
adapter: Remove not needed variable from btd_adapter_get_mode
address is no longer used and can be removed.
Johan Hedberg [Sun, 18 Nov 2012 21:16:28 +0000 (23:16 +0200)]
core: Fix checking profiles with no local_uuid
Marcel Holtmann [Sat, 17 Nov 2012 09:38:24 +0000 (18:38 +0900)]
monitor: Decode a few Attribute PDUs
Johan Hedberg [Sat, 17 Nov 2012 09:37:19 +0000 (11:37 +0200)]
core: Fix SDP registration when staring server sockets fails
Johan Hedberg [Sat, 17 Nov 2012 04:53:30 +0000 (06:53 +0200)]
core: Add support for generic L2CAP & RFCOMM profiles
Johan Hedberg [Sat, 17 Nov 2012 04:52:46 +0000 (06:52 +0200)]
core: Fix external profile remote UUID setting
Johan Hedberg [Sat, 17 Nov 2012 04:50:45 +0000 (06:50 +0200)]
test: Add support for dynamic channels and PSMs to test-profile
Johan Hedberg [Sat, 17 Nov 2012 04:48:52 +0000 (06:48 +0200)]
test: Add random UUID support to test-profile
Johan Hedberg [Sat, 17 Nov 2012 04:47:43 +0000 (06:47 +0200)]
sdp-xml: Fix parsing of unknown elements
Marcel Holtmann [Sat, 17 Nov 2012 04:32:18 +0000 (13:32 +0900)]
monitor: Fix some AMP controller decodings
Marcel Holtmann [Sat, 17 Nov 2012 04:24:19 +0000 (13:24 +0900)]
monitor: Decode Security Manager Protocol
Marcel Holtmann [Sat, 17 Nov 2012 03:21:07 +0000 (12:21 +0900)]
monitor: Use callback tables for ATT and SMP
Marcel Holtmann [Sat, 17 Nov 2012 03:09:16 +0000 (12:09 +0900)]
monitor: Decode AMP Manager Protocol packets
Marcel Holtmann [Fri, 16 Nov 2012 16:54:19 +0000 (01:54 +0900)]
monitor: Fix typo with Read Stored Link Keys command
Marcel Holtmann [Fri, 16 Nov 2012 16:52:12 +0000 (01:52 +0900)]
monitor: Add basic decoding for SDP transactions
Luiz Augusto von Dentz [Fri, 16 Nov 2012 13:11:53 +0000 (15:11 +0200)]
audio: Bump A2DP version to 1.3
In addition remove support of setting DelayReporting in audio.conf as
it should always be supported in the service record since it doesn't
mean the endpoint must support it because it is actually negotiated
during the stream configuration.
Johan Hedberg [Fri, 16 Nov 2012 13:48:09 +0000 (15:48 +0200)]
core: Add support for custom SPP service UUIDs
Johan Hedberg [Fri, 16 Nov 2012 13:47:31 +0000 (15:47 +0200)]
test: Add support for profile Service property
Johan Hedberg [Fri, 16 Nov 2012 13:37:29 +0000 (15:37 +0200)]
core: Add default PBAP Server service record
Johan Hedberg [Fri, 16 Nov 2012 13:26:47 +0000 (15:26 +0200)]
core: Add default entry for PBAP Client
Johan Hedberg [Fri, 16 Nov 2012 13:26:35 +0000 (15:26 +0200)]
core: Move external profile record handles into a common structure
Johan Hedberg [Fri, 16 Nov 2012 10:31:11 +0000 (12:31 +0200)]
core: Add Service property for external profiles
This property is used to distinguish the service class UUID from the
actual profile UUID.
Frédéric Danis [Thu, 15 Nov 2012 17:31:40 +0000 (18:31 +0100)]
dbusoob: Set device class in device object
Frédéric Danis [Thu, 15 Nov 2012 17:31:39 +0000 (18:31 +0100)]
event: Set device class in device object
Frédéric Danis [Thu, 15 Nov 2012 17:31:38 +0000 (18:31 +0100)]
adapter: Set device class in device object
Move storage of device class after device object creation.
Frédéric Danis [Thu, 15 Nov 2012 17:31:37 +0000 (18:31 +0100)]
device: Retrieve class from storage
When device class is updated, save it and emit property changed signal.
Frédéric Danis [Thu, 15 Nov 2012 17:31:36 +0000 (18:31 +0100)]
adapter: Convert storage classes
Frédéric Danis [Thu, 15 Nov 2012 17:31:35 +0000 (18:31 +0100)]
device: Device_remove_stored removes device directory
When a device is removed we should remove the device info
file and storage directory.
Frédéric Danis [Thu, 15 Nov 2012 17:31:34 +0000 (18:31 +0100)]
device: Remove storage path #defines
INFO_PATH and CACHE_PATH will be static for the
entire 5.x series
Syam Sidhardhan [Tue, 23 Oct 2012 13:57:06 +0000 (19:27 +0530)]
gdbus: Replace leading spaces with tabs
Trivial formatting fix.
Marcel Holtmann [Fri, 16 Nov 2012 00:24:22 +0000 (09:24 +0900)]
monitor: Track L2CAP channel modes
Marcel Holtmann [Thu, 15 Nov 2012 23:49:20 +0000 (08:49 +0900)]
monitor: Handle PSM assignment for AMP controllers
Marcel Holtmann [Thu, 15 Nov 2012 23:26:51 +0000 (08:26 +0900)]
monitor: Track L2CAP PSM assignment
Marcel Holtmann [Thu, 15 Nov 2012 22:15:43 +0000 (07:15 +0900)]
monitor: Use L2CAP frame structure for extended information
Johan Hedberg [Thu, 15 Nov 2012 14:38:50 +0000 (16:38 +0200)]
core: Use ext_io for client PSM/channel lookups
Luiz Augusto von Dentz [Thu, 15 Nov 2012 14:05:22 +0000 (16:05 +0200)]
core: Make exit sequence consistent with init
manager_cleanup should be called after plugin_cleanup on exit as
manager_init is called before plugin_init on the init sequence.
Luiz Augusto von Dentz [Thu, 15 Nov 2012 14:05:21 +0000 (16:05 +0200)]
core: Fix registering '/org/bluez' path before '/'
This cause problems with ObjectManager being exported in both paths
Johan Hedberg [Thu, 15 Nov 2012 13:36:15 +0000 (15:36 +0200)]
core: Add common synonyms to to MAP MSE and MCE roles
Johan Hedberg [Thu, 15 Nov 2012 13:32:15 +0000 (15:32 +0200)]
core: Add default SDP record for FTP
Johan Hedberg [Thu, 15 Nov 2012 13:24:22 +0000 (15:24 +0200)]
core: Use "real" channel from ext_io for SDP records
Johan Hedberg [Thu, 15 Nov 2012 13:04:48 +0000 (15:04 +0200)]
core: Add support for default OPP record
Johan Hedberg [Thu, 15 Nov 2012 13:00:13 +0000 (15:00 +0200)]
core: Allow dynamically allocated PSMs and Channels for profiles
Johan Hedberg [Thu, 15 Nov 2012 12:27:07 +0000 (14:27 +0200)]
core: Keep local and remote channel/PSM info separate to avoid confusion
Johan Hedberg [Thu, 15 Nov 2012 11:59:37 +0000 (13:59 +0200)]
core: Add default DUN record for external profiles
Johan Hedberg [Thu, 15 Nov 2012 11:52:16 +0000 (13:52 +0200)]
core: Add default SPP record for external profiles
Johan Hedberg [Thu, 15 Nov 2012 11:32:46 +0000 (13:32 +0200)]
test: Remove hardcoded default name from test-profile
Johan Hedberg [Thu, 15 Nov 2012 11:32:06 +0000 (13:32 +0200)]
core: Add default names for known profiles
Johan Hedberg [Thu, 15 Nov 2012 10:43:04 +0000 (12:43 +0200)]
core: Remove useless ext_get_record function
Johan Hedberg [Thu, 15 Nov 2012 10:42:19 +0000 (12:42 +0200)]
core: Add HFP AG defautl record for external profiles
Johan Hedberg [Thu, 15 Nov 2012 10:40:43 +0000 (12:40 +0200)]
lib: Add new Network attribute define for HFP 1.6 AG record
Johan Hedberg [Thu, 15 Nov 2012 10:14:50 +0000 (12:14 +0200)]
core: Remove unneeded line in XML record definition
Marcel Holtmann [Thu, 15 Nov 2012 09:30:49 +0000 (18:30 +0900)]
monitor: Add decoding of L2CAP configuration options
Syam Sidhardhan [Wed, 14 Nov 2012 13:07:10 +0000 (18:37 +0530)]
gdbus: Fix compilation error due to missing #defines
Since these are simple #define strings, we are defining it here
instead of upgrading to D-Bus 1.5 or later.
Log:
CC gdbus/object.o
gdbus/object.c: In function ‘properties_set’:
gdbus/object.c:876:7: error: ‘DBUS_ERROR_UNKNOWN_PROPERTY’ undeclared
(first use in this function)
gdbus/object.c:876:7: note: each undeclared identifier is reported
only once for each function it appears in
gdbus/object.c:881:6: error: ‘DBUS_ERROR_PROPERTY_READ_ONLY’
undeclared (first use in this function)
make[1]: *** [gdbus/object.o] Error 1
make: *** [all] Error 2
Johan Hedberg [Wed, 14 Nov 2012 14:03:02 +0000 (16:03 +0200)]
doc: Add Version and Features parameters for RegisterProfile
Johan Hedberg [Wed, 14 Nov 2012 13:59:41 +0000 (15:59 +0200)]
test: Remove unneeded XML record from test-profile
Johan Hedberg [Wed, 14 Nov 2012 13:58:08 +0000 (15:58 +0200)]
core: Add automatic SDP record generation for external profiles
Johan Hedberg [Wed, 14 Nov 2012 13:36:51 +0000 (15:36 +0200)]
test: Remove useless record handle from test-profile record XML
Luiz Augusto von Dentz [Wed, 14 Nov 2012 13:19:46 +0000 (15:19 +0200)]
btio: Fix type detection for L2CAP fixed channels
Luiz Augusto von Dentz [Wed, 14 Nov 2012 12:52:25 +0000 (14:52 +0200)]
test: Remove test-telephony
This API is now gone so there is no reason to keep this around
Luiz Augusto von Dentz [Wed, 14 Nov 2012 12:45:56 +0000 (14:45 +0200)]
hfp-api: Remove HandsfreeGateway interface
This API is not longer supported
Luiz Augusto von Dentz [Wed, 14 Nov 2012 12:43:52 +0000 (14:43 +0200)]
audio-api: Remove Headset and HeadsetGateway APIs
Luiz Augusto von Dentz [Wed, 14 Nov 2012 12:20:36 +0000 (14:20 +0200)]
btio: Fix type detection when psm or channel are 0
They could be set to 0 on purpose so the kernel would automatically pick
one available.
To fix this now the detection is done while parsing the options, so in
case the user set the option to 0 it will automatically set the type
as well.
Johan Hedberg [Wed, 14 Nov 2012 13:06:17 +0000 (15:06 +0200)]
core: Add proper defaults database for external profiles
Johan Hedberg [Wed, 14 Nov 2012 12:50:38 +0000 (14:50 +0200)]
core: Add default RFCOMM channel definitions to profile.c
Johan Hedberg [Wed, 14 Nov 2012 12:50:05 +0000 (14:50 +0200)]
lib: Add missing OBEX UUID strings to uuid.h
Johan Hedberg [Wed, 14 Nov 2012 12:00:27 +0000 (14:00 +0200)]
assigned-numbers: Add MAP MAS (Message Notification Service) channel
Johan Hedberg [Wed, 14 Nov 2012 11:54:17 +0000 (13:54 +0200)]
core: Minor coding style fixes
Frédéric Danis [Wed, 14 Nov 2012 11:28:53 +0000 (12:28 +0100)]
adapter: Remove storage path #defines
SETTINGS_PATH and CACHE_PATH will be static for the
entire 5.x series
Frédéric Danis [Wed, 14 Nov 2012 11:28:52 +0000 (12:28 +0100)]
device: Use new storage for device trust
As set_trust() changes value in device structure and write to
storage is deferred, property set could not return failure.
Frédéric Danis [Wed, 14 Nov 2012 11:28:51 +0000 (12:28 +0100)]
adapter: Convert storage trusts
All entry in trusts file are set to [all] (if a device is not trusted
it does not have entry in this file).
So, we do not need to check entry value and set device (entry key) as
trusted.
Frédéric Danis [Wed, 14 Nov 2012 11:28:50 +0000 (12:28 +0100)]
device: Use new storage for device alias
As set_alias() changes value in device structure and write to
storage is deferred, property set could not return failure.
Frédéric Danis [Wed, 14 Nov 2012 11:28:49 +0000 (12:28 +0100)]
adapter: Convert storage aliases
Johan Hedberg [Wed, 14 Nov 2012 11:30:36 +0000 (13:30 +0200)]
TODO: Split completed BlueZ 5 items into a separate list for clarity
Johan Hedberg [Wed, 14 Nov 2012 10:59:19 +0000 (12:59 +0200)]
core: Use int instead of gint
Johan Hedberg [Wed, 14 Nov 2012 10:34:26 +0000 (12:34 +0200)]
core: Add connection priority to btd_profile
Johan Hedberg [Wed, 14 Nov 2012 08:58:08 +0000 (10:58 +0200)]
core: Fix manager_cleanup order
This patch fixes the order in which things are cleaned up in
manager_cleanup. The profiles need to be cleaned up first (since they
are higher level constructs than adapters and devices) and we cannot
remove the adapter from the manager list before calling adapter_remove
since functions within adapter_remove may remove service records which
in turn relies on having the adapter present in the manager list.
Johan Hedberg [Tue, 13 Nov 2012 17:41:16 +0000 (19:41 +0200)]
TODO: Update with current status
Anderson Lizardo [Tue, 13 Nov 2012 15:49:46 +0000 (11:49 -0400)]
TODO: Trivial typo fixes
Anderson Lizardo [Tue, 13 Nov 2012 15:49:45 +0000 (11:49 -0400)]
TODO: Add entry for runtime selection of drivers
This will allow to drop usage of symlinks to C files, which require
messing with CPPFLAGS so headers can be found by the preprocessor.
It also allows for easier testing, because it is not necessary to
rebuild BlueZ to test different drivers.
Marcel Holtmann [Tue, 13 Nov 2012 16:22:11 +0000 (01:22 +0900)]
monitor: Decode missing L2CAP signalling commands
Marcel Holtmann [Tue, 13 Nov 2012 15:46:03 +0000 (00:46 +0900)]
monitor: Support proper ACL packet fragmentation
Luiz Augusto von Dentz [Tue, 13 Nov 2012 13:02:07 +0000 (15:02 +0200)]
audio: Add support for passing endpoints as custom property
This adds the possibility to pass the registered endpoints to external
components implementing the same profile.
Luiz Augusto von Dentz [Mon, 12 Nov 2012 17:00:32 +0000 (19:00 +0200)]
audio: Move to profiles directory
Luiz Augusto von Dentz [Mon, 12 Nov 2012 15:07:06 +0000 (17:07 +0200)]
build: Remove gateway.c and gateway.h
Luiz Augusto von Dentz [Mon, 12 Nov 2012 15:03:47 +0000 (17:03 +0200)]
audio: Remove code HFP and HS gateway role
This is to be replaced with external profile support.
Luiz Augusto von Dentz [Mon, 12 Nov 2012 16:21:12 +0000 (18:21 +0200)]
build: Remove telephony.h
Luiz Augusto von Dentz [Mon, 12 Nov 2012 14:49:01 +0000 (16:49 +0200)]
build: Remove headset.c and headset.h