OSDN Git Service

android-x86/external-bluetooth-bluez.git
10 years agoemulator: Add HCI_LE_Set_Random_Address support
Johan Hedberg [Wed, 26 Feb 2014 17:10:52 +0000 (19:10 +0200)]
emulator: Add HCI_LE_Set_Random_Address support

10 years agoemulator: Use shared crypto code instead of custom functions
Johan Hedberg [Wed, 26 Feb 2014 15:58:52 +0000 (17:58 +0200)]
emulator: Use shared crypto code instead of custom functions

10 years agobuild: Link crypto code with the emulator
Johan Hedberg [Wed, 26 Feb 2014 15:58:17 +0000 (17:58 +0200)]
build: Link crypto code with the emulator

10 years agoshared/crypto: Add key generation function s1
Johan Hedberg [Wed, 26 Feb 2014 15:57:19 +0000 (17:57 +0200)]
shared/crypto: Add key generation function s1

10 years agoshared/crypto: Add confirm value generation function c1
Johan Hedberg [Wed, 26 Feb 2014 15:56:45 +0000 (17:56 +0200)]
shared/crypto: Add confirm value generation function c1

10 years agoandroid/hal-ipc-api: Fix Add Set Volume command struct packing
Grzegorz Kolodziejczyk [Tue, 25 Feb 2014 15:50:53 +0000 (16:50 +0100)]
android/hal-ipc-api: Fix Add Set Volume command struct packing

This adds missed packed struct attribute to hal-ipc command.

10 years agounit/avrcp: Add /TP/PTT/BV-05-I test
Andrei Emeltchenko [Tue, 25 Feb 2014 10:09:30 +0000 (12:09 +0200)]
unit/avrcp: Add /TP/PTT/BV-05-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 1 from the Controller. The command chosen is PLAY (0x44).
The PLAY button is being pressed and released.

10 years agounit/avrcp: Add /TP/PTT/BV-04-I test
Andrei Emeltchenko [Tue, 25 Feb 2014 10:09:29 +0000 (12:09 +0200)]
unit/avrcp: Add /TP/PTT/BV-04-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 4 from the Controller. The command chosen is SELECT.

10 years agounit/avrcp: Add /TP/PTT/BV-03-I test
Andrei Emeltchenko [Tue, 25 Feb 2014 10:09:28 +0000 (12:09 +0200)]
unit/avrcp: Add /TP/PTT/BV-03-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 3 from the Controller. The command chosen is CHANNEL_UP.

10 years agounit/avrcp: Add /TP/PTT/BV-02-I test
Andrei Emeltchenko [Tue, 25 Feb 2014 10:09:27 +0000 (12:09 +0200)]
unit/avrcp: Add /TP/PTT/BV-02-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 2 from the Controller. The command chosen is VOLUME_UP.

10 years agodoc: Add AVRCP qualification test cases to coverage list
Marcel Holtmann [Mon, 24 Feb 2014 22:31:02 +0000 (14:31 -0800)]
doc: Add AVRCP qualification test cases to coverage list

10 years agobuild: Add unit/test-avrcp to .gitignore list
Marcel Holtmann [Mon, 24 Feb 2014 22:29:49 +0000 (14:29 -0800)]
build: Add unit/test-avrcp to .gitignore list

10 years agotools: Add utility for emulating iBeacon advertising
Marcel Holtmann [Mon, 24 Feb 2014 22:28:14 +0000 (14:28 -0800)]
tools: Add utility for emulating iBeacon advertising

10 years agoandroid/pts: Fix lines over 80 characters
Szymon Janc [Mon, 24 Feb 2014 21:23:34 +0000 (22:23 +0100)]
android/pts: Fix lines over 80 characters

10 years agoandroid/pts: Update MAP tests results
Szymon Janc [Mon, 24 Feb 2014 21:12:52 +0000 (22:12 +0100)]
android/pts: Update MAP tests results

10 years agoandroid/hal-ipc: Fix race condition when closing IPC
Szymon Janc [Fri, 21 Feb 2014 16:49:53 +0000 (17:49 +0100)]
android/hal-ipc: Fix race condition when closing IPC

Protect command socket cleanup with mutex to avoid bogus exit when
stopping notification thread.

10 years agoandroid/bluetooth: Don't set remote name to empty string
Szymon Janc [Fri, 21 Feb 2014 16:49:52 +0000 (17:49 +0100)]
android/bluetooth: Don't set remote name to empty string

If remote device has name but it is empty (0 bytes) just ignore it and
continue using address as name. This will avoid sending remote device
property notification with empty name.

10 years agodoc: Update mgmt-tester test count
Johan Hedberg [Mon, 24 Feb 2014 19:08:33 +0000 (21:08 +0200)]
doc: Update mgmt-tester test count

10 years agoandroid/avctp: Checks error on send_event
Luiz Augusto von Dentz [Mon, 24 Feb 2014 15:50:48 +0000 (16:50 +0100)]
android/avctp: Checks error on send_event

In case of EINTR retry sending the event otherwise print the errno.

10 years agoandroid/avctp: Fix failing silently if uinput is not initialized
Luiz Augusto von Dentz [Mon, 24 Feb 2014 15:01:30 +0000 (16:01 +0100)]
android/avctp: Fix failing silently if uinput is not initialized

This adds a check for uinput before attempting to use send_key and if it
is not initialized response with AVC_CTYPE_NOT_IMPLEMENTED which is the
same code used when a unkown key is received.

10 years agoandroid/avctp: Set uinput to invalid fd when creating session
Andrei Emeltchenko [Mon, 24 Feb 2014 13:25:18 +0000 (15:25 +0200)]
android/avctp: Set uinput to invalid fd when creating session

When AVCTP session was created uinput was zero which is valid file
descriptor and that was conflicting with socketpair() fds.

10 years agounit/avrcp: Add /TP/PTT/BV-01-I test
Andrei Emeltchenko [Mon, 24 Feb 2014 13:25:17 +0000 (15:25 +0200)]
unit/avrcp: Add /TP/PTT/BV-01-I test

Test verifies that the Target reacts to the PASS THROUGH command in
category 1 from the Controller. The command chosen is PLAY (0x44).

10 years agounit/avrcp: Refactor tests to use destroy_context()
Andrei Emeltchenko [Mon, 24 Feb 2014 13:25:16 +0000 (15:25 +0200)]
unit/avrcp: Refactor tests to use destroy_context()

10 years agoandroid: Update socket service id name to match service name
Szymon Janc [Mon, 24 Feb 2014 12:44:12 +0000 (13:44 +0100)]
android: Update socket service id name to match service name

10 years agoandroid/avrcp-lib: Add avrcp_set_passthrough_handlers
Luiz Augusto von Dentz [Thu, 20 Feb 2014 14:16:52 +0000 (16:16 +0200)]
android/avrcp-lib: Add avrcp_set_passthrough_handlers

This adds avrcp_set_passthrough_handlers which can be used to set
pass-through PDU handlers table and user data.

10 years agoandroid/avrcp-lib: Add avrcp_set_control_handlers
Luiz Augusto von Dentz [Thu, 20 Feb 2014 13:50:17 +0000 (15:50 +0200)]
android/avrcp-lib: Add avrcp_set_control_handlers

This adds avrcp_set_control_handlers which can be used to set control
PDU handlers table and user data.

10 years agoandroid/avrcp-lib: Rename AVCTP session to conn
Luiz Augusto von Dentz [Thu, 20 Feb 2014 12:30:56 +0000 (14:30 +0200)]
android/avrcp-lib: Rename AVCTP session to conn

10 years agoandroid/avrcp: Use NULL for zero pointers
Andrei Emeltchenko [Fri, 21 Feb 2014 15:23:48 +0000 (17:23 +0200)]
android/avrcp: Use NULL for zero pointers

10 years agounit/avrcp: Add /TP/ICC/BV-02-I test
Andrei Emeltchenko [Mon, 24 Feb 2014 09:45:25 +0000 (11:45 +0200)]
unit/avrcp: Add /TP/ICC/BV-02-I test

The test verifies that the Target responds to SUBUNIT INFO command
initiated by Controller.

10 years agounit/avrcp: Add /TP/ICC/BV-01-I test
Andrei Emeltchenko [Mon, 24 Feb 2014 09:45:24 +0000 (11:45 +0200)]
unit/avrcp: Add /TP/ICC/BV-01-I test

Test verifies that the Target responds to UNIT INFO command initiated by
Controller.

10 years agoandroid: Add pts-pan.txt to EXTRA_DIST
Szymon Janc [Mon, 24 Feb 2014 11:07:53 +0000 (12:07 +0100)]
android: Add pts-pan.txt to EXTRA_DIST

10 years agotools/mgmt-tester: Add Set Privacy invalid parameters test case
Johan Hedberg [Mon, 24 Feb 2014 10:31:26 +0000 (12:31 +0200)]
tools/mgmt-tester: Add Set Privacy invalid parameters test case

10 years agotools/mgmt-tester: Add Set Privacy rejected response test
Johan Hedberg [Mon, 24 Feb 2014 10:29:05 +0000 (12:29 +0200)]
tools/mgmt-tester: Add Set Privacy rejected response test

10 years agotools/mgmt-tester: Add basic Set Privacy success test
Johan Hedberg [Mon, 24 Feb 2014 10:26:00 +0000 (12:26 +0200)]
tools/mgmt-tester: Add basic Set Privacy success test

10 years agotools/mgmt-tester: Add Load IRKs test for invalid length parameter
Johan Hedberg [Mon, 24 Feb 2014 10:16:11 +0000 (12:16 +0200)]
tools/mgmt-tester: Add Load IRKs test for invalid length parameter

10 years agotools/mgmt-tester: Add Load IRKs test for non-static address
Johan Hedberg [Mon, 24 Feb 2014 10:14:23 +0000 (12:14 +0200)]
tools/mgmt-tester: Add Load IRKs test for non-static address

10 years agotools/mgmt-tester: Add Load IRKs invalid parameters response test
Johan Hedberg [Mon, 24 Feb 2014 10:11:03 +0000 (12:11 +0200)]
tools/mgmt-tester: Add Load IRKs invalid parameters response test

10 years agotools/mgmt-tester: Add Load IRKs not supported response test
Johan Hedberg [Mon, 24 Feb 2014 10:08:52 +0000 (12:08 +0200)]
tools/mgmt-tester: Add Load IRKs not supported response test

10 years agotools/mgmt-tester: Add two basic Load IRKs test cases
Johan Hedberg [Mon, 24 Feb 2014 09:22:48 +0000 (11:22 +0200)]
tools/mgmt-tester: Add two basic Load IRKs test cases

10 years agotools/mgmt-tester: Update expected_supported_settings to include privacy
Johan Hedberg [Mon, 24 Feb 2014 09:22:33 +0000 (11:22 +0200)]
tools/mgmt-tester: Update expected_supported_settings to include privacy

10 years agoandroid/handsfree: Use HFP code for connection handling
Szymon Janc [Sat, 22 Feb 2014 21:09:25 +0000 (22:09 +0100)]
android/handsfree: Use HFP code for connection handling

HFP code is now able to handle disconnection on its own so just use
this instead of using own watches.

10 years agoshared: Add support for local disconnect to HFP
Szymon Janc [Sat, 22 Feb 2014 21:09:24 +0000 (22:09 +0100)]
shared: Add support for local disconnect to HFP

This allows to locally trigger disconnection.

10 years agoshared: Add support for shutdown to IO
Szymon Janc [Sat, 22 Feb 2014 21:09:23 +0000 (22:09 +0100)]
shared: Add support for shutdown to IO

This allows to locally shutdown IO.

10 years agoshared: Add support for disconnect handler in HFP
Szymon Janc [Sat, 22 Feb 2014 21:09:22 +0000 (22:09 +0100)]
shared: Add support for disconnect handler in HFP

10 years agoshared: Add support for disconnect handler to mainloop based IO
Szymon Janc [Sat, 22 Feb 2014 21:09:21 +0000 (22:09 +0100)]
shared: Add support for disconnect handler to mainloop based IO

10 years agoshared: Minor code style fixes in GLib based IO
Szymon Janc [Sat, 22 Feb 2014 21:09:20 +0000 (22:09 +0100)]
shared: Minor code style fixes in GLib based IO

10 years agoshared: Add support for disconnect handler to GLib based IO handling
Szymon Janc [Sat, 22 Feb 2014 21:09:19 +0000 (22:09 +0100)]
shared: Add support for disconnect handler to GLib based IO handling

10 years agoandroid/tester: Fix slang "never used" warning
Andrei Emeltchenko [Mon, 24 Feb 2014 07:15:44 +0000 (09:15 +0200)]
android/tester: Fix slang "never used" warning

The patch fixes following warning:
...
android/android-tester.c:2185:2: warning: Value stored to
'adapter_status' is never read
        adapter_status = data->if_bluetooth->set_adapter_property(prop);
        ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

10 years agounit/avrcp: First unit test for AVRCP profile
Andrei Emeltchenko [Fri, 21 Feb 2014 15:23:45 +0000 (17:23 +0200)]
unit/avrcp: First unit test for AVRCP profile

The tests verifies connection establishment for control.

10 years agogatt: Add helper for creating GATT services
Andre Guedes [Wed, 19 Feb 2014 18:51:28 +0000 (15:51 -0300)]
gatt: Add helper for creating GATT services

This patch adds the btd_gatt_add_service() helper which adds a
GATT Service declaration to the local attribute database.

10 years agolib: Move GATT UUID to uuid.h
Claudio Takahasi [Wed, 19 Feb 2014 18:51:27 +0000 (15:51 -0300)]
lib: Move GATT UUID to uuid.h

This patch moves GATT UUIDs definitions to a common header. uuid.h contains
helper functions to manipulate Bluetooth UUIDs and some common BR/EDR services
UUIDs.

10 years agogatt: Add registering external service
Alvaro Silva [Wed, 19 Feb 2014 18:51:26 +0000 (15:51 -0300)]
gatt: Add registering external service

This patch allows external applications register a given service on
Bluez. Applications must provide an object path and a dictionary of
options. Options dictionary will be used later to provide additional
service information.

10 years agogatt: Register Manager D-Bus Interface
Alvaro Silva [Wed, 19 Feb 2014 18:51:25 +0000 (15:51 -0300)]
gatt: Register Manager D-Bus Interface

This patch registers GATT Service Manager D-Bus Interface. This
interface implements the methods to allow external application register
and unregister GATT Services.

10 years agogatt: Add stub for gatt.{c, h} files
Alvaro Silva [Wed, 19 Feb 2014 18:51:24 +0000 (15:51 -0300)]
gatt: Add stub for gatt.{c, h} files

These files implement functions to handle ATT transactions, and expose
functions to allow other entities to manage GATT based services. It
is a replacement for src/attrib-server.c.

10 years agodoc: Add experimental GATT API
Claudio Takahasi [Wed, 19 Feb 2014 18:51:23 +0000 (15:51 -0300)]
doc: Add experimental GATT API

This patch proposes an unified GATT API for local and remote services.

10 years agomonitor: Add support for decoding appearance field
Marcel Holtmann [Sat, 22 Feb 2014 22:56:31 +0000 (14:56 -0800)]
monitor: Add support for decoding appearance field

10 years agoandroid: Add --leak-check=full option to valgrin in system-emulator
Szymon Janc [Sat, 22 Feb 2014 20:54:45 +0000 (21:54 +0100)]
android: Add --leak-check=full option to valgrin in system-emulator

10 years agoandroid/bluetooth: Fix memory leak in store_link_key
Szymon Janc [Sat, 22 Feb 2014 20:51:30 +0000 (21:51 +0100)]
android/bluetooth: Fix memory leak in store_link_key

If loading key file from file failed free key file. This fix following:

490 (40 direct, 450 indirect) bytes in 1 blocks are definitely lost in
    loss record 122 of 126
   at 0x4028B4C: malloc (vg_replace_malloc.c:291)
   by 0x40A25B2: g_malloc (in /lib/i386-linux-gnu/
    libglib-2.0.so.0.3800.2)
   by 0x40B8DB1: g_slice_alloc (in /lib/i386-linux-gnu/
    libglib-2.0.so.0.3800.2)
   by 0x40B92DC: g_slice_alloc0 (in /lib/i386-linux-gnu/
    libglib-2.0.so.0.3800.2)
   by 0x40946BB: g_key_file_new (in /lib/i386-linux-gnu/
    libglib-2.0.so.0.3800.2)
   by 0x8054A84: new_link_key_callback (bluetooth.c:563)
   by 0x804FB44: notify_handler (mgmt.c:278)
   by 0x804F357: queue_foreach (queue.c:186)
   by 0x804FE6C: can_read_data (mgmt.c:290)
   by 0x804ED12: read_callback (io-glib.c:168)
   by 0x40E0CF4: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3800.2)
   by 0x409CAED: g_main_context_dispatch (in /lib/i386-linux-gnu/
    libglib-2.0.so.0.3800.2)

10 years agomonitor: Add privacy setting to string lookup list
Johan Hedberg [Sat, 22 Feb 2014 15:08:46 +0000 (17:08 +0200)]
monitor: Add privacy setting to string lookup list

10 years agotools/btmgmt: Add support for Set Privacy command
Johan Hedberg [Sat, 22 Feb 2014 14:36:53 +0000 (16:36 +0200)]
tools/btmgmt: Add support for Set Privacy command

10 years agolib/mgmt: Add definition for Set Privacy command
Johan Hedberg [Sat, 22 Feb 2014 14:36:37 +0000 (16:36 +0200)]
lib/mgmt: Add definition for Set Privacy command

10 years agoRelease 5.15
Marcel Holtmann [Sat, 22 Feb 2014 06:10:13 +0000 (22:10 -0800)]
Release 5.15

10 years agoandroid: Add extra empty line in API docs
Marcel Holtmann [Sat, 22 Feb 2014 06:09:21 +0000 (22:09 -0800)]
android: Add extra empty line in API docs

10 years agodoc: Update test coverage numbers
Marcel Holtmann [Sat, 22 Feb 2014 06:08:52 +0000 (22:08 -0800)]
doc: Update test coverage numbers

10 years agobuild: Update library version
Marcel Holtmann [Sat, 22 Feb 2014 05:47:02 +0000 (21:47 -0800)]
build: Update library version

10 years agolib: Update company identifiers
Marcel Holtmann [Sat, 22 Feb 2014 05:39:13 +0000 (21:39 -0800)]
lib: Update company identifiers

10 years agolib: Add strings for new mgmt commands and events
Marcel Holtmann [Sat, 22 Feb 2014 05:29:37 +0000 (21:29 -0800)]
lib: Add strings for new mgmt commands and events

10 years agotools: Add string for privacy management setting
Marcel Holtmann [Sat, 22 Feb 2014 05:27:09 +0000 (21:27 -0800)]
tools: Add string for privacy management setting

10 years agocore: Only load IRKs when support for LE Privacy is available
Marcel Holtmann [Sat, 22 Feb 2014 05:25:47 +0000 (21:25 -0800)]
core: Only load IRKs when support for LE Privacy is available

10 years agolib: Add constant for management privacy setting
Marcel Holtmann [Sat, 22 Feb 2014 05:25:16 +0000 (21:25 -0800)]
lib: Add constant for management privacy setting

10 years agocore: Don't bother loading IRKs when LE is not supported
Marcel Holtmann [Fri, 21 Feb 2014 19:23:22 +0000 (11:23 -0800)]
core: Don't bother loading IRKs when LE is not supported

10 years agoandroid: Fix copy&paste issue in error message
Marcel Holtmann [Fri, 21 Feb 2014 18:20:35 +0000 (10:20 -0800)]
android: Fix copy&paste issue in error message

10 years agoandroid/pts: Update test results for A2DP
Sebastian Chlad [Fri, 21 Feb 2014 12:53:24 +0000 (13:53 +0100)]
android/pts: Update test results for A2DP

10 years agocore: Add support for merging duplicate device object data
Johan Hedberg [Fri, 21 Feb 2014 16:04:26 +0000 (18:04 +0200)]
core: Add support for merging duplicate device object data

10 years agoandroid/socket: Fix calling cleanup with invalid pointer
Andrzej Kaczmarek [Fri, 21 Feb 2014 13:58:49 +0000 (14:58 +0100)]
android/socket: Fix calling cleanup with invalid pointer

10 years agocore: Split LE and BR/EDR states for devices
Johan Hedberg [Fri, 21 Feb 2014 13:07:35 +0000 (15:07 +0200)]
core: Split LE and BR/EDR states for devices

For dual mode devices there are several state variables that are
independent for each bearer. This patch splits these states up into two
separate variable groups in btd_device and tracks the values based on
what kind of connection is in question.

The information is also used to select which bearer to use with
Device1.Connect and Device1.Pair. The basic rule is that the bearer
that's not connected/paired is selected, or then the bearer over which
the device was last seen is selected.

10 years agobtio: Add missing BT_IO_OPT_DEST_TYPE getting support
Johan Hedberg [Fri, 21 Feb 2014 13:33:01 +0000 (15:33 +0200)]
btio: Add missing BT_IO_OPT_DEST_TYPE getting support

10 years agocore: Avoid device_set_bonded for clearing bonding
Johan Hedberg [Fri, 21 Feb 2014 06:56:10 +0000 (08:56 +0200)]
core: Avoid device_set_bonded for clearing bonding

We'll soon change device_set_bonded to set a per-bearer (LE vs BR/EDR)
bonding statue, so clearing bonding should be done using a different
means.

10 years agocore: Track LE & BR/EDR last seen times
Johan Hedberg [Fri, 21 Feb 2014 06:49:44 +0000 (08:49 +0200)]
core: Track LE & BR/EDR last seen times

Since we combine LE and BR/EDR into a single device we need a way to
decide which bearer to use when Device1.Pair() or Device1.Connect() are
called. Simplest way is to use the last discovery moment as a factor in
the decision making.

10 years agolib/sdp: Fix printing of multiple record fields
Anderson Lizardo [Fri, 7 Feb 2014 20:14:46 +0000 (16:14 -0400)]
lib/sdp: Fix printing of multiple record fields

If there are multiple fields to print, sdp_record_print() was missing a
newline between entries.

10 years agotools/sdptool: Fix output formatting
Anderson Lizardo [Fri, 7 Feb 2014 20:14:45 +0000 (16:14 -0400)]
tools/sdptool: Fix output formatting

Print 8-bit and 16-bit integers with in a more readable format.

10 years agolib/sdp: Add missing Service Class ID for GAP
Anderson Lizardo [Fri, 7 Feb 2014 20:14:44 +0000 (16:14 -0400)]
lib/sdp: Add missing Service Class ID for GAP

Also reorder last ID so the list remains ordered.

10 years agoandroid/hal-audio: Add simple downmix to mono
Andrzej Kaczmarek [Tue, 4 Feb 2014 13:38:45 +0000 (14:38 +0100)]
android/hal-audio: Add simple downmix to mono

This patch adds simple downmix support from stereo to mono in order to
support mono channel mode as it's mandatory for SBC codec. It uses
simple (L+R)/2 calculation which should be good enough.

10 years agoandroid/tester: Fix Discovery Stop - Success test case
Grzegorz Kolodziejczyk [Fri, 21 Feb 2014 11:33:14 +0000 (12:33 +0100)]
android/tester: Fix Discovery Stop - Success test case

This removes start discovery returned status check what derives double
check of expected status. Returned status should be only checked for cancel
discovery.

10 years agoandroid/tester: Fix tester setup result set
Grzegorz Kolodziejczyk [Fri, 21 Feb 2014 11:33:13 +0000 (12:33 +0100)]
android/tester: Fix tester setup result set

Tester setup result is set to pass after set to fail because of missing
function return. This adds return from function after setting of setup
result to fail.

10 years agoandroid: Do not resolve name if we have it in the cache
Lukasz Rymanowski [Mon, 17 Feb 2014 16:26:30 +0000 (17:26 +0100)]
android: Do not resolve name if we have it in the cache

With this patch, deamon will not ask kernel to resolve name of remote
device during inquiry in case device name is already in the local cache.
Instead Android will be updated with already known device name.

10 years agoandroid: Add resolve_name parameter to confirm_device_name
Lukasz Rymanowski [Mon, 17 Feb 2014 16:26:29 +0000 (17:26 +0100)]
android: Add resolve_name parameter to confirm_device_name

10 years agoandroid/pts: PTS test results for PAN
Sebastian Chlad [Wed, 19 Feb 2014 14:10:38 +0000 (15:10 +0100)]
android/pts: PTS test results for PAN

This adds initial PTS test results for PAN profile.

10 years agoandroid/pixit: correct PIXIT value
Sebastian Chlad [Wed, 19 Feb 2014 14:04:18 +0000 (15:04 +0100)]
android/pixit: correct PIXIT value

It is important for NAP role to set proper PTS btaddr in PIXIT

10 years agoandroid/hal-handsfree: Use fixed size buffers for commands
Szymon Janc [Wed, 19 Feb 2014 20:49:38 +0000 (21:49 +0100)]
android/hal-handsfree: Use fixed size buffers for commands

This make code follow same conventions for all commands and simplify
code.

10 years agoandroid/hal-bluetooth: Use fixed size buffers for commands
Szymon Janc [Wed, 19 Feb 2014 20:49:37 +0000 (21:49 +0100)]
android/hal-bluetooth: Use fixed size buffers for commands

This make code follow same conventions for all commands.

10 years agocore: Fix initiating pairing with dual mode devices
Johan Hedberg [Thu, 20 Feb 2014 16:33:40 +0000 (18:33 +0200)]
core: Fix initiating pairing with dual mode devices

The dev->bdaddr_type indicates the LE address type in case a device
suppors LE. If we've determined that we want to pair over BR/EDR we
should just pass an explicit BDADDR_BREDR value.

10 years agocore: Fix updating BR/EDR support from AD flags
Johan Hedberg [Thu, 20 Feb 2014 16:40:21 +0000 (18:40 +0200)]
core: Fix updating BR/EDR support from AD flags

10 years agocore: Update storage upon device address change
Johan Hedberg [Thu, 20 Feb 2014 15:48:34 +0000 (17:48 +0200)]
core: Update storage upon device address change

Typically a device address gets updated when we go from RPA to Identity
Address. Since storing data is not permitted for RPA force the storing
after the address has changed.

10 years agocore: Fix storing SupportedTechnologies for dual mode devices
Johan Hedberg [Thu, 20 Feb 2014 14:19:22 +0000 (16:19 +0200)]
core: Fix storing SupportedTechnologies for dual mode devices

10 years agocore: Fix loading SupportedTechnologies values from storage
Johan Hedberg [Thu, 20 Feb 2014 13:17:13 +0000 (15:17 +0200)]
core: Fix loading SupportedTechnologies values from storage

10 years agocore: Remove unneeded device_is_le() function
Johan Hedberg [Thu, 20 Feb 2014 13:13:15 +0000 (15:13 +0200)]
core: Remove unneeded device_is_le() function

10 years agocore: Use addr type from device found event to determine LE support
Johan Hedberg [Thu, 20 Feb 2014 13:10:54 +0000 (15:10 +0200)]
core: Use addr type from device found event to determine LE support

10 years agocore: Fix checking for BR/EDR support
Johan Hedberg [Thu, 20 Feb 2014 13:08:14 +0000 (15:08 +0200)]
core: Fix checking for BR/EDR support

10 years agocore: Track LE & BR/EDR support separately for devices
Johan Hedberg [Thu, 20 Feb 2014 13:05:56 +0000 (15:05 +0200)]
core: Track LE & BR/EDR support separately for devices