OSDN Git Service

android-x86/system-bluetooth.git
14 years agobluedroid: fix several issues to enable a bluetooth device eclair-x86
Chih-Wei Huang [Fri, 6 Nov 2009 10:42:29 +0000 (18:42 +0800)]
bluedroid: fix several issues to enable a bluetooth device

* init_rfkill(): use the first rkilll interface (eeepc-bluetooth)
* set_bluetooth_power(): check the rfkill state before set it. If the
  state is already the expected value, don't write to it. This avoids
  the permission issue after wakeup for external bluetooth dongle.
* bt_enable(): try to disable and re-enable eeepc-bluetooth if unable
  to turn on it, since the rfkill id may has changed.

14 years agobluetooth.c: fix discontinuous rfkill id issue
Chih-Wei Huang [Thu, 29 Oct 2009 03:17:31 +0000 (11:17 +0800)]
bluetooth.c: fix discontinuous rfkill id issue

The rfkill id may not continuous due to unplug and plug
or suspend and wakeup. This fix uses opendir and readdir
to find the first available bluetooth rfkill id.

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:42 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:58 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:29 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

14 years agoAdd L2CAP_LM_FLUSHABLE to clean Bluez headers.
Nick Pelly [Wed, 9 Dec 2009 09:22:01 +0000 (01:22 -0800)]
Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

14 years agoUpdate Bluez header for new ACL state debug parameters.
Nick Pelly [Wed, 9 Dec 2009 09:20:37 +0000 (01:20 -0800)]
Update Bluez header for new ACL state debug parameters.

14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:23 +0000 (18:46 -0800)]
eclair snapshot

14 years agoAdd support for ba2str and str2ba to bluedroid.
Nick Pelly [Sat, 31 Oct 2009 01:28:49 +0000 (18:28 -0700)]
Add support for ba2str and str2ba to bluedroid.

Add missing structs from hci.h.

Change-Id: I4cebb3136cd832d5b61f4cd70bcf4504238e2531

14 years agoFix low power mode bugs in brcm_patchram_plus.
Nick Pelly [Fri, 30 Oct 2009 05:31:13 +0000 (22:31 -0700)]
Fix low power mode bugs in brcm_patchram_plus.

Enable LPM before setting up HCI network device. Set WAKE and HOST_WAKE
to active high.

Change-Id: I0ec15ec46ce355413f6476d0561f4d281487be33

14 years agoAdd hci struct to clean headers.
Nick Pelly [Fri, 30 Oct 2009 05:30:11 +0000 (22:30 -0700)]
Add hci struct to clean headers.

Change-Id: I47cc7c8dcd86ffab4dc86e2b371bc99d0bb57730

14 years agoRead Bluetooth address from system property ro.bt.bdaddr_path
Nick Pelly [Wed, 21 Oct 2009 17:01:10 +0000 (10:01 -0700)]
Read Bluetooth address from system property ro.bt.bdaddr_path

Change-Id: I1d308818099636354448708c8a7d4c13219f504d

14 years agoCheckpoint of debug tools changes.
Nick Pelly [Tue, 15 Sep 2009 15:22:01 +0000 (08:22 -0700)]
Checkpoint of debug tools changes.

Change-Id: I4a4f00cca3569c62770b323a24b1754873778e91

14 years agoMerge change 23505 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 21:31:18 +0000 (14:31 -0700)]
Merge change 23505 into eclair

* changes:
  Checkin some testing tools. Not compiled by default.

14 years agoCheckin some testing tools. Not compiled by default.
Nick Pelly [Tue, 1 Sep 2009 21:28:08 +0000 (14:28 -0700)]
Checkin some testing tools. Not compiled by default.

14 years agoSwitch from DOS to UNIX format on brcm_patchram_plus.c
Nick Pelly [Fri, 21 Aug 2009 00:18:21 +0000 (17:18 -0700)]
Switch from DOS to UNIX format on brcm_patchram_plus.c

dos2unix brcm_patchram_plus.c. No code change.

14 years agoFix baudrate programming for BCM chipsets.
Nick Pelly [Fri, 21 Aug 2009 00:10:42 +0000 (17:10 -0700)]
Fix baudrate programming for BCM chipsets.

The encoded form was broken for most baud rates. Instead use big endian
explicit baud rate.

14 years agoAdd brcm_patchram_plus from Broadcom.
Nick Pelly [Thu, 20 Aug 2009 22:21:20 +0000 (15:21 -0700)]
Add brcm_patchram_plus from Broadcom.

Used to download firmware to BCM bluetooth chipsets.

14 years agoDo not advertise A2DP sink support.
Nick Pelly [Tue, 18 Aug 2009 22:37:37 +0000 (15:37 -0700)]
Do not advertise A2DP sink support.

14 years agoStrip extra quotes from device name.
Nick Pelly [Tue, 18 Aug 2009 16:52:35 +0000 (09:52 -0700)]
Strip extra quotes from device name.

