OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agoadapter: Implement adapter enable and disable commands
Szymon Janc [Tue, 22 Oct 2013 16:47:56 +0000 (18:47 +0200)]
adapter: Implement adapter enable and disable commands

This allows HAL to enable and disable adapter.

11 years agoandroid/hal: Use correct service id for adapter commands
Szymon Janc [Tue, 22 Oct 2013 16:47:54 +0000 (18:47 +0200)]
android/hal: Use correct service id for adapter commands

This fix enabling and disabling adapter commands.

11 years agoadapter: Print debug message with IPC message header parameters
Szymon Janc [Tue, 22 Oct 2013 16:47:53 +0000 (18:47 +0200)]
adapter: Print debug message with IPC message header parameters

This is usefull while debugging HAL IPC.

11 years agoandroid: Add initial code for handling adapter commands
Szymon Janc [Tue, 22 Oct 2013 16:47:52 +0000 (18:47 +0200)]
android: Add initial code for handling adapter commands

No commands are handled yet.

11 years agoandroid: Handle mgmt changed events
Andrei Emeltchenko [Tue, 22 Oct 2013 16:47:51 +0000 (18:47 +0200)]
android: Handle mgmt changed events

Add code handling changing adapter settings.

11 years agoandroid: Update bluetooth HAL to match the new hal_ipc_cmd API
Johan Hedberg [Tue, 22 Oct 2013 14:18:56 +0000 (17:18 +0300)]
android: Update bluetooth HAL to match the new hal_ipc_cmd API

11 years agoandroid: Make hal_ipc_command return directly the status
Johan Hedberg [Tue, 22 Oct 2013 14:18:02 +0000 (17:18 +0300)]
android: Make hal_ipc_command return directly the status

11 years agoandroid: Simply exit if hal_ipc_cmd gets an invalid fd
Johan Hedberg [Tue, 22 Oct 2013 14:00:30 +0000 (17:00 +0300)]
android: Simply exit if hal_ipc_cmd gets an invalid fd

11 years agoandroid: Remove not needed include
Szymon Janc [Tue, 22 Oct 2013 13:24:59 +0000 (15:24 +0200)]
android: Remove not needed include

11 years agoandroid/hal: Use notification socket for daemon lifetime tracking
Szymon Janc [Tue, 22 Oct 2013 13:24:58 +0000 (15:24 +0200)]
android/hal: Use notification socket for daemon lifetime tracking

If daemon exited unexpectedly HAL should be stop. With cleanup
procedure command socket is closed as first so use that to distinguish
correct action.

11 years agoadapter/hal: Implement adapter disable call
Szymon Janc [Tue, 22 Oct 2013 13:24:57 +0000 (15:24 +0200)]
adapter/hal: Implement adapter disable call

11 years agoadapter/hal: Implement adapter enable call
Szymon Janc [Tue, 22 Oct 2013 13:24:56 +0000 (15:24 +0200)]
adapter/hal: Implement adapter enable call

11 years agoandroid/hal: Unify HALs callbacks pointers definition
Szymon Janc [Tue, 22 Oct 2013 13:24:55 +0000 (15:24 +0200)]
android/hal: Unify HALs callbacks pointers definition

Those are not suppose to be modified or used outside of each HAL.

11 years agoandroid/hal: Add initial support for handling adapter notifications
Szymon Janc [Tue, 22 Oct 2013 12:46:13 +0000 (14:46 +0200)]
android/hal: Add initial support for handling adapter notifications

Only adapter state callback is handled for now.

11 years agoandroid/hal: Add initial code for notification handling
Szymon Janc [Tue, 22 Oct 2013 12:46:12 +0000 (14:46 +0200)]
android/hal: Add initial code for notification handling

This adds a dedicated thread that will read from notification sockets
and dispatch it to appropriate service notification function.

11 years agoandroid: Define minimum legal notification event ID
Szymon Janc [Tue, 22 Oct 2013 12:46:11 +0000 (14:46 +0200)]
android: Define minimum legal notification event ID

All legal events IDs should be above this value.

11 years agoandroid: Fix non-existing event definition
Szymon Janc [Tue, 22 Oct 2013 12:46:10 +0000 (14:46 +0200)]
android: Fix non-existing event definition

There is no ERROR notification id.

11 years agoandroid: Define helper payload field in hal_msg_hdr
Szymon Janc [Tue, 22 Oct 2013 12:46:09 +0000 (14:46 +0200)]
android: Define helper payload field in hal_msg_hdr

This will allow for convenient access to payload.

11 years agoandroid/hal: Make hal.h self contained
Szymon Janc [Tue, 22 Oct 2013 12:46:08 +0000 (14:46 +0200)]
android/hal: Make hal.h self contained

11 years agoandroid: Use hh prefix instead of bt_hidhost
Luiz Augusto von Dentz [Tue, 22 Oct 2013 13:02:32 +0000 (16:02 +0300)]
android: Use hh prefix instead of bt_hidhost

This replaces the use of bt_hidhost as function prefix with hh.

11 years agoandroid: Add initial code for hidhost
Ravi kumar Veeramally [Tue, 22 Oct 2013 12:16:16 +0000 (05:16 -0700)]
android: Add initial code for hidhost

This adds the initial implementation of .init, .connect and .disconnect

11 years agotools/mgmt-tester: Add a couple of LE-only connectable-off tests
Johan Hedberg [Tue, 22 Oct 2013 12:46:39 +0000 (15:46 +0300)]
tools/mgmt-tester: Add a couple of LE-only connectable-off tests

11 years agoandroid/hal: Fix receiving of commands with no response parameter
Szymon Janc [Tue, 22 Oct 2013 12:03:58 +0000 (14:03 +0200)]
android/hal: Fix receiving of commands with no response parameter

This fix receiving of error response in case command has no reply
parameters.

11 years agoandroid: Add help to hidhost in haltest
Jerzy Kasenberg [Tue, 22 Oct 2013 11:02:27 +0000 (13:02 +0200)]
android: Add help to hidhost in haltest

This patch adds help to methods of hidhost interface.
This also adds tab completion for hidhost.

11 years agoandroid: Add calls to hidhost interface to haltest
Jerzy Kasenberg [Tue, 22 Oct 2013 11:02:26 +0000 (13:02 +0200)]
android: Add calls to hidhost interface to haltest

This patch adds code so hidhost interface can be tested.

11 years agoandroid: Add definition of buffer sizes to haltest
Jerzy Kasenberg [Tue, 22 Oct 2013 11:02:25 +0000 (13:02 +0200)]
android: Add definition of buffer sizes to haltest

This patch adds definition of sizes needed for text representation
of bluetooth address and uuid, this remove usage of magic numbers.

11 years agoandroid: Add hidhost defines and structures to header file
Ravi kumar Veeramally [Tue, 22 Oct 2013 09:07:02 +0000 (02:07 -0700)]
android: Add hidhost defines and structures to header file

11 years agocore: Fix crash while processing SDP records
Luiz Augusto von Dentz [Tue, 22 Oct 2013 09:03:20 +0000 (12:03 +0300)]
core: Fix crash while processing SDP records

This was introduced by commit 073714c3ff70379131be3e19d9ccb8b85fe3f0d9
which attempted to treat the return of sdp_process but caused the crash
bellow because sdp_process actually calls search_completed_cb if it
fails:
Invalid read of size 8
   at 0x44FC93: search_process_cb (sdp-client.c:214)
   by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x40A2DF: main (main.c:587)
 Address 0x59febd0 is 16 bytes inside a block of size 72 free'd
   at 0x4A074C4: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x3D4604D9AE: g_free (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x44FE44: search_completed_cb (sdp-client.c:192)
   by 0x4732E7: sdp_process (sdp.c:4341)
   by 0x44FCD8: search_process_cb (sdp-client.c:206)
   by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
   by 0x40A2DF: main (main.c:587)

11 years agocore: Remove NET_RAW from list of required capabilities
Johan Hedberg [Tue, 22 Oct 2013 08:37:24 +0000 (11:37 +0300)]
core: Remove NET_RAW from list of required capabilities

This is a left-over from times that raw HCI sockets were used. It's not
needed anymore.

11 years agoandroid: Add handling of Ctrl-c to haltest
Jerzy Kasenberg [Mon, 21 Oct 2013 14:02:15 +0000 (16:02 +0200)]
android: Add handling of Ctrl-c to haltest

This patch adds handling of Ctrl-C so it does not break tool.
To exit tool Ctrl-D is used on empty command line.
Ctrl-D on not empty command line works like Delete key.

11 years agoandroid: Drop unnecessary capabilities
Andrei Emeltchenko [Tue, 22 Oct 2013 06:35:21 +0000 (09:35 +0300)]
android: Drop unnecessary capabilities

This makes the android daemon to drop it capabilities and only retain
the following ones:
CAP_NET_ADMIN: Allow use of MGMT interface
CAP_NET_BIND_SERVICE: Allow use of privileged PSM

11 years agoandroid: Improve hal_ipc_cmd helper
Szymon Janc [Tue, 22 Oct 2013 07:17:28 +0000 (09:17 +0200)]
android: Improve hal_ipc_cmd helper

Handle error response inside helper so that users don't expecting any
response don't need to provide dummy buffer only for error (which is
already return value of helper).

11 years agoandroid: Add missing HAL IPC error status definitions
Szymon Janc [Tue, 22 Oct 2013 06:54:12 +0000 (08:54 +0200)]
android: Add missing HAL IPC error status definitions

11 years agoandroid: Add proper define for HAL IPC error
Johan Hedberg [Mon, 21 Oct 2013 19:57:08 +0000 (22:57 +0300)]
android: Add proper define for HAL IPC error

11 years agoandroid: Minor coding style cleanups
Johan Hedberg [Mon, 21 Oct 2013 19:54:50 +0000 (22:54 +0300)]
android: Minor coding style cleanups

11 years agoandroid: Implement core service functionality
Szymon Janc [Mon, 21 Oct 2013 18:56:51 +0000 (20:56 +0200)]
android: Implement core service functionality

This allows HAL to register and unregister of services.

11 years agoandroid: Add initial code for handling HAL commands
Szymon Janc [Mon, 21 Oct 2013 18:56:50 +0000 (20:56 +0200)]
android: Add initial code for handling HAL commands

This enable watch for input and do basic sanity checks on received
command. If there is protocol error mainloop is stopped and daemon
exits.

11 years agoandroid: Add IPC helper for convenient error sending
Szymon Janc [Mon, 21 Oct 2013 18:56:49 +0000 (20:56 +0200)]
android: Add IPC helper for convenient error sending

This simple helper will simplify error paths in code.

11 years agoandroid: Add IPC helper for sending command responses and notification
Szymon Janc [Mon, 21 Oct 2013 18:56:48 +0000 (20:56 +0200)]
android: Add IPC helper for sending command responses and notification

If send failed mainloop is stopped.

11 years agoandroid: Add HAL_SERVICE_ID_MAX define
Szymon Janc [Mon, 21 Oct 2013 18:56:46 +0000 (20:56 +0200)]
android: Add HAL_SERVICE_ID_MAX define

11 years agoandroid: Define IPC MTU size
Szymon Janc [Mon, 21 Oct 2013 18:56:45 +0000 (20:56 +0200)]
android: Define IPC MTU size

This defines buffer size big enough to hold the largest possible IPC
message.

11 years agoandroid: Split command and notification socket watch
Szymon Janc [Mon, 21 Oct 2013 18:56:44 +0000 (20:56 +0200)]
android: Split command and notification socket watch

11 years agoandroid/hal: Register adapter and socket interface on HAL init
Szymon Janc [Mon, 21 Oct 2013 18:56:43 +0000 (20:56 +0200)]
android/hal: Register adapter and socket interface on HAL init

After daemon is started HAL needs to register those two interfaces
to performe initialization procedure as described in IPC documentation.

11 years agoandroid/hal: Add initial code for sending commands
Szymon Janc [Mon, 21 Oct 2013 18:56:42 +0000 (20:56 +0200)]
android/hal: Add initial code for sending commands

This will be used by all HAL modules to send commands and get response
from daemon. In case of any protocol error abort.

If non-null fd pointer is passed auxiliary data with passed FD will be
received as part of response.

11 years agoandroid/hal: Move IPC and sockets related code to separate file
Szymon Janc [Mon, 21 Oct 2013 18:56:41 +0000 (20:56 +0200)]
android/hal: Move IPC and sockets related code to separate file

hal-ipc will provide functionality related to IPC initialization and
sockets handling (including upcoming callbacks thread).

This allow to remove code from bluetooth HAL not related to adapter.

11 years agoandroid: Add help and quit to haltest
Jerzy Kasenberg [Mon, 21 Oct 2013 14:02:16 +0000 (16:02 +0200)]
android: Add help and quit to haltest

This patch adds help and quit commands.
It also adds tab completion for commands (it used to work
for interfaces).

11 years agoandroid: Add space in prompt in haltest
Jerzy Kasenberg [Mon, 21 Oct 2013 14:02:14 +0000 (16:02 +0200)]
android: Add space in prompt in haltest

This patch makes prompt more consistent with other bluez tools.
This also fixes small issue when prompt was printed twice.

11 years agotools/mgmt-tester: Add basic connectable advertising test case
Johan Hedberg [Mon, 21 Oct 2013 14:10:50 +0000 (17:10 +0300)]
tools/mgmt-tester: Add basic connectable advertising test case

11 years agotools/mgmt-tester: Add basic LE-only set_connectable test cases
Johan Hedberg [Mon, 21 Oct 2013 13:31:33 +0000 (16:31 +0300)]
tools/mgmt-tester: Add basic LE-only set_connectable test cases

11 years agotools/mgmt-tester: Add 'Not Supported' test case for set_fast_connectable
Johan Hedberg [Mon, 21 Oct 2013 13:21:20 +0000 (16:21 +0300)]
tools/mgmt-tester: Add 'Not Supported' test case for set_fast_connectable

11 years agocore: Fix not forwarding errors caused by SDP search properly
Luiz Augusto von Dentz [Mon, 21 Oct 2013 13:04:08 +0000 (16:04 +0300)]
core: Fix not forwarding errors caused by SDP search properly

In case bt_search_service fails while processing (e.g. connection is
dropped) the error forward is a positive value leading
btd_service_connecting_complete to not change any state at all.

Futhermore the error from sdp_process was completely ignored which may
cause problems as well.

11 years agoandroid: Add missing error status description for Core Service
Szymon Janc [Mon, 21 Oct 2013 12:56:49 +0000 (14:56 +0200)]
android: Add missing error status description for Core Service

We need at least one failed status description.

11 years agotools/mgmt-tester: Remove unnecessary "no-BR/EDR" setup helpers
Johan Hedberg [Mon, 21 Oct 2013 12:18:47 +0000 (15:18 +0300)]
tools/mgmt-tester: Remove unnecessary "no-BR/EDR" setup helpers

11 years agotools/mgmt-tester: Add disable_bredr and discov_limited to generic setup
Johan Hedberg [Mon, 21 Oct 2013 12:12:46 +0000 (15:12 +0300)]
tools/mgmt-tester: Add disable_bredr and discov_limited to generic setup

11 years agotools/mgmt-tester: Rename setup_le_nobr_powered to setup_nobr_powered
Johan Hedberg [Mon, 21 Oct 2013 12:05:14 +0000 (15:05 +0300)]
tools/mgmt-tester: Rename setup_le_nobr_powered to setup_nobr_powered

11 years agotools/mgmt-tester: Rename setup_le_callback to setup_nobr_callback
Johan Hedberg [Mon, 21 Oct 2013 11:58:17 +0000 (14:58 +0300)]
tools/mgmt-tester: Rename setup_le_callback to setup_nobr_callback

11 years agotools/mgmt-tester: Minor formatting fix
Johan Hedberg [Mon, 21 Oct 2013 11:53:47 +0000 (14:53 +0300)]
tools/mgmt-tester: Minor formatting fix

11 years agotools/mgmt-tester: Remove unnecessary setup_start_discovery_callback function
Johan Hedberg [Mon, 21 Oct 2013 11:51:04 +0000 (14:51 +0300)]
tools/mgmt-tester: Remove unnecessary setup_start_discovery_callback function

11 years agotools/mgmt-tester: Remove unneeded setup_ssp_powered function
Johan Hedberg [Mon, 21 Oct 2013 11:29:27 +0000 (14:29 +0300)]
tools/mgmt-tester: Remove unneeded setup_ssp_powered function

11 years agotools/mgmt-tester: Remove unneeded setup_le_powered function
Johan Hedberg [Mon, 21 Oct 2013 11:25:48 +0000 (14:25 +0300)]
tools/mgmt-tester: Remove unneeded setup_le_powered function

11 years agotools/mgmt-tester: Remove unneeded setup_le function
Johan Hedberg [Mon, 21 Oct 2013 11:23:20 +0000 (14:23 +0300)]
tools/mgmt-tester: Remove unneeded setup_le function

11 years agotools/mgmt-tester: Remove unneeded setup_ssp function
Johan Hedberg [Mon, 21 Oct 2013 11:19:45 +0000 (14:19 +0300)]
tools/mgmt-tester: Remove unneeded setup_ssp function

11 years agotools/mgmt-tester: Remove unneeded setup_link_sec_powered function
Johan Hedberg [Mon, 21 Oct 2013 11:16:59 +0000 (14:16 +0300)]
tools/mgmt-tester: Remove unneeded setup_link_sec_powered function

11 years agotools/mgmt-tester: Remove unneeded setup_link_sec function
Johan Hedberg [Mon, 21 Oct 2013 11:14:49 +0000 (14:14 +0300)]
tools/mgmt-tester: Remove unneeded setup_link_sec function

11 years agotools/mgmt-tester: Remove unneeded setup_connectable function
Johan Hedberg [Mon, 21 Oct 2013 11:12:29 +0000 (14:12 +0300)]
tools/mgmt-tester: Remove unneeded setup_connectable function

11 years agotools/mgmt-tester: Remove unneeded setup_powered_connectable function
Johan Hedberg [Mon, 21 Oct 2013 11:05:57 +0000 (14:05 +0300)]
tools/mgmt-tester: Remove unneeded setup_powered_connectable function

11 years agotools/mgmt-tester: Remove unneeded setup_powered_discoverable function
Johan Hedberg [Mon, 21 Oct 2013 11:01:15 +0000 (14:01 +0300)]
tools/mgmt-tester: Remove unneeded setup_powered_discoverable function

11 years agotools/mgmt-tester: Remove unnecessary setup_powered function
Johan Hedberg [Mon, 21 Oct 2013 10:46:42 +0000 (13:46 +0300)]
tools/mgmt-tester: Remove unnecessary setup_powered function

11 years agotools/mgmt-tester: Add basic ability to list initial settings
Johan Hedberg [Mon, 21 Oct 2013 09:03:55 +0000 (12:03 +0300)]
tools/mgmt-tester: Add basic ability to list initial settings

11 years agotools/mgmt-tester: Refactor all setup calls to a centralized function
Johan Hedberg [Mon, 21 Oct 2013 08:32:10 +0000 (11:32 +0300)]
tools/mgmt-tester: Refactor all setup calls to a centralized function

