OSDN Git Service
Johan Hedberg [Mon, 21 Oct 2013 11:23:20 +0000 (14:23 +0300)]
tools/mgmt-tester: Remove unneeded setup_le function
Johan Hedberg [Mon, 21 Oct 2013 11:19:45 +0000 (14:19 +0300)]
tools/mgmt-tester: Remove unneeded setup_ssp function
Johan Hedberg [Mon, 21 Oct 2013 11:16:59 +0000 (14:16 +0300)]
tools/mgmt-tester: Remove unneeded setup_link_sec_powered function
Johan Hedberg [Mon, 21 Oct 2013 11:14:49 +0000 (14:14 +0300)]
tools/mgmt-tester: Remove unneeded setup_link_sec function
Johan Hedberg [Mon, 21 Oct 2013 11:12:29 +0000 (14:12 +0300)]
tools/mgmt-tester: Remove unneeded setup_connectable function
Johan Hedberg [Mon, 21 Oct 2013 11:05:57 +0000 (14:05 +0300)]
tools/mgmt-tester: Remove unneeded setup_powered_connectable function
Johan Hedberg [Mon, 21 Oct 2013 11:01:15 +0000 (14:01 +0300)]
tools/mgmt-tester: Remove unneeded setup_powered_discoverable function
Johan Hedberg [Mon, 21 Oct 2013 10:46:42 +0000 (13:46 +0300)]
tools/mgmt-tester: Remove unnecessary setup_powered function
Johan Hedberg [Mon, 21 Oct 2013 09:03:55 +0000 (12:03 +0300)]
tools/mgmt-tester: Add basic ability to list initial settings
Johan Hedberg [Mon, 21 Oct 2013 08:32:10 +0000 (11:32 +0300)]
tools/mgmt-tester: Refactor all setup calls to a centralized function
Johan Hedberg [Mon, 21 Oct 2013 07:58:02 +0000 (10:58 +0300)]
tools/mgmt-tester: Remove (now) unnecessary powered delay option
Johan Hedberg [Mon, 21 Oct 2013 07:42:39 +0000 (10:42 +0300)]
tools/mgmt-tester: Add set_connectable(off) while discoverable test
Luiz Augusto von Dentz [Mon, 21 Oct 2013 10:27:21 +0000 (13:27 +0300)]
android: Add A2DP skeleton
This adds initial skeleton for A2DP Android HAL.
Luiz Augusto von Dentz [Mon, 21 Oct 2013 07:13:42 +0000 (10:13 +0300)]
android: Remove SHUTDOWN_GRACE_SECONDS
This is not being used for now and in case it is really needed for
waiting an adapter to power down we can reintroduce it latter.
Marcel Holtmann [Mon, 21 Oct 2013 01:31:37 +0000 (18:31 -0700)]
monitor: Fix small typo in class of device strings
Marcel Holtmann [Sun, 20 Oct 2013 21:27:28 +0000 (14:27 -0700)]
monitor: Add command for extracting missing decodings
Marcel Holtmann [Sun, 20 Oct 2013 21:13:25 +0000 (14:13 -0700)]
monitor: Add support for decoding hold mode activity commands
Szymon Janc [Sun, 20 Oct 2013 17:45:46 +0000 (19:45 +0200)]
android: Remove not needed cutils/log.h stub
Szymon Janc [Sun, 20 Oct 2013 17:45:45 +0000 (19:45 +0200)]
android: Use hal-log.h for logging in socket HAL
This will allow to log both on Android and Linux (in haltest)
Szymon Janc [Sun, 20 Oct 2013 17:45:44 +0000 (19:45 +0200)]
android: Use hal-log.h for logging in pan HAL
This will allow to log both on Android and Linux (in haltest)
Szymon Janc [Sun, 20 Oct 2013 17:45:43 +0000 (19:45 +0200)]
android: Use hal-log.h for logging in hidhost HAL
This will allow to log both on Android and Linux (in haltest)
Szymon Janc [Sun, 20 Oct 2013 17:45:42 +0000 (19:45 +0200)]
android: Use hal-log.h for logging in bluetooth HAL
This will allow to log both on Android and Linux (in haltest).
Szymon Janc [Sun, 20 Oct 2013 17:45:41 +0000 (19:45 +0200)]
android: Add wrapper for HAL logging
Provide logging API similar to standard logging used in daemon. This
will allow to log on both Android and Linux (i.e. in haltest).
Another advantage is that now LOG_TAG and message format are configured
from single location.
Szymon Janc [Sun, 20 Oct 2013 09:53:58 +0000 (11:53 +0200)]
android: Remove not needed property_get function form cutils stubs
This is no longer used as daemon indicates its presence by connecting
socket.
Szymon Janc [Sun, 20 Oct 2013 09:53:57 +0000 (11:53 +0200)]
android: Make HAL library wait for daemon to connect on init
After starting up, daemon is responsible for connecting to HAL library.
If this doesn't happen before timeout occured init will fail.
Szymon Janc [Sun, 20 Oct 2013 09:53:56 +0000 (11:53 +0200)]
android: Connect daemon to HAL library
Connect to HAL when adapter initialization is finished. If any problem
with connection occurs or connected socket is closed by remote daemon
shutdowns.
Szymon Janc [Sun, 20 Oct 2013 09:53:55 +0000 (11:53 +0200)]
android: Define path for HAL communication socket
This socket will be used by android daemon and libhal to communicate.
Szymon Janc [Sun, 20 Oct 2013 09:53:54 +0000 (11:53 +0200)]
android: Improve cutils/log.h stubs
Provide dummy function that will use ALOG* macros parameters. This fix
build errors about set-but-not-used used local variables on linux.
Szymon Janc [Sun, 20 Oct 2013 09:53:53 +0000 (11:53 +0200)]
android: Fix missing log cleanup on daemon exit
Marcel Holtmann [Sun, 20 Oct 2013 10:30:10 +0000 (03:30 -0700)]
monitor: Add support for decoding sync flow control commands
Marcel Holtmann [Sat, 19 Oct 2013 09:14:58 +0000 (02:14 -0700)]
monitor: Add support for decoding SSP debug mode command
David Herrmann [Fri, 18 Oct 2013 14:13:47 +0000 (16:13 +0200)]
wiimote: add new documented device IDs
Add some new device IDs for the LEGO wiimote and Wii U Pro Controllers.
Also add comments for each ID so we can track them better.
Jerzy Kasenberg [Fri, 18 Oct 2013 13:16:00 +0000 (15:16 +0200)]
android: Add completion for adapter to haltest
This patch adds all completion functions for adapter methods.
It also adds short help lines for all methods that require arguments.
Jerzy Kasenberg [Fri, 18 Oct 2013 13:15:59 +0000 (15:15 +0200)]
android: Fix error in draw line in haltest tool
This fixes small error that showed up when tab completion inserted
characters before end of line.
Cursor in line was not moved correctly.
Jerzy Kasenberg [Fri, 18 Oct 2013 13:15:58 +0000 (15:15 +0200)]
android: Add tab completion to haltest
This patch adds tab completion to interfaces, methods and parameters
in haltest.
Ravi kumar Veeramally [Fri, 18 Oct 2013 13:10:02 +0000 (16:10 +0300)]
android: Add missing signal handler functionality
Added singal handling based on singalfd and removed sigaction
based code.
Claudio Takahasi [Fri, 18 Oct 2013 12:32:32 +0000 (09:32 -0300)]
core: Fix typo in adapter.c comments
Claudio Takahasi [Fri, 18 Oct 2013 12:32:31 +0000 (09:32 -0300)]
core: Remove unneeded includes in device.c
Claudio Takahasi [Fri, 18 Oct 2013 12:32:30 +0000 (09:32 -0300)]
core: Remove leftover adapter_get_default()
Johan Hedberg [Fri, 18 Oct 2013 11:58:34 +0000 (14:58 +0300)]
android: Fix up white space issue
Johan Hedberg [Fri, 18 Oct 2013 11:57:47 +0000 (14:57 +0300)]
android: Remove bogus error log
Johan Hedberg [Fri, 18 Oct 2013 11:11:11 +0000 (14:11 +0300)]
android: Convert bt_adapter_new into a bt_adapter_init function
Johan Hedberg [Fri, 18 Oct 2013 11:02:07 +0000 (14:02 +0300)]
android: Remove unused bt_adapter_start/stop functions
Andrei Emeltchenko [Thu, 17 Oct 2013 08:26:46 +0000 (11:26 +0300)]
android: Add PAN skeleton
Add skeleton for pan Android HAL. This is modified version
from Frederic Danis earlier patch set.
Andrei Emeltchenko [Fri, 18 Oct 2013 10:47:58 +0000 (12:47 +0200)]
android: Add HID Host skeleton
Add skeleton for hidhost Android HAL. This is modified version
from Frederic Danis earlier patch set.
Andrei Emeltchenko [Fri, 18 Oct 2013 10:08:28 +0000 (13:08 +0300)]
android: Rename hal_bt_sock.c to hal-btsock.c
Andrei Emeltchenko [Fri, 18 Oct 2013 10:08:27 +0000 (13:08 +0300)]
android: Rename hal_bluetooth.c to hal-bluetooth.c
Andrei Emeltchenko [Fri, 18 Oct 2013 10:08:26 +0000 (13:08 +0300)]
android: Use kernel style to initialize struct fields
Johan Hedberg [Fri, 18 Oct 2013 11:30:05 +0000 (14:30 +0300)]
android: Fix logging usage
Andrei Emeltchenko [Fri, 18 Oct 2013 10:08:25 +0000 (13:08 +0300)]
android: Implement read_info_complete callback
Handle read info complete callback from mgmt interface.
Szymon Janc [Thu, 17 Oct 2013 20:28:41 +0000 (22:28 +0200)]
build: Add missing Android files to EXTRA_DIST
Szymon Janc [Thu, 17 Oct 2013 20:28:40 +0000 (22:28 +0200)]
gitignore: Add android/haltest
Szymon Janc [Thu, 17 Oct 2013 20:28:39 +0000 (22:28 +0200)]
android: Fix crash in property_get stub
If value was not found and default_value was not provided NULL pointer
was passed as argument to strncpy resulting in crash.
Szymon Janc [Thu, 17 Oct 2013 20:28:38 +0000 (22:28 +0200)]
android: Fix haltest build on Linux
On Linux HAL library is build into haltest binary and can be access
directly. Provide simple implementation of hw_get_module() that does
it.
Szymon Janc [Thu, 17 Oct 2013 20:28:37 +0000 (22:28 +0200)]
build: Add haltest command line tester
This is intended for testing Android daemon and HAL library on Linux.
Claudio Takahasi [Thu, 17 Oct 2013 12:53:37 +0000 (09:53 -0300)]
core: Fix missing adapter address type
This patch fixes an invalid argument error when connecting to LE
devices. Bind and connect address type must match.
Luiz Augusto von Dentz [Thu, 17 Oct 2013 14:40:07 +0000 (17:40 +0300)]
build: Add missing android/cutils/properties.h to EXTRA_DIST
Luiz Augusto von Dentz [Thu, 17 Oct 2013 11:17:03 +0000 (14:17 +0300)]
android: Fix build errors due to missing headers
In file included from ./android/hardware/bluetooth.h:24:0,
from android/hal_bt_sock.c:20:
./android/hardware/hardware.h:23:34: fatal error: cutils/native_handle.h: No such file or directory
#include <cutils/native_handle.h>
^
In file included from ./android/hardware/bluetooth.h:24:0,
from android/hal_bluetooth.c:23:
./android/hardware/hardware.h:23:29: fatal error: system/graphics.h: No such file or directory
#include <system/graphics.h>
^
Luiz Augusto von Dentz [Thu, 17 Oct 2013 08:38:29 +0000 (11:38 +0300)]
android: Fix build error with autotools
CC android/android_libbt_internal_la-hal_bluetooth.lo
android/hal_bluetooth.c:26:28: fatal error: cutils/sockets.h: No such file or directory
#include <cutils/sockets.h>
^
Apparently sockets.h is not used for anything, so for now remove it and
once it is actually necessary add local cutils/sockets.h so it can be
build with autotools as well.
Luiz Augusto von Dentz [Thu, 17 Oct 2013 08:36:26 +0000 (11:36 +0300)]
android: Fix build error when compiling with autotools
android/hal_bt_sock.c:82:21: error: no previous declaration for 'bt_get_sock_interface' [-Werror=missing-declarations]
btsock_interface_t *bt_get_sock_interface(void)
Luiz Augusto von Dentz [Thu, 17 Oct 2013 08:33:40 +0000 (11:33 +0300)]
build: Enable building android HAL as libhal-internal.la
Luiz Augusto von Dentz [Thu, 17 Oct 2013 08:32:04 +0000 (11:32 +0300)]
android: Add cutils/properties.h
Luiz Augusto von Dentz [Thu, 17 Oct 2013 08:31:41 +0000 (11:31 +0300)]
android: Add cutils/log.h
Szymon Janc [Thu, 17 Oct 2013 10:08:06 +0000 (12:08 +0200)]
build: Add Android HAL headers to EXTRA_DIST
Szymon Janc [Thu, 17 Oct 2013 10:08:05 +0000 (12:08 +0200)]
android: Import Android HAL headers
This imports BT HAL headers as of tag android-4.3_r3.1 from
https://android.googlesource.com/platform/hardware/libhardware
Those files are needed for building HAL library and haltester tool on
Linux.
Andrei Emeltchenko [Thu, 17 Oct 2013 08:50:27 +0000 (11:50 +0300)]
android: trivial typo fix
Johan Hedberg [Thu, 17 Oct 2013 08:49:02 +0000 (11:49 +0300)]
Revert "unit/sdp: Check that correct packet received in recv"
This reverts commit
b9981c4fa197e79f7ecd480fd9fbfa3601d121a1. Some tests
have intentionally incorrect PDU lengths, so trying to be strict in the
check is wrong.
Claudio Takahasi [Wed, 16 Oct 2013 19:05:07 +0000 (16:05 -0300)]
l2test: Set CID due to socket restrictions for LE
Bluetooth kernel now restricts LE L2CAP sockets to ATT channels only.
For LE L2CAP socket bind, ATT CID is now mandatory. Reference: kernel patch
bfe4655f05d7ec4a7c0c1c7e4051862f824cd8ec
Andrei Emeltchenko [Wed, 16 Oct 2013 14:36:31 +0000 (17:36 +0300)]
android: sdp: Reuse BlueZ SDP server in Android
Reuse existing SDP server code in Android GPL daemon.
Andrei Emeltchenko [Wed, 16 Oct 2013 14:36:30 +0000 (17:36 +0300)]
android: Add adapter and device struct for BlueZ daemon
Adapter structure in BlueZ daemon keeps track of default adapter
and device structure keeps track about found devices.
Andrei Emeltchenko [Wed, 16 Oct 2013 14:36:29 +0000 (17:36 +0300)]
android: Add basic mgmt initialization sequence
Initialize bluetooth controller via mgmt interface.
Andrei Emeltchenko [Wed, 16 Oct 2013 14:36:28 +0000 (17:36 +0300)]
android: Create HAL API header skeleton
Header describes the protocol between Android HAL threads and BlueZ
daemon. The header is added to host build and not to Android since
it is smart enough to include it automatically.
Jerzy Kasenberg [Wed, 16 Oct 2013 14:00:12 +0000 (16:00 +0200)]
android: Add calls to adapter methods in haltest
This is first code that actually calls HAL functions.
Functions defined in bt_interface_t can be executed.
Jerzy Kasenberg [Wed, 16 Oct 2013 14:00:11 +0000 (16:00 +0200)]
android: Add text conversion helpers to haltest
Application uses a lot of text in the form of defines found in header
files to represent arguments and output.
Conversion helpers keep functionality of converting string as
bt_status_t or uuid in one place.
Jerzy Kasenberg [Wed, 16 Oct 2013 14:00:10 +0000 (16:00 +0200)]
android: Add history to line editor in haltest
Added simple history to editor to save time.
Jerzy Kasenberg [Wed, 16 Oct 2013 14:00:09 +0000 (16:00 +0200)]
android: Add line editing to haltest
Android does not have readline.
This patch allows to edit command line.
Jerzy Kasenberg [Wed, 16 Oct 2013 14:00:08 +0000 (16:00 +0200)]
android: Add haltest skeleton
This tool will be used to test Android Bluetooth HAL implementation.
Luiz Augusto von Dentz [Wed, 16 Oct 2013 13:36:24 +0000 (16:36 +0300)]
doc/obex-api: Fix wrong description of Message1.Deleted property
Andrei Emeltchenko [Wed, 16 Oct 2013 08:46:50 +0000 (11:46 +0300)]
unit/sdp: Check that correct packet received in recv
Marcel Holtmann [Tue, 15 Oct 2013 22:13:39 +0000 (15:13 -0700)]
Release 5.10
Marcel Holtmann [Tue, 15 Oct 2013 22:12:13 +0000 (15:12 -0700)]
doc: Mention the connectable support for LE controllers
Marcel Holtmann [Tue, 15 Oct 2013 22:09:17 +0000 (15:09 -0700)]
doc: Mention the limited discoverable mode setting
Marcel Holtmann [Tue, 15 Oct 2013 21:56:51 +0000 (14:56 -0700)]
build: Update library version
Marcel Holtmann [Tue, 15 Oct 2013 21:30:02 +0000 (14:30 -0700)]
tools: Add command for setting limited discoverable mode
Luiz Augusto von Dentz [Thu, 10 Oct 2013 07:36:25 +0000 (10:36 +0300)]
tools/obexctl: Add destination info to prompt
Luiz Augusto von Dentz [Wed, 9 Oct 2013 12:03:26 +0000 (15:03 +0300)]
tools/obexctl: Add rm command support for MAP messages
Add rm command support for MAP messages which can be used to set Delete
property using Message interface.
Luiz Augusto von Dentz [Sat, 5 Oct 2013 13:18:11 +0000 (16:18 +0300)]
tools/obexctl: Add send command support for MAP messages
Add send command support for MAP messages which can be used to push
messages using MessageAccess interface.
Luiz Augusto von Dentz [Wed, 2 Oct 2013 08:50:22 +0000 (11:50 +0300)]
tools/obexctl: Add cp command support for MAP messages
Add cp command support for MAP messages which can be used to copy message
contents using Message interface.
Luiz Augusto von Dentz [Wed, 2 Oct 2013 08:20:28 +0000 (11:20 +0300)]
tools/obexctl: Add info command support for MAP messages
Add info command support for MAP messages which can be used to print
the details of objects using Message interface.
Luiz Augusto von Dentz [Wed, 2 Oct 2013 08:06:12 +0000 (11:06 +0300)]
tools/obexctl: Add proxy handling for org.bluez.obex.Message1
This adds proxy handling for org.bluez.obex.Message1 so changes to the
proxy are printed in the output.
Luiz Augusto von Dentz [Tue, 1 Oct 2013 12:56:31 +0000 (15:56 +0300)]
tools/obexctl: Add ls command support for MAP sessions
Add ls command support for MAP session which can be used to list current
folder using MessageAccess interface.
Luiz Augusto von Dentz [Tue, 1 Oct 2013 11:42:12 +0000 (14:42 +0300)]
tools/obexctl: Add cd command support for MAP sessions
Add cd command support for MAP session which can be used to set current
folder using MessageAccess interface.
Luiz Augusto von Dentz [Tue, 1 Oct 2013 11:18:32 +0000 (14:18 +0300)]
tools/obexctl: Add proxy handling for org.bluez.obex.MessageAccess1
This adds proxy handling for org.bluez.obex.MessageAccess1 so changes
to the proxy are printed in the output.
Luiz Augusto von Dentz [Tue, 1 Oct 2013 07:12:10 +0000 (10:12 +0300)]
tools/obexctl: Add cp command support for PBAP sessions
Add cp command support for PBAP sessions which can be used to pull
contacts for the current phonebook using PhonebookAccess interface.
Luiz Augusto von Dentz [Mon, 30 Sep 2013 08:30:52 +0000 (11:30 +0300)]
tools/obexctl: Add ls command support for PBAP sessions
Add ls command support for PBAP sessions which can be used to list
current phonebook using PhonebookAccess interface.
Luiz Augusto von Dentz [Mon, 30 Sep 2013 08:01:45 +0000 (11:01 +0300)]
tools/obexctl: Add cd command support for PBAP sessions
Add cd command support for PBAP session whic can be used to change
current phonebook using PhonebookAccess interface.
Luiz Augusto von Dentz [Mon, 30 Sep 2013 07:01:48 +0000 (10:01 +0300)]
tools/obexctl: Add proxy handling for org.bluez.obex.PhonebookAccess1
This adds proxy handling for org.bluez.obex.PhonebookAccess1 so changes
to the proxy are printed in the output.
Luiz Augusto von Dentz [Tue, 24 Sep 2013 14:28:35 +0000 (17:28 +0300)]
tools/obexctl: Print ETA time when transfer size is known
This prints ETA together with the speed if property Size is set.
Luiz Augusto von Dentz [Mon, 23 Sep 2013 15:01:28 +0000 (18:01 +0300)]
tools/obexctl: Print transfer speed
This prints transfer speed with Transferred property.
Luiz Augusto von Dentz [Thu, 19 Sep 2013 14:55:30 +0000 (17:55 +0300)]
tools/obexctl: Add mkdir command
Add support for mkdir command which can be used to create folders using
FileTransfer interface.