14 years agoSet class field appropriately.
Jaikumar Ganesh [Mon, 3 Aug 2009 21:31:45 +0000 (14:31 -0700)]
Set class field appropriately.

14 years agoCheckpoint some debug tools. Not built by default.
Nick Pelly [Tue, 23 Jun 2009 01:05:20 +0000 (18:05 -0700)]
Checkpoint some debug tools. Not built by default.

14 years agoAdd ro.product.model for name of the device.
Jaikumar Ganesh [Wed, 10 Jun 2009 21:10:11 +0000 (14:10 -0700)]
Add ro.product.model for name of the device.

Use the system property ro.product.model to pick up the device name.

14 years agoBluez4 changes.
Jaikumar Ganesh [Wed, 6 May 2009 05:27:19 +0000 (22:27 -0700)]
Bluez4 changes.

Rename hcid to bluetoothd, and add the new config files.

14 years agoAdding functionality to tests.
Nick Pelly [Mon, 18 May 2009 20:19:55 +0000 (13:19 -0700)]
Adding functionality to tests.

14 years agoFix pipetest build.
Nick Pelly [Fri, 15 May 2009 18:42:19 +0000 (11:42 -0700)]
Fix pipetest build.

14 years agoMerge change 1786
Android (Google) Code Review [Fri, 15 May 2009 18:32:31 +0000 (11:32 -0700)]
Merge change 1786

* changes:
  Move socktest.

14 years agoMerge change 1785
Android (Google) Code Review [Fri, 15 May 2009 18:31:59 +0000 (11:31 -0700)]
Merge change 1785

* changes:
  Move bttest to new location in system/bluetooth/tools

14 years agoMerge change 1784
Android (Google) Code Review [Fri, 15 May 2009 18:31:37 +0000 (11:31 -0700)]
Merge change 1784

* changes:
  Add pipetest test utility.

14 years agoMove socktest.
Nick Pelly [Fri, 15 May 2009 18:22:24 +0000 (11:22 -0700)]
Move socktest.

14 years agoMove bttest to new location in system/bluetooth/tools
Nick Pelly [Fri, 15 May 2009 18:00:22 +0000 (11:00 -0700)]
Move bttest to new location in system/bluetooth/tools

14 years agoAdd pipetest test utility.
Nick Pelly [Fri, 15 May 2009 17:32:58 +0000 (10:32 -0700)]
Add pipetest test utility.

14 years agoMerge change 1398
Android (Google) Code Review [Wed, 13 May 2009 20:52:49 +0000 (13:52 -0700)]
Merge change 1398

* changes:
  Add utility for testing native code sockets.

14 years agoMerge change 1395
Android (Google) Code Review [Wed, 13 May 2009 20:52:40 +0000 (13:52 -0700)]
Merge change 1395

* changes:
  Add l2cap.h to bluez clean headers.

14 years agoAdd utility for testing native code sockets.
Nick Pelly [Mon, 11 May 2009 21:22:20 +0000 (14:22 -0700)]
Add utility for testing native code sockets.

Signed-off-by: Nick Pelly <npelly@google.com>
14 years agoAdd l2cap.h to bluez clean headers.
Nick Pelly [Mon, 11 May 2009 21:16:53 +0000 (14:16 -0700)]
Add l2cap.h to bluez clean headers.

Auto-generated from bluez using clean-header.py.

Signed-off-by: Nick Pelly <npelly@google.com>
15 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:43 +0000 (17:12 -0700)]
Merge donut into master

15 years agoMerge branch 'open_source_no_contributions' into google_internal
The Android Open Source Project [Sun, 29 Mar 2009 15:55:16 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:31:14 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'

15 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:49 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

15 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:08:54 +0000 (16:08 -0700)]
Merge commit 'remotes/korg/cupcake' into merge

15 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:15 +0000 (11:52 -0700)]
auto import from //branches/cupcake/...@137197

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:32:54 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:29:04 +0000 (18:29 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:40 +0000 (14:04 -0800)]
auto import from //depot/cupcake/@132589

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:47 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055

15 years agoMerge commit 'remotes/korg/cupcake'
Jean-Baptiste Queru [Fri, 19 Dec 2008 16:06:42 +0000 (08:06 -0800)]
Merge commit 'remotes/korg/cupcake'

Conflicts:
bluedroid/bluetooth.c

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:08:07 +0000 (18:08 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoAdd include path to build libbluedroid.
Nick Pelly [Tue, 25 Nov 2008 00:32:05 +0000 (16:32 -0800)]
Add include path to build libbluedroid.

This fixes the build when BOARD_HAVE_BLUETOOTH := true

Signed-off-by: Nick Pelly <npelly@google.com>
15 years agoUse the rfkill kernel API to power up/down bluetooth.
Nick Pelly [Thu, 13 Nov 2008 07:18:50 +0000 (23:18 -0800)]
Use the rfkill kernel API to power up/down bluetooth.

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution