History log of /system/bluetooth/bluedroid/bluetooth.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
62432dd0bb4d59f640bde9309f86eef2fd984f18 27-Oct-2011 Matthew Xie <mattx@google.com> Check EALREADY status for HCIDEVUP command

Both bluez and bluedroid starts up HCI driver. If bluez starts the driver
before bluedroid. Current bluedroid fails incorrectly. Bluedroid should
treat EALREADY error code as success.
We place a warning message when EALREADY error happens. The reason is that
bluedroid should always starts up HCI driver first. bluedroid starts up
bluetoothd afterwards.
bug 5496360

Change-Id: I316a2b3ec52bfbe6d1cdf554eac3deabfd63f3da
/system/bluetooth/bluedroid/bluetooth.c
cd60add87bf628e96d3a91dc96d4bf945a0ccb17 29-Jul-2011 jhtop.kim <jhtop.kim@samsung.com> Bluetooth: fix for the unrecoverable state after BT on is failed

- When bt_enable() is called ,device try to turn on hci device.
if timeout happened after 10 seconds try,set_bluetooth_power() is called.
but hciattach is still running state, so turning on BT will fail.
it is unrecoverable before device reboot.

- add code for hciattach stop

Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>

Change-Id: Id210995eb4e811994d40e1a5f567606f2b9a0207
/system/bluetooth/bluedroid/bluetooth.c
04a1a722bda65ea26fc449a613085909056c1fa2 25-Jun-2011 Jaikumar Ganesh <jaikumar@google.com> Log return error code for failure case.

This will help debug BT turn on problems.

Change-Id: Idda3dcdc6727e4b017f4a7a2805facc217340144
/system/bluetooth/bluedroid/bluetooth.c
1890bf01833f6cab431f014af7a20fcbed3a4e13 30-Mar-2011 Jaikumar Ganesh <jaikumar@google.com> Implement HCI_UP test bit function inline.

Change-Id: Id3a5a690fb1414912ce5a58e991a3aa63d3afcdd
/system/bluetooth/bluedroid/bluetooth.c
dad064dc614b7c582a011f0addbff2a9eb68c195 03-Feb-2011 Jaikumar Ganesh <jaikumar@google.com> Set rfkill power off if turning BT on fails.

Bug:3397042

This was needed anyway for proper cleanup but even more
so as BT and Wifi share the same GPIO line for power to the chipset.

Change-Id: I77dc26fadb72710965af66536c85c5dcb30f2290
/system/bluetooth/bluedroid/bluetooth.c
2dbc46f687f9329695156133fc9feefc750d1526 04-Oct-2010 Bheemsen Kulkarni <x0099674@ti.com> System/bluetooth/bludroid:Remove the 3 second delay after starting bluetoothd

Remove the 3 second delay, which is not required for bluetoothd,
We wait for 10 secs to get the adapter path in android_server_BluetoothEventLoop.cpp,
which will handle the bluetoothd delay.

original change by: Bheemsen Kulkarni <x0099674@ti.com>

Change-Id: I194610675fcca70c908baf206318281ecde78fab
/system/bluetooth/bluedroid/bluetooth.c
501cc9c1a855f206117398d3d36e9e3880b71693 28-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Revert "Delay 200 ms after powering up the BT chip.."

This should be done either in rfkill driver or in the firmware load file.

This reverts commit 82b2b955c801eb69eddf736676b8116c7c821e3a.
/system/bluetooth/bluedroid/bluetooth.c
82b2b955c801eb69eddf736676b8116c7c821e3a 10-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Delay 200 ms after powering up the BT chip..

The reset pin requires this time to stabilize.
Patch contributed by:HYUNG SEOUNG YOO <hyungseoung.yoo@samsung.com>

Change-Id: I452c6188696e3598ba22b58a8f4144dad50b7e07
/system/bluetooth/bluedroid/bluetooth.c
a15c33f9aaf27f75a7f6fa02a539b54caace4d35 31-Oct-2009 Nick Pelly <npelly@google.com> Add support for ba2str and str2ba to bluedroid.

Add missing structs from hci.h.

Change-Id: I4cebb3136cd832d5b61f4cd70bcf4504238e2531
/system/bluetooth/bluedroid/bluetooth.c
12f7feb45d8bfcf8514143103ac30bc4efee26f6 06-May-2009 Jaikumar Ganesh <jaikumar@google.com> Bluez4 changes.

Rename hcid to bluetoothd, and add the new config files.
/system/bluetooth/bluedroid/bluetooth.c
df782f29a530d805c13f32bb43883306c05a4504 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/system/bluetooth/bluedroid/bluetooth.c
7342a3e6a751116a193ff27d69b87eda478a5016 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/bluetooth/bluedroid/bluetooth.c
3b66af0035a864575005ee14c7ea13d502b8e62f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/bluetooth/bluedroid/bluetooth.c
57102a0135f9a82d97e9e60183ad74daa6448fad 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/system/bluetooth/bluedroid/bluetooth.c
78266b3169fedd14217fe68ecb5bc6a4513b280c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/system/bluetooth/bluedroid/bluetooth.c
c5c872f46dd2708677c487f190feef24c46ebd88 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/bluetooth/bluedroid/bluetooth.c
6c2d13d0c3a4505fdac56ae8d537a68218e072f1 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/bluetooth/bluedroid/bluetooth.c