11 years agotools/mgmt-tester: Remove (now) unnecessary powered delay option
Johan Hedberg [Mon, 21 Oct 2013 07:58:02 +0000 (10:58 +0300)]
tools/mgmt-tester: Remove (now) unnecessary powered delay option

11 years agotools/mgmt-tester: Add set_connectable(off) while discoverable test
Johan Hedberg [Mon, 21 Oct 2013 07:42:39 +0000 (10:42 +0300)]
tools/mgmt-tester: Add set_connectable(off) while discoverable test

11 years agoandroid: Add A2DP skeleton
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.

11 years agoandroid: Remove SHUTDOWN_GRACE_SECONDS
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.

11 years agomonitor: Fix small typo in class of device strings
Marcel Holtmann [Mon, 21 Oct 2013 01:31:37 +0000 (18:31 -0700)]
monitor: Fix small typo in class of device strings

11 years agomonitor: Add command for extracting missing decodings
Marcel Holtmann [Sun, 20 Oct 2013 21:27:28 +0000 (14:27 -0700)]
monitor: Add command for extracting missing decodings

11 years agomonitor: Add support for decoding hold mode activity commands
Marcel Holtmann [Sun, 20 Oct 2013 21:13:25 +0000 (14:13 -0700)]
monitor: Add support for decoding hold mode activity commands

11 years agoandroid: Remove not needed cutils/log.h stub
Szymon Janc [Sun, 20 Oct 2013 17:45:46 +0000 (19:45 +0200)]
android: Remove not needed cutils/log.h stub

11 years agoandroid: Use hal-log.h for logging in socket HAL
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)

11 years agoandroid: Use hal-log.h for logging in pan HAL
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)

11 years agoandroid: Use hal-log.h for logging in hidhost HAL
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)

11 years agoandroid: Use hal-log.h for logging in bluetooth HAL
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).

11 years agoandroid: Add wrapper for HAL logging
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.

11 years agoandroid: Remove not needed property_get function form cutils stubs
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.

11 years agoandroid: Make HAL library wait for daemon to connect on init
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.

11 years agoandroid: Connect daemon to HAL library
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.

11 years agoandroid: Define path for HAL communication socket
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.

11 years agoandroid: Improve cutils/log.h stubs
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.

11 years agoandroid: Fix missing log cleanup on daemon exit
Szymon Janc [Sun, 20 Oct 2013 09:53:53 +0000 (11:53 +0200)]
android: Fix missing log cleanup on daemon exit

11 years agomonitor: Add support for decoding sync flow control commands
Marcel Holtmann [Sun, 20 Oct 2013 10:30:10 +0000 (03:30 -0700)]
monitor: Add support for decoding sync flow control commands

11 years agomonitor: Add support for decoding SSP debug mode command
Marcel Holtmann [Sat, 19 Oct 2013 09:14:58 +0000 (02:14 -0700)]
monitor: Add support for decoding SSP debug mode command

11 years agowiimote: add new documented device IDs
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.

11 years agoandroid: Add completion for adapter to haltest
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.

11 years agoandroid: Fix error in draw line in haltest tool
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.

11 years agoandroid: Add tab completion to haltest
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.

11 years agoandroid: Add missing signal handler functionality
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.

11 years agocore: Fix typo in adapter.c comments
Claudio Takahasi [Fri, 18 Oct 2013 12:32:32 +0000 (09:32 -0300)]
core: Fix typo in adapter.c comments

11 years agocore: Remove unneeded includes in device.c
Claudio Takahasi [Fri, 18 Oct 2013 12:32:31 +0000 (09:32 -0300)]
core: Remove unneeded includes in device.c

11 years agocore: Remove leftover adapter_get_default()
Claudio Takahasi [Fri, 18 Oct 2013 12:32:30 +0000 (09:32 -0300)]
core: Remove leftover adapter_get_default()

11 years agoandroid: Fix up white space issue
Johan Hedberg [Fri, 18 Oct 2013 11:58:34 +0000 (14:58 +0300)]
android: Fix up white space issue