OSDN Git Service

android-x86/external-bluetooth-bluez.git
12 years agobtio: Add BtIOMode enum to be used with BT_IO_OPT_MODE
Luiz Augusto von Dentz [Thu, 2 Feb 2012 21:57:05 +0000 (13:57 -0800)]
btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE

12 years agocore: Add provision for terminating an ATT connection
Smriti Gupta [Fri, 20 Jan 2012 11:54:26 +0000 (17:24 +0530)]
core: Add provision for terminating an ATT connection

In order to terminate any existing ATT connection from the client side
existing function device_request_disconnect has been updated.

12 years agodevice: Fix segmentation fault removing devices
Santiago Carot-Nemesio [Tue, 31 Jan 2012 15:59:05 +0000 (16:59 +0100)]
device: Fix segmentation fault removing devices

There is an unbalanced control regarding to the GATT channel and its
attachid, we have to to update the attach id value by setting it to
zero whenever we detach a GATT channel.

12 years agolib: Add stub for A2MP
Johan Hedberg [Thu, 2 Feb 2012 17:48:55 +0000 (09:48 -0800)]
lib: Add stub for A2MP

12 years agosimple-agent: Ensure passkeys are padded to 6 digits
Johan Hedberg [Thu, 2 Feb 2012 17:14:41 +0000 (19:14 +0200)]
simple-agent: Ensure passkeys are padded to 6 digits

12 years agosimple-agent: Update default capability to KeyboardDisplay
Johan Hedberg [Thu, 2 Feb 2012 17:11:38 +0000 (19:11 +0200)]
simple-agent: Update default capability to KeyboardDisplay

Now that both user space and kernel mgmt code supports this new
capability it makes sense to set it as the default for simple-agent.

12 years agomgmtops: Implement mgmt_cancel_bonding
Johan Hedberg [Thu, 2 Feb 2012 01:58:11 +0000 (03:58 +0200)]
mgmtops: Implement mgmt_cancel_bonding

12 years agomgmt: Update event opcodes to latest API spec
Johan Hedberg [Wed, 1 Feb 2012 22:33:49 +0000 (14:33 -0800)]
mgmt: Update event opcodes to latest API spec

12 years agomgmt-api: Move New Long Term Key Event to a more logical place
Johan Hedberg [Wed, 1 Feb 2012 22:31:59 +0000 (14:31 -0800)]
mgmt-api: Move New Long Term Key Event to a more logical place

12 years agomgmt: Update commands to latest API
Johan Hedberg [Wed, 1 Feb 2012 22:26:16 +0000 (14:26 -0800)]
mgmt: Update commands to latest API

12 years agomgmt-api: Remove unused/implemented commands
Johan Hedberg [Wed, 1 Feb 2012 21:15:26 +0000 (23:15 +0200)]
mgmt-api: Remove unused/implemented commands

12 years agomgmt-api: Move Load Long Term Keys Command to a more logical place
Johan Hedberg [Wed, 1 Feb 2012 21:14:28 +0000 (23:14 +0200)]
mgmt-api: Move Load Long Term Keys Command to a more logical place

12 years agomgmt-api: Add missing cancel pairing command
Johan Hedberg [Wed, 1 Feb 2012 21:12:22 +0000 (23:12 +0200)]
mgmt-api: Add missing cancel pairing command

12 years agobtio: Add L2ERTM type
Luiz Augusto von Dentz [Wed, 1 Feb 2012 01:25:34 +0000 (17:25 -0800)]
btio: Add L2ERTM type

L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET

12 years agoadapter_ops: Add address type information to the pair_device command
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:53 +0000 (14:10 -0300)]
adapter_ops: Add address type information to the pair_device command

Now that we have address type information we have to inform it
when pairing with an device.

12 years agodevice: Fix not using the "bonded" property for new bondings
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:52 +0000 (14:10 -0300)]
device: Fix not using the "bonded" property for new bondings

When checking if a device was already bonded, we should
use the paired property instead of reading the link key
from storage. This method will work for LE links, also.

12 years agodevice: Fix not using the same way for pairing LE devices
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:51 +0000 (14:10 -0300)]
device: Fix not using the same way for pairing LE devices

Now that both backends (hciops and mgmtops) are capable
of pairing LE devices, we don't have to force the procedure.

12 years agodevice: Fix doing SDP discovery for LE devices after bonding is complete
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:50 +0000 (14:10 -0300)]
device: Fix doing SDP discovery for LE devices after bonding is complete

12 years agodevice: Fix setting the device as bonded when restoring from the LTK
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:49 +0000 (14:10 -0300)]
device: Fix setting the device as bonded when restoring from the LTK

12 years agoevent: Add type information to the mgmt "Device Connected" event
Vinicius Costa Gomes [Tue, 31 Jan 2012 17:10:48 +0000 (14:10 -0300)]
event: Add type information to the mgmt "Device Connected" event

In the case of incomming connections we have to know the type of
the device that connected to us.

Through hciops we have the LE Connection Complete event, that
information was lost when Management interface was being used.

12 years agoTODO: Remove already implemented mgmt features
Johan Hedberg [Fri, 27 Jan 2012 18:16:29 +0000 (20:16 +0200)]
TODO: Remove already implemented mgmt features

12 years agoattrib-server: Fix missing NULL check for adapter_find_device
Johan Hedberg [Tue, 31 Jan 2012 01:43:04 +0000 (03:43 +0200)]
attrib-server: Fix missing NULL check for adapter_find_device

12 years agoaudio: Fix disabling local A2DP endpoints when UNIX socket is disabled
Luiz Augusto von Dentz [Thu, 26 Jan 2012 21:39:02 +0000 (23:39 +0200)]
audio: Fix disabling local A2DP endpoints when UNIX socket is disabled

Local endpoints can only be used when UNIX socket API is available.

12 years agobtio: Fix users to not expect a default security level
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:23 +0000 (10:57 -0300)]
btio: Fix users to not expect a default security level

The users of btio should not expect that btio will set the security
level to medium if it wasn't specified. Now, all the users specfify
the security level needed.

12 years agobtio: Remove the default security level from btio
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:22 +0000 (10:57 -0300)]
btio: Remove the default security level from btio

The default value of sec_level when setting *any* option
using bt_io_set() was BT_SECURITY_MEDIUM. This was causing
the security procedure being started in some situations that
it should not.

12 years agotest: Add support for btiotest to returning the key size
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:21 +0000 (10:57 -0300)]
test: Add support for btiotest to returning the key size

12 years agotest: Add support for passing the CID to btiotest
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:20 +0000 (10:57 -0300)]
test: Add support for passing the CID to btiotest

If we want to test LE connections using btiotest we need to be
able to inform btio the Channel ID that we want to connect to, so
the kernel is able to learn that we want to establish a LE connection.

12 years agobtio: Add support for getting the Encryption Key Size via btio
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:19 +0000 (10:57 -0300)]
btio: Add support for getting the Encryption Key Size via btio

Some profiles specify some restriction depending on the length
of the key used to encrypt the link, this adds an way to retrieve
that value from the kernel.

12 years agolib: Add Key Size information to the security information
Vinicius Costa Gomes [Tue, 24 Jan 2012 13:57:18 +0000 (10:57 -0300)]
lib: Add Key Size information to the security information

Since some time the kernel has the capability to return the length of
the key that was used to encrypt the link.

This patch exposes that field to userspace so more applications can take
decisions based on this information.

12 years agohciops: Fix memory leak when loading keys
Vinicius Costa Gomes [Tue, 24 Jan 2012 00:21:51 +0000 (21:21 -0300)]
hciops: Fix memory leak when loading keys

If we need a copy of those keys we should copy them.

12 years agoRemove the SMP Long Term Key when the device is removed
Vinicius Costa Gomes [Wed, 18 Jan 2012 23:13:32 +0000 (20:13 -0300)]
Remove the SMP Long Term Key when the device is removed

12 years agoUse the helper function to convert a string to a binary buffer
Vinicius Costa Gomes [Wed, 18 Jan 2012 23:13:30 +0000 (20:13 -0300)]
Use the helper function to convert a string to a binary buffer

When loading Link Keys from storage we are able to re-use the function
that was introduced earlier for the LTK case.

12 years agoAdd support for creating devices from the stored LTK's
Vinicius Costa Gomes [Wed, 18 Jan 2012 23:13:29 +0000 (20:13 -0300)]
Add support for creating devices from the stored LTK's

12 years agoproximity-api: Add Link Loss Alert for Proximity Reporter API
Claudio Takahasi [Thu, 19 Jan 2012 18:38:22 +0000 (15:38 -0300)]
proximity-api: Add Link Loss Alert for Proximity Reporter API

PropertyChanged signal for LinkLossAlertLevel property is emitted when a
given remote device writes a new value for the Alert Level
characteristic in the local Link Loss service. Each platform is free to
define the actions for the detected signal.

12 years agoproximity-api: Add Proximity Reporter API
Claudio Takahasi [Thu, 19 Jan 2012 18:36:59 +0000 (15:36 -0300)]
proximity-api: Add Proximity Reporter API

Adds API for Immediate Alert Service(IAS) abstraction. IAS is used
by Proximity Monitors and Find Me Locators to notify the user that
reporter/target has been found. This new interface combines Proximity
Reporter and Find Me Target in the same API providing the flexibility
to implement external applications to control alerts(including per
device alerts).

This abstraction allows the development of platform specific
applications to control Immediate Alert coming from Proximity Monitor
and Find Me Locator. This provides flexibility to define different level
and tone for each device. Use case: watch finding a mobile phone.

12 years agoRemove dead code from device_create_bonding
Szymon Janc [Fri, 20 Jan 2012 15:26:27 +0000 (16:26 +0100)]
Remove dead code from device_create_bonding

bonding_request_new always return valid pointer so there is not need
to check for NULL as this will never happen.

12 years agoRemove dead code from bonding_request_new
Szymon Janc [Fri, 20 Jan 2012 15:26:26 +0000 (16:26 +0100)]
Remove dead code from bonding_request_new

agent_create always return valid pointer so there is not need to check
for NULL as this will never happen.

12 years agomgmt-api: Add information about endianness
Szymon Janc [Thu, 19 Jan 2012 09:52:30 +0000 (10:52 +0100)]
mgmt-api: Add information about endianness

Management interface use little-endian byte order and this should be
clearly stated in documentation.

12 years agoAdd support for sending the Load Long Term Keys commands
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:47 +0000 (20:28 -0300)]
Add support for sending the Load Long Term Keys commands

Also this adds another method to the adapter_ops method table,
this method allows LTKs to be loaded to the kernel.

12 years agoAdd support for handling the New LTK mgmt event
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:46 +0000 (20:28 -0300)]
Add support for handling the New LTK mgmt event

This event would cause this key to be permanently stored.

12 years agoAdd support for storing a LTK when it enters bluetoothd
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:45 +0000 (20:28 -0300)]
Add support for storing a LTK when it enters bluetoothd

12 years agoFix using "magic" values for the key types
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:44 +0000 (20:28 -0300)]
Fix using "magic" values for the key types

12 years agoAdd macros for the possible link key types
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:43 +0000 (20:28 -0300)]
Add macros for the possible link key types

12 years agoAdd storage functions to handle SMP keys
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:42 +0000 (20:28 -0300)]
Add storage functions to handle SMP keys

For now, only the Long Term Key (LTK) is stored.

12 years agoAdd messages to the mgmt interface to handle SMP key storage
Vinicius Costa Gomes [Wed, 18 Jan 2012 17:12:31 +0000 (14:12 -0300)]
Add messages to the mgmt interface to handle SMP key storage

The SMP keys are to be communicated to/from userspace using these
messages.

12 years agobtmgmt: Fix format string specifier
Johan Hedberg [Wed, 18 Jan 2012 12:21:46 +0000 (14:21 +0200)]
btmgmt: Fix format string specifier

12 years agoAdd KeyboardDisplay IO Capability
Hemant Gupta [Mon, 16 Jan 2012 08:06:42 +0000 (13:36 +0530)]
Add KeyboardDisplay IO Capability

This patch adds suppport for KeyboardDisplay IO capability in BlueZ.
It is ensured that the new capability is set only if management
interface is being used. For hciops Keyboarddisplay capability is
mapped to DisplayYesNo.

12 years agomgmt-api: Update the commands for exchanging LTK's
Vinicius Costa Gomes [Tue, 17 Jan 2012 23:28:40 +0000 (20:28 -0300)]
mgmt-api: Update the commands for exchanging LTK's

For restoring the device from storage we need to have the Address type
of the device, the LTK is a good place for this.

In some cases, we may be notified of keys that were generated in the
Host, that key key would be used when the Host is the slave role in
a later connection, we should be able to differentiate this type of
key because it doesn't mean that we have a bonding with the Remote
Device.

12 years agomgmt: Update mgmt_ev_device_found to match latest API
Johan Hedberg [Wed, 18 Jan 2012 11:27:44 +0000 (13:27 +0200)]
mgmt: Update mgmt_ev_device_found to match latest API

12 years agostorage: Add variable-length EIR support to write_remote_eir
Johan Hedberg [Wed, 18 Jan 2012 11:27:16 +0000 (13:27 +0200)]
storage: Add variable-length EIR support to write_remote_eir

12 years agohciops: Encode class of device data into EIR
Johan Hedberg [Tue, 17 Jan 2012 23:27:20 +0000 (01:27 +0200)]
hciops: Encode class of device data into EIR

12 years agoeir: Add eir_length() function
Johan Hedberg [Tue, 17 Jan 2012 23:18:16 +0000 (01:18 +0200)]
eir: Add eir_length() function

12 years agoeir: Add eir_append_data function
Johan Hedberg [Tue, 17 Jan 2012 20:06:27 +0000 (22:06 +0200)]
eir: Add eir_append_data function

12 years agoeir: Rename eir_has_complete_name to eir_has_data_type
Johan Hedberg [Tue, 17 Jan 2012 20:04:02 +0000 (22:04 +0200)]
eir: Rename eir_has_complete_name to eir_has_data_type

12 years agoeir: Move EIR data type defines to eir.h
Johan Hedberg [Tue, 17 Jan 2012 20:02:03 +0000 (22:02 +0200)]
eir: Move EIR data type defines to eir.h

12 years agoFix not showing name if first EIR has no name info
Anderson Lizardo [Tue, 17 Jan 2012 16:18:02 +0000 (12:18 -0400)]
Fix not showing name if first EIR has no name info

Some devices may not advertise their name right on the first EIR data
sent (e.g. LE devices where name is set on either advertises or scan
responses, but not both). Given that the "found devices" cache does not
refresh the name on each EIR received, the UI may never show the name
during a discovery session.

This fix improves the Discovery UI by showing names immediately as they
are received. This works by emitting DeviceFound signals when the name
is received, even if RSSI stays the same.

Further discovery sessions will use the stored complete name, as usual.

12 years agomgmt: Remove ev_remote name and update event codes
Johan Hedberg [Tue, 17 Jan 2012 19:39:55 +0000 (21:39 +0200)]
mgmt: Remove ev_remote name and update event codes

12 years agomgmtops: Add eir_len to device_connected debug message
Johan Hedberg [Tue, 17 Jan 2012 19:39:10 +0000 (21:39 +0200)]
mgmtops: Add eir_len to device_connected debug message

12 years agobtmgmt: Fix connected event length check
Johan Hedberg [Tue, 17 Jan 2012 19:37:55 +0000 (21:37 +0200)]
btmgmt: Fix connected event length check

12 years agobtmgmt: Update event table
Johan Hedberg [Tue, 17 Jan 2012 19:37:23 +0000 (21:37 +0200)]
btmgmt: Update event table

12 years agomgmt: Update ev_device_connected implementation to match API
Johan Hedberg [Tue, 17 Jan 2012 15:18:41 +0000 (17:18 +0200)]
mgmt: Update ev_device_connected implementation to match API

12 years agoeir: Simplify parsing with clear helper variables
Johan Hedberg [Tue, 17 Jan 2012 15:17:30 +0000 (17:17 +0200)]
eir: Simplify parsing with clear helper variables

12 years agoeir: Add Class Of Device parsing
Johan Hedberg [Tue, 17 Jan 2012 15:09:15 +0000 (17:09 +0200)]
eir: Add Class Of Device parsing

12 years agobtio: Remove support for hciX source addresses
Marcel Holtmann [Tue, 17 Jan 2012 10:47:59 +0000 (11:47 +0100)]
btio: Remove support for hciX source addresses

12 years agomgmt-api: Use 2 octets instead of 1 for EIR data length
Johan Hedberg [Mon, 16 Jan 2012 09:48:28 +0000 (11:48 +0200)]
mgmt-api: Use 2 octets instead of 1 for EIR data length

This allows for future extensibility.

12 years agomgmt-api: Use EIR encoding wherever possible
Johan Hedberg [Sun, 15 Jan 2012 21:36:18 +0000 (23:36 +0200)]
mgmt-api: Use EIR encoding wherever possible

We can encode the remotee name and class to the EIR data format both in
device_found and device_connected events.

12 years agomgmt-api: Update to latest plans
Johan Hedberg [Fri, 13 Jan 2012 11:59:49 +0000 (13:59 +0200)]
mgmt-api: Update to latest plans

- Remove the remote_name event and add the name to the device_connected
event (since we always refresh the name at that point anyway).

- Add Class of Device to device_connected since that's the only point
where we get it when a previously unknown device connects to us for the
first time.

- Add a Flags field to device_found to accommodate for legacy pairing
information (which we get from the remote host features HCI event) and
merge the only other existing boolean parameter (confirm_name) into this
Flags field.

12 years agoRelease 4.98
Marcel Holtmann [Fri, 13 Jan 2012 03:03:08 +0000 (04:03 +0100)]
Release 4.98

12 years agoeir: Fix modifying field_len when parsing
Johan Hedberg [Fri, 13 Jan 2012 00:03:48 +0000 (02:03 +0200)]
eir: Fix modifying field_len when parsing

The field_len variable shouldn't be touched for the over-all parsing
state to remain consistent and so a helper variable (name_len) is needed
after all.

12 years agoeir: Fix minor whitespace issue
Johan Hedberg [Thu, 12 Jan 2012 23:19:29 +0000 (01:19 +0200)]
eir: Fix minor whitespace issue

12 years agoeir: Remove unnecessary name_len variable
Johan Hedberg [Thu, 12 Jan 2012 23:16:08 +0000 (01:16 +0200)]
eir: Remove unnecessary name_len variable

12 years agoeir: Pass explicit length to g_utf8_validate
Johan Hedberg [Thu, 12 Jan 2012 23:08:18 +0000 (01:08 +0200)]
eir: Pass explicit length to g_utf8_validate

This way we avoid g_utf8_validate having to do it's own strlen work.

12 years agoproximity: Fix Alert Level characteristic
Anderson Lizardo [Thu, 12 Jan 2012 20:56:53 +0000 (16:56 -0400)]
proximity: Fix Alert Level characteristic

According to PXP IAS specification (Table 3.2), the Alert Level
characteristic property has only "Write without response" as mandatory
and the rest is excluded.

12 years agoAdd missing "Legacy" property for LE devices
Anderson Lizardo [Thu, 12 Jan 2012 18:59:41 +0000 (14:59 -0400)]
Add missing "Legacy" property for LE devices

Some UIs may assume that a device lacking the Legacy property is
pre 2.1. To be more consistent with BR/EDR devices, always set Legacy
property explicitly to False. This makes these UIs not ask for a PIN
code when doing Just Works pairing for LE devices.

12 years agoFix EIR name parsing
Bruna Moreira [Thu, 12 Jan 2012 18:33:37 +0000 (14:33 -0400)]
Fix EIR name parsing

Some vendors put a NUL byte terminator on EIR name field. If that is the
case, use -1 as string length so g_utf8_validade() can parse it
properly.

12 years agoheadset: Fix unknown command error response
Syam Sidhardhan [Thu, 12 Jan 2012 15:15:01 +0000 (20:45 +0530)]
headset: Fix unknown command error response

If HF has already requested for the Extended Error result code
reporting, then send the same in certain failure cases. Earlier in this
case we were sending normal error.

12 years agol2test: Add option 'K' to set delay before receiving
Szymon Janc [Thu, 5 Jan 2012 09:23:39 +0000 (10:23 +0100)]
l2test: Add option 'K' to set delay before receiving

12 years agol2test: Add option 'H' to set socket receive buffer size
Szymon Janc [Thu, 5 Jan 2012 09:23:38 +0000 (10:23 +0100)]
l2test: Add option 'H' to set socket receive buffer size

Size is set using SO_RCVBUF, see man 7 socket for more details.

12 years agoAdd missing options to bootstrap-configure
Anderson Lizardo [Fri, 30 Dec 2011 19:26:11 +0000 (15:26 -0400)]
Add missing options to bootstrap-configure

With these options, all BlueZ C files are compiled with
"./bootstrap-configure". The only exception is --enable-hal, which
conflicts with the "formfactor" plugin.

12 years agoRemove unused/broken "echo" RFCOMM plugin
Anderson Lizardo [Fri, 30 Dec 2011 19:26:09 +0000 (15:26 -0400)]
Remove unused/broken "echo" RFCOMM plugin

It was disabled for quite some time (since 2009), and does not even
compile anymore if enabled:

plugins/echo.c: In function 'session_event':
plugins/echo.c:53: error: implicit declaration of function
'g_io_channel_read'
plugins/echo.c:57: error: implicit declaration of function
'g_io_channel_write'

12 years agoRemove PulseAudio plugin leftover
Anderson Lizardo [Fri, 30 Dec 2011 19:26:08 +0000 (15:26 -0400)]
Remove PulseAudio plugin leftover

The .c file and the configure check were not being used anywhere.

12 years agogatt-example: Fix memory leak
Santiago Carot-Nemesio [Fri, 30 Dec 2011 11:45:09 +0000 (12:45 +0100)]
gatt-example: Fix memory leak

Remove the example-plugin data element from the list whenever an adapter
is removed.

12 years agogatt-service: Add missing user_data parameter for callbacks
Santiago Carot-Nemesio [Fri, 30 Dec 2011 11:45:08 +0000 (12:45 +0100)]
gatt-service: Add missing user_data parameter for callbacks

12 years agogatt-service: Delete attributes when service registration fails
Santiago Carot-Nemesio [Fri, 30 Dec 2011 11:45:07 +0000 (12:45 +0100)]
gatt-service: Delete attributes when service registration fails

Whenever a regitration operation fails, the attributes stored in the
data base of handles remain. This patches removes all attributes
registered by a service when the operation is not succesful. In this
way, either all service attributes are registered or none of them are
stored in the data base.

12 years agoattrib-server: Move GAP attributes inside gatt_server struct
Santiago Carot-Nemesio [Fri, 30 Dec 2011 11:45:06 +0000 (12:45 +0100)]
attrib-server: Move GAP attributes inside gatt_server struct

12 years agobuild: increase check requirement to 0.9.6
Scott James Remnant [Fri, 6 Jan 2012 01:07:11 +0000 (17:07 -0800)]
build: increase check requirement to 0.9.6

ck_assert, used by unit/test-eir.c wasn't added to check until 0.9.6

12 years agolib: Fix structures for AMP Assoc Read
Andrei Emeltchenko [Thu, 15 Dec 2011 09:48:03 +0000 (11:48 +0200)]
lib: Fix structures for AMP Assoc Read

Make struct names similar to kernel and remove static array since
fragment length can be other size than HCI_MAX_NAME_LENGTH, which
is for totally different purpose.

12 years agomanager: Fix removing adapter from list upon initialization failure
Johan Hedberg [Mon, 2 Jan 2012 11:34:03 +0000 (13:34 +0200)]
manager: Fix removing adapter from list upon initialization failure

12 years agomgmtops: Log confirm_name field in mgmt_device_found
Johan Hedberg [Mon, 2 Jan 2012 11:22:52 +0000 (13:22 +0200)]
mgmtops: Log confirm_name field in mgmt_device_found

12 years agohciops: Add check for EIR complete name
Johan Hedberg [Fri, 30 Dec 2011 13:30:58 +0000 (15:30 +0200)]
hciops: Add check for EIR complete name

12 years agoeir: Add function to check for complete name
Johan Hedberg [Fri, 30 Dec 2011 13:30:26 +0000 (15:30 +0200)]
eir: Add function to check for complete name

12 years agohciops: Fix missing eir in btd_event_device_found call
Johan Hedberg [Fri, 30 Dec 2011 13:26:06 +0000 (15:26 +0200)]
hciops: Fix missing eir in btd_event_device_found call

12 years agohciemu: Fix strict-aliasing rules handling
Anderson Lizardo [Thu, 29 Dec 2011 18:41:08 +0000 (14:41 -0400)]
hciemu: Fix strict-aliasing rules handling

gcc 4.4.3 (from Ubuntu 10.04) started complaining about this code:

test/hciemu.c: In function ‘hci_host_control’:
test/hciemu.c:431: error: dereferencing pointer ‘({anonymous})’ does break
strict-aliasing rules
test/hciemu.c:431: note: initialized from here

The fix is based on commit 97046eaf3fc44b4451157b1a1bbc166ab0f4dda8.

12 years agowiimote: Fix device_get_address to use new API
David Herrmann [Thu, 29 Dec 2011 16:59:44 +0000 (17:59 +0100)]
wiimote: Fix device_get_address to use new API

Commit b06899eace1f484b387aae0e568fb1da988b468c introduced a new API for
device_get_address but apparently missed fixing the call in
plugins/wiimote.c. This patch converts the plugin to use the new API.

12 years agoAdd wiimote plugin to bootstrap-configure
David Herrmann [Thu, 29 Dec 2011 17:22:28 +0000 (18:22 +0100)]
Add wiimote plugin to bootstrap-configure

12 years agoattrib-server: Add GAttrib in attrib_channel_detach function
Santiago Carot-Nemesio [Wed, 28 Dec 2011 10:24:50 +0000 (11:24 +0100)]
attrib-server: Add GAttrib in attrib_channel_detach function

12 years agoattrib-server: Add adapter in attrib_create_sdp function
Santiago Carot-Nemesio [Wed, 28 Dec 2011 10:24:49 +0000 (11:24 +0100)]
attrib-server: Add adapter in attrib_create_sdp function

12 years agoattrib-server: Add adapter in attrib_db_del function
Santiago Carot-Nemesio [Wed, 28 Dec 2011 10:24:48 +0000 (11:24 +0100)]
attrib-server: Add adapter in attrib_db_del function

12 years agoattrib-server: Add adapter in attrib_gap_set function
Santiago Carot-Nemesio [Wed, 28 Dec 2011 10:24:47 +0000 (11:24 +0100)]
attrib-server: Add adapter in attrib_gap_set function

12 years agoattrib-server: Add adapter in attrib_db_update function
Santiago Carot-Nemesio [Wed, 28 Dec 2011 10:24:46 +0000 (11:24 +0100)]
attrib-server: Add adapter in attrib_db_update function