OSDN Git Service

android-x86/external-bluetooth-bluez.git
14 years agoShow controller type and bus type for every device
Marcel Holtmann [Sat, 13 Feb 2010 01:22:18 +0000 (02:22 +0100)]
Show controller type and bus type for every device

14 years agoAdd helper functions for controller type string conversion
Marcel Holtmann [Sat, 13 Feb 2010 01:21:29 +0000 (02:21 +0100)]
Add helper functions for controller type string conversion

14 years agoAdd Bluetooth controller types
Marcel Holtmann [Sat, 13 Feb 2010 01:09:52 +0000 (02:09 +0100)]
Add Bluetooth controller types

14 years agoRelease 4.61
Marcel Holtmann [Fri, 12 Feb 2010 19:53:58 +0000 (20:53 +0100)]
Release 4.61

14 years agoDeprecate the ListAdapters() method on Manager
Gustavo F. Padovan [Fri, 12 Feb 2010 18:16:32 +0000 (16:16 -0200)]
Deprecate the ListAdapters() method on Manager

14 years agoAdd {deprecated} annotation to ListDevices()
Gustavo F. Padovan [Fri, 12 Feb 2010 18:16:31 +0000 (16:16 -0200)]
Add {deprecated} annotation to ListDevices()

14 years agoFix segmentation fault when headset disconnects during authorization
Claudio Takahasi [Wed, 10 Feb 2010 14:29:16 +0000 (12:29 -0200)]
Fix segmentation fault when headset disconnects during authorization

Headset authorization callback is not being removed when the headset
disconnects during authorization. Cancel authorization function of
audio devices doesn't iterate the callbacks list properly.

14 years agoAdd argument verification when unregistering Handsfree agent
Claudio Takahasi [Tue, 9 Feb 2010 21:36:26 +0000 (19:36 -0200)]
Add argument verification when unregistering Handsfree agent

The given object path argument must match the same value that has been
used on registration.

14 years agoHandle unanswered AVDTP request on disconnect
Daniel Orstadius [Tue, 9 Feb 2010 16:23:50 +0000 (18:23 +0200)]
Handle unanswered AVDTP request on disconnect

If the connection is lost when there is an AVDTP request the remote has
not replied to and which has not timed out, then at least in some cases
the callback for the request is not called leading to no Error response
being sent on the Audio API.

This patch checks if there is an outstanding request when the stream
state goes to idle and in that case triggers the corresponding callback
with an error.

14 years agoThe TX power level is a signed int and not an unsigned int
Marcel Holtmann [Sat, 6 Feb 2010 04:16:38 +0000 (20:16 -0800)]
The TX power level is a signed int and not an unsigned int

14 years agoPrint EIR attribute for Device ID
Marcel Holtmann [Sat, 6 Feb 2010 04:16:03 +0000 (20:16 -0800)]
Print EIR attribute for Device ID

14 years agoAdd support for handling Inquiry Response Transmit Power Level
Marcel Holtmann [Sat, 6 Feb 2010 04:09:54 +0000 (20:09 -0800)]
Add support for handling Inquiry Response Transmit Power Level

14 years agoFix another fallout from Inquiry Response Transmit Power Level typo
Marcel Holtmann [Sat, 6 Feb 2010 03:52:59 +0000 (19:52 -0800)]
Fix another fallout from Inquiry Response Transmit Power Level typo

14 years agoDon't include PnP service class in EIR response
Marcel Holtmann [Sat, 6 Feb 2010 03:23:31 +0000 (19:23 -0800)]
Don't include PnP service class in EIR response

14 years agoFix my stupid typo with Read Inquiry Response Transmit Power Level
Marcel Holtmann [Fri, 5 Feb 2010 18:31:50 +0000 (10:31 -0800)]
Fix my stupid typo with Read Inquiry Response Transmit Power Level

14 years agoRemove Sixaxis quirk
Bastien Nocera [Fri, 5 Feb 2010 13:52:15 +0000 (13:52 +0000)]
Remove Sixaxis quirk

The quirk in input/device.c to make the Sixaxis joypad operational
in Bluetooth mode is now available directly in the kernel.

14 years agoAdd 0xff (any object type) to sdptool OPUSH supported formats list.
Nick Pelly [Wed, 3 Feb 2010 19:34:50 +0000 (11:34 -0800)]
Add 0xff (any object type) to sdptool OPUSH supported formats list.

This fixed an issue with sending an image from OSX. OSX would show a
warning that the bluez stack does not support this file type, but offer
to send it anyway (which works). This change to advertise support for
all object types will remove this warning.

The list of file types that can be advertised in the SDP record is very
limited anyway. It is best to list that we support all file types here,
and then filter at the OPP/OBEX connection instead.

For reference:
0x01 = vCard 2.1
0x02 = vCard 3.0
0x03 = vCal 1.0
0x04 = iCal 2.0
0x05 = vNote
0x06 = vMessage
0xFF = any type of object.

14 years agoImplement HandsfreeGateway Interface
Gustavo F. Padovan [Thu, 4 Feb 2010 18:48:11 +0000 (16:48 -0200)]
Implement HandsfreeGateway Interface

Create a interface where a Handsfree agent can register and use BlueZ to
handle the rfcomm and sco links.

Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for his
prototype on this code.

14 years agoclean up audio/gateway.c
Gustavo F. Padovan [Tue, 2 Feb 2010 21:41:07 +0000 (19:41 -0200)]
clean up audio/gateway.c

remove all code related to the AT engine

14 years agoUpdate configure checks for libcap-ng and libnl
Marcel Holtmann [Wed, 3 Feb 2010 22:33:13 +0000 (14:33 -0800)]
Update configure checks for libcap-ng and libnl

14 years agoFix mode restoration when remember_powered is false
Johan Hedberg [Wed, 3 Feb 2010 21:40:28 +0000 (13:40 -0800)]
Fix mode restoration when remember_powered is false

14 years agoCheck for cached remote host features during discovery
Johan Hedberg [Wed, 3 Feb 2010 20:02:42 +0000 (12:02 -0800)]
Check for cached remote host features during discovery

If a remote name is cached and we didn't got a non-EIR event we should
check for cached remote host features for SSP support to behave
correctly with SSP & non-EIR devices.

14 years agoImplement caching of remote host features
Johan Hedberg [Wed, 3 Feb 2010 18:52:59 +0000 (10:52 -0800)]
Implement caching of remote host features

Devices with SSP but no EIR requires looking at the remote host features
to get a correct value for the LegacyPairing property. Requesting a
remote name gives these features for free but if the name is already
cached we don't get them. This patch implements the caching part for the
features and a subsequent patch will actually make use of the cached
value for the device discovery process.

14 years agoUse more sane default indicator values
Johan Hedberg [Mon, 1 Feb 2010 14:33:48 +0000 (06:33 -0800)]
Use more sane default indicator values

14 years agoAdd initial skeleton for Phonet AT (DUN) plugin
Johan Hedberg [Tue, 26 Jan 2010 13:24:14 +0000 (15:24 +0200)]
Add initial skeleton for Phonet AT (DUN) plugin

14 years agoRename network "Device" to "Interface"
Marcel Holtmann [Tue, 2 Feb 2010 18:20:59 +0000 (10:20 -0800)]
Rename network "Device" to "Interface"

14 years agoCheck for dbus_connection_can_send_type() function
Marcel Holtmann [Sat, 30 Jan 2010 16:26:23 +0000 (08:26 -0800)]
Check for dbus_connection_can_send_type() function

14 years agoFix conference call releasing in telephony-maemo
Daniel Orstadius [Thu, 28 Jan 2010 15:14:40 +0000 (17:14 +0200)]
Fix conference call releasing in telephony-maemo

Currently telephony-maemo only ends the first call found on
receiving AT+CHUP (hang up) from the headset. This patch checks
if the call is part of a conference call and in that case releases
the whole conference.

14 years agoRemove unneeded use of status variable
Marcel Holtmann [Wed, 27 Jan 2010 08:48:21 +0000 (09:48 +0100)]
Remove unneeded use of status variable

14 years agoIntroduce g_dbus_setup_private() to gdbus
Forrest Zhao [Wed, 27 Jan 2010 08:24:23 +0000 (16:24 +0800)]
Introduce g_dbus_setup_private() to gdbus

g_dbus_setup_private() is used to setup private DBusConnection

14 years agoFix possible invalid read when removing a temporary device
Luiz Augusto Von Dentz [Tue, 26 Jan 2010 14:17:21 +0000 (16:17 +0200)]
Fix possible invalid read when removing a temporary device

An invalid read may happens when doing the reverse service discovery but
for some reason the device disconnects with the temporary flag set which
will make the device to be removed without cancelling the service.

14 years agoAdd icons for video-type devices
Bastien Nocera [Tue, 26 Jan 2010 15:41:04 +0000 (15:41 +0000)]
Add icons for video-type devices

14 years agoRemove "(tentative)" comment
Marcel Holtmann [Fri, 22 Jan 2010 13:24:00 +0000 (14:24 +0100)]
Remove "(tentative)" comment

14 years agoAdd preliminary voice dialling support for HSP
Peter Zotov [Thu, 14 Jan 2010 20:29:59 +0000 (23:29 +0300)]
Add preliminary voice dialling support for HSP

14 years agoRelease 4.60
Marcel Holtmann [Sat, 9 Jan 2010 21:51:11 +0000 (13:51 -0800)]
Release 4.60

14 years agoFix voice mailbox number reading from SIM
Johan Hedberg [Fri, 8 Jan 2010 11:32:51 +0000 (13:32 +0200)]
Fix voice mailbox number reading from SIM

The MBDN elementary file needs to be used instead of VMBX to fetch the
voice mailbox.

TS 151.011 contains following information:
"10.3.43 EFMBDN (Mailbox Dialling Numbers) This EF contains dialling
numbers to access mailboxes associated with Voicemail, Fax, Electronic
Mail and other messages. It may also contain associated alpha-tags for
each supported mailbox. Each dialing number shall be associated with a
message waiting indication group type using EFMBI (see 3GPP TS 23.038
[12] for message waiting indication group types)."

14 years agoFix regression when removing watches
Luiz Augusto Von Dentz [Fri, 8 Jan 2010 10:17:19 +0000 (12:17 +0200)]
Fix regression when removing watches

filter_data_find return the first data registered in this case so there is
no guarantee that it return the same data as passed to
filter_data_remove_callback which is the one that should be removed.

The fix is to simple cache the connection removing the correct data before
checking if there is any filter left.

14 years agoFix some missed copyrights
Marcel Holtmann [Thu, 7 Jan 2010 09:13:49 +0000 (01:13 -0800)]
Fix some missed copyrights

14 years agoUpdate Intel copyrights
Marcel Holtmann [Thu, 7 Jan 2010 09:12:16 +0000 (01:12 -0800)]
Update Intel copyrights

14 years agoUpdate Nokia copyrights
Johan Hedberg [Thu, 7 Jan 2010 09:02:51 +0000 (11:02 +0200)]
Update Nokia copyrights

14 years agoCleanup of D-Bus mainloop integration
Marcel Holtmann [Sun, 3 Jan 2010 05:42:10 +0000 (21:42 -0800)]
Cleanup of D-Bus mainloop integration

14 years agoUpdate copyright information
Marcel Holtmann [Sat, 2 Jan 2010 01:08:17 +0000 (17:08 -0800)]
Update copyright information

14 years agoUpdate copyright information of D-Bus helper library
Marcel Holtmann [Sat, 2 Jan 2010 01:04:13 +0000 (17:04 -0800)]
Update copyright information of D-Bus helper library

14 years agoFix undefined symbols
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 12:10:15 +0000 (14:10 +0200)]
Fix undefined symbols

14 years agoPort ofono telefony driver to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 09:15:32 +0000 (11:15 +0200)]
Port ofono telefony driver to use g_dbus_add_signal_watch

14 years agoPort gdbus to use g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 09:16:23 +0000 (11:16 +0200)]
Port gdbus to use g_dbus_add_signal_watch

14 years agoAdd initial implementation of g_dbus_add_signal_watch
Luiz Augusto Von Dentz [Tue, 29 Dec 2009 08:53:21 +0000 (10:53 +0200)]
Add initial implementation of g_dbus_add_signal_watch

With g_dbus_add_signal_watch there is no need to register multiple filters
for dbus nor add matching rules manually.

14 years agoRelease 4.59
Marcel Holtmann [Thu, 24 Dec 2009 16:39:45 +0000 (08:39 -0800)]
Release 4.59

14 years agoDisable udev rules during make distcheck
Marcel Holtmann [Thu, 24 Dec 2009 16:35:17 +0000 (08:35 -0800)]
Disable udev rules during make distcheck

14 years agoUpdate library version
Marcel Holtmann [Thu, 24 Dec 2009 15:46:37 +0000 (07:46 -0800)]
Update library version

14 years agoFix Extended Inquiry Response record for Device ID
Marcel Holtmann [Thu, 24 Dec 2009 15:43:06 +0000 (07:43 -0800)]
Fix Extended Inquiry Response record for Device ID

14 years agoAdd skeleton for HCI tracing daemon
Marcel Holtmann [Thu, 24 Dec 2009 15:37:54 +0000 (07:37 -0800)]
Add skeleton for HCI tracing daemon

14 years agoAdd command values from Bluetooth 4.0 specification
Marcel Holtmann [Fri, 18 Dec 2009 06:07:52 +0000 (22:07 -0800)]
Add command values from Bluetooth 4.0 specification

14 years agoAdd LMP features for Low Energy support
Marcel Holtmann [Fri, 18 Dec 2009 05:52:23 +0000 (21:52 -0800)]
Add LMP features for Low Energy support

14 years agoAdd version value for Bluetooth 4.0
Marcel Holtmann [Fri, 18 Dec 2009 02:51:21 +0000 (18:51 -0800)]
Add version value for Bluetooth 4.0

14 years agoAdd another company identifier
Marcel Holtmann [Fri, 18 Dec 2009 02:49:33 +0000 (18:49 -0800)]
Add another company identifier

14 years agoFix disconnection timer removal when a device disconnects unexpectedly
Daniel Orstadius [Thu, 17 Dec 2009 13:29:51 +0000 (15:29 +0200)]
Fix disconnection timer removal when a device disconnects unexpectedly

To avoid spurious HCI Disconnect commands the disconnect timer should be
removed if the device disconnects earlier than expected.

14 years agoFix D-Bus timeout handling
Daniel Orstadius [Wed, 16 Dec 2009 09:23:46 +0000 (11:23 +0200)]
Fix D-Bus timeout handling

Timeouts should also be removed in the remove_timeout callback in
addition to the timeout_handler_free function. This is how dbus-glib
does it and it seems to prevent crashes in certain situations.

14 years agoAdd SDP functions for HDP support
José Antonio Santos Cadenas [Mon, 14 Dec 2009 11:35:16 +0000 (12:35 +0100)]
Add SDP functions for HDP support

14 years agoAdd another company identifier
Marcel Holtmann [Fri, 4 Dec 2009 03:06:58 +0000 (04:06 +0100)]
Add another company identifier

14 years agoFix missing close on BtIO create_io function
Claudio Takahasi [Thu, 26 Nov 2009 14:31:48 +0000 (12:31 -0200)]
Fix missing close on BtIO create_io function

When a new BtIO is being created, if bind or setsockopts fails the
socket remains open.

14 years agoFix sending incorrect AVDTP commands after a timeout occurs
Johan Hedberg [Fri, 20 Nov 2009 12:25:01 +0000 (14:25 +0200)]
Fix sending incorrect AVDTP commands after a timeout occurs

Since request_timeout() does callbacks into a2dp.c before sending the
ABORT command we need to make sure that none of the callbacks can
trigger sending any further AVDTP commands. This is easiest done by
setting the stream->abort_int flag early in the request_timeout function
and then checking for it in the send_request function.

14 years agoAdd test scripts for input and audio
Johan Hedberg [Thu, 19 Nov 2009 12:27:53 +0000 (14:27 +0200)]
Add test scripts for input and audio

14 years agoRelease 4.58
Marcel Holtmann [Sun, 15 Nov 2009 11:59:42 +0000 (12:59 +0100)]
Release 4.58

14 years agoFix wrong order of error handling in netlink setup
Marcel Holtmann [Sat, 14 Nov 2009 23:11:45 +0000 (00:11 +0100)]
Fix wrong order of error handling in netlink setup

14 years agoFix regression introduced by 37b02c1ef9be4f989c9ad5e511f519d35f2bc088
Luiz Augusto von Dentz [Thu, 12 Nov 2009 21:12:26 +0000 (18:12 -0300)]
Fix regression introduced by 37b02c1ef9be4f989c9ad5e511f519d35f2bc088

device->authr cannot be reset to NULL in initiator case as it is needed
by device_is_authenticating.

So instead of reseting device->authr just reset both device->authr->cb
and device->authr->agent to NULL, this fix the regression since the original
problem was device->authr->agent pointing to freed memory.

14 years agoFix bluetoothd crash when adapter agent exists during authentication
Johan Hedberg [Wed, 11 Nov 2009 14:43:39 +0000 (16:43 +0200)]
Fix bluetoothd crash when adapter agent exists during authentication

During general bonding or dedicated bonding acceptor
device->authr->agent will point to the adapter agent. However, there's
no direct way to access device->authr if the agent exists while
authentication is ongoing. With the current code this would lead into
accessing free'd memory since device->authr->agent becomes an invalid
pointer.

One way to fix this would be to add reference counting to the agent
objects, but that would be quite intrusive on the way that the code
expects agent_free to behave at the moment and handles agent
re-registration checks. Another option would be to iterate through all
device objects to find if any of them have a reference to the adapter
agent, however this would be quite a waste of CPU cycles (and pretty
ugly imho).

This patch takes neither of these two possibilities but comes with the
realization that maintaining device->authr is completely unnecessary
after the authentication callbacks have been called (currently
device->authr gets reset only when the full pairing process completes).
Since agent_free takes care of the bluetoothd internal callbacks in the
case that the agent exited unexpectedly we simply need to clean up
device->authr in these callbacks, which is what this patch does.

14 years agoRemove the unnecessary agent_destroy function
Johan Hedberg [Wed, 11 Nov 2009 12:17:20 +0000 (14:17 +0200)]
Remove the unnecessary agent_destroy function

14 years agoInclude info(), error() and debug() as exported symbols
Marcel Holtmann [Mon, 9 Nov 2009 11:28:29 +0000 (12:28 +0100)]
Include info(), error() and debug() as exported symbols

This is needed until everything has a proper btd_ symbol prefix.

14 years agoFix CK-20W quirks for play and pause events
Daniel Orstadius [Tue, 3 Nov 2009 08:22:17 +0000 (10:22 +0200)]
Fix CK-20W quirks for play and pause events

It seems the play and pause key presses also lack the release event
sometimes so also add the necessary quirk to them.

14 years agoRelease 4.57
Marcel Holtmann [Sat, 31 Oct 2009 16:10:48 +0000 (01:10 +0900)]
Release 4.57

14 years agoMention Jaikumar's contributions
Marcel Holtmann [Sat, 31 Oct 2009 16:03:08 +0000 (01:03 +0900)]
Mention Jaikumar's contributions

14 years agoFix const declarations for some storage function parameters
Johan Hedberg [Thu, 29 Oct 2009 21:15:24 +0000 (23:15 +0200)]
Fix const declarations for some storage function parameters

14 years agoFix deleting of SDP records during service updates
Jaikumar Ganesh [Thu, 29 Oct 2009 21:01:36 +0000 (14:01 -0700)]
Fix deleting of SDP records during service updates

We were deleting the SDP records only if a device was registered for those
UUIDs. With this change, we delete the SDP records even if there are no
drivers registered.

14 years agoFix deleting SDP records when a device is removed
Jaikumar Ganesh [Thu, 29 Oct 2009 20:19:51 +0000 (13:19 -0700)]
Fix deleting SDP records when a device is removed

This fixes the issues of stale SDP records, when the SDP records are
modified on the remote end, before the next connection. Since we are going
to perform SDP on the next connection anyway, this doesn't introduce any
new overheads.

14 years agoFix message handling for autostart.
Claudio Takahasi [Tue, 27 Oct 2009 20:24:11 +0000 (18:24 -0200)]
Fix message handling for autostart.

Current implementation of libdbus Request name is blocking, consequently
the first incomming message that triggered the service autostart is not
being processed properly.

14 years agoSome coding style fixes and removed unused function.
Claudio Takahasi [Thu, 22 Oct 2009 17:39:26 +0000 (15:39 -0200)]
Some coding style fixes and removed unused function.

14 years agoFix potential buffer overflow by using snprintf instead of sprintf
Johan Hedberg [Fri, 23 Oct 2009 18:25:28 +0000 (21:25 +0300)]
Fix potential buffer overflow by using snprintf instead of sprintf

14 years agoFix SDP handling when the SDP record is modified on remote device.
Jaikumar Ganesh [Thu, 22 Oct 2009 22:46:27 +0000 (15:46 -0700)]
Fix SDP handling when the SDP record is modified on remote device.

We invalidate the in-memory SDP records list only when a profile
is added or removed. So when a SDP record attribute like the rfcomm
channel number is modified on the remote device, we will miss the update.

14 years agoFix audio.conf variable to match what is parsed for in audio/manager.c
Daniel Orstadius [Wed, 21 Oct 2009 11:57:09 +0000 (14:57 +0300)]
Fix audio.conf variable to match what is parsed for in audio/manager.c

14 years agoFix codec selection on gstream plugin.
Luiz Augusto von Dentz [Mon, 5 Oct 2009 20:51:14 +0000 (22:51 +0200)]
Fix codec selection on gstream plugin.

14 years agoFix debug message to use requested seid not opened seid.
Luiz Augusto von Dentz [Mon, 5 Oct 2009 20:49:55 +0000 (22:49 +0200)]
Fix debug message to use requested seid not opened seid.

14 years agoFix unloading of drivers for uninitialized adapters
Johan Hedberg [Tue, 20 Oct 2009 20:09:05 +0000 (23:09 +0300)]
Fix unloading of drivers for uninitialized adapters

If adapter initialization fails we shouldn't call the adapter driver
remove callbacks since their respective probe callbacks were never called.

14 years agoRemove unused variables from adapter struct
Claudio Takahasi [Wed, 14 Oct 2009 14:11:37 +0000 (11:11 -0300)]
Remove unused variables from adapter struct

14 years agoRemove unused functions
Claudio Takahasi [Wed, 14 Oct 2009 14:02:35 +0000 (11:02 -0300)]
Remove unused functions

14 years agoRemove unused variables
Claudio Takahasi [Tue, 13 Oct 2009 14:57:55 +0000 (11:57 -0300)]
Remove unused variables

14 years agoRelease 4.56
Marcel Holtmann [Sat, 10 Oct 2009 11:24:08 +0000 (13:24 +0200)]
Release 4.56

14 years agoUpdate library version
Marcel Holtmann [Sat, 10 Oct 2009 11:12:52 +0000 (13:12 +0200)]
Update library version

14 years agoFix parsing service records with an empty service classes list
Johan Hedberg [Fri, 9 Oct 2009 13:45:56 +0000 (15:45 +0200)]
Fix parsing service records with an empty service classes list

Current code would segfault if it encounters a service record with an
empty service classes list. This patch fixes it.

14 years agoFix agent cancelling before calling agent_destroy
Johan Hedberg [Thu, 8 Oct 2009 10:47:45 +0000 (12:47 +0200)]
Fix agent cancelling before calling agent_destroy

14 years agoAdd missing command values from Bluetooth 3.0 specification
Marcel Holtmann [Wed, 7 Oct 2009 18:57:41 +0000 (20:57 +0200)]
Add missing command values from Bluetooth 3.0 specification

14 years agoAdd value for Read Encryption Key Size command constant
Marcel Holtmann [Wed, 7 Oct 2009 18:49:22 +0000 (20:49 +0200)]
Add value for Read Encryption Key Size command constant

14 years agoAdd feature definition for Enhanced Power Control
Marcel Holtmann [Wed, 7 Oct 2009 18:44:06 +0000 (20:44 +0200)]
Add feature definition for Enhanced Power Control

14 years agoFix legacy pairing information update based on remote features event
Johan Hedberg [Wed, 7 Oct 2009 12:24:25 +0000 (14:24 +0200)]
Fix legacy pairing information update based on remote features event

To avoid false-negatives for legacy pairing we should also make use of the
Remote Host Supported Features Notification Event to update the legacy
pairing flag for the found devices list.

14 years agoFix tracking of devices without a permanently stored link key
Johan Hedberg [Wed, 7 Oct 2009 09:07:29 +0000 (11:07 +0200)]
Fix tracking of devices without a permanently stored link key

We should just remove device objects for which we didn't permanently store
the link key. The simplest way to do it is to set the temporary flag back
on after setting the device as paired.

14 years agoAdd proper tracking of device paired status
Johan Hedberg [Wed, 7 Oct 2009 08:52:03 +0000 (10:52 +0200)]
Add proper tracking of device paired status

In order to not do unnecessary link key removal attempts upon device
removal we need to keep track of whether we have a link key for the device
or not.

14 years agoExtend read_link_key to be used as a simple boolean test
Johan Hedberg [Wed, 7 Oct 2009 08:39:21 +0000 (10:39 +0200)]
Extend read_link_key to be used as a simple boolean test

In some cases we just want to know if there's a link key or not but not
actually do anything with the key. This patch makes it possible to use the
existing read_link_key storage function to be able to check for the
existence of the link key without actually returning the key to the
calling function.

14 years agoAdd support for AVDTP 1.3 Delay Reporting
Johan Hedberg [Tue, 6 Oct 2009 13:41:53 +0000 (15:41 +0200)]
Add support for AVDTP 1.3 Delay Reporting

This patch adds support for the new Delay Report command in AVDTP 1.3.

14 years agoFix off-by-one issue with AVDTP capability parsing
Johan Hedberg [Tue, 6 Oct 2009 13:28:25 +0000 (15:28 +0200)]
Fix off-by-one issue with AVDTP capability parsing

14 years agoFix a few SDP related memory leaks
Johan Hedberg [Mon, 5 Oct 2009 22:50:54 +0000 (00:50 +0200)]
Fix a few SDP related memory leaks