summaryrefslogtreecommitdiffstats
path: root/bta/dm
Commit message (Collapse)AuthorAgeFilesLines
* Turn off hid debug messagesMatthew Xie2012-11-011-3/+3
| | | | | | | | Some of the message should be debug instead of warning. Some of the messages were in wrong log message module bug 7174712 Change-Id: Ib57ae6255bdbe53d2d931b1003a47cd6cadcb425
* Trigger restart on BT Controller H/W errorKausik Sinnaswamy2012-09-261-2/+9
| | | | | | | | | | On a Bluetooth chip h/w error, trigger an event from the core stack to restart the Bluetooth process. This would ensure that any state is cleaned up and the process starts from scratch Bug: 7001800 Change-Id: I57b0b44276585e2ae3c22ddbcc9d80bd467135b2 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Added a configurable BT disable timerKausik Sinnaswamy2012-09-211-2/+11
| | | | | | | | | This timer(BTA_DISABLE_DELAY) if set to a value greater than zero shall delay the chip/transport shutdown. The BTA_DISABLE_DELAY can be fine-tuned per platform. bug 7212447 Change-Id: Ib0346af42f6b596e9fbb281203058872bceffbd9
* Move default COD macro BTA_DM_COD to bt_target.hKausik Sinnaswamy2012-09-211-13/+0
| | | | | | | | | This can be over-ridden on the various platforms via the respective bdroid_buildcfg.h. Default value chosen is for MAJOR_PHONE and MINOR_SMARTPHONE. bug 7176584 Change-Id: Ie553e082273b63e871aad5cda9816b16345fd9e2
* Initual Bluetooth open source releaseAndre Eisenbach2012-09-188-516/+614
| | | | | | | | First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
* Revert "Header file and whitespace cleanups"Matthew Xie2012-09-188-428/+428
| | | | | | | | This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb
* Header file and whitespace cleanupsAndre Eisenbach2012-09-188-428/+428
| | | | | | | Also fixed file permission to remove executable bit from source files. Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
* Disable Power Manager callback on BT OFFRavi Nagarajan2012-09-131-0/+1
| | | | | | | | | | On BT OFF, PowerManager callback has to be disabled to avoid handling events that are triggered as part of the BT OFF sequence. This was causing a dead lock in the BTU thread not exitting when AV is disconnected as part of BT OFF sequence bug 7142673 Change-Id: I29554e47514210a5002c06b078a30b3e7cd03710
* Delay the role switch after the connection with devices that are blacklisted ↵Ganesh Ganapathi Batta2012-08-242-5/+97
| | | | | | | | | | | | for immediate role switch Initiating immediate role switch with certain remote devices has caused issues due to role switch colliding with link encryption setup and causing encryption (and in turn the link) to fail . These device Firmware versions are stored in a blacklist and role switch with these devices are delayed to avoid the collision with link encryption setup Bug 6992300 Change-Id: I71c7d94bc4cf03f2383b6c1956bba8697f6c2a8b
* Fix for random bluetooth crash on transfer contextRavi Nagarajan2012-08-211-26/+33
| | | | | | | | | | Crash is seen while attempting to memcpy more data than what is actually available. Root cause is that the stack callbacks where sending arguments which are union members and not the union structure. This resulted in a crash during memcpy bug 7016761 Change-Id: I55ad3c885d1634e44833152ed0808b09e437a657
* Add support for per device bluetooth configuration.Wink Saville2012-08-161-1/+1
| | | | | | | | Rather than using a text file and generating each buildcfg.h file per device bdroid_buildcfg.h which supplies device specific values and then bt_target.h will supply common values. Change-Id: I12cb5408729c3e076562a292204f07a0c4b52628
* Fix for unpair failure during music streamingKausik Sinnaswamy2012-07-251-1/+6
| | | | | | | Fix for a potential race condition where unpair was failing is music was streaming. The issue was due to the unpair callback not being invoked Change-Id: I5dff05abd238b4af3301495be05cbaa970d275d6
* Resolve JustWorks related pairing issuesRavi Nagarajan2012-07-141-0/+2
| | | | | | | 1. Per the spec, if both sides are using "No Bonding" for auth requirements, then the key could be considered a session key. Updated the pairing logic to handle this 2. If incoming JustWorks pairing is initiated, prompt the user for consent if the peer's io capabilities reflects DisplayOnly or NoInputNoOutput Change-Id: If592c96203e7a4b25af3d87056d534131b606e58
* Added reconnect and NV support; bug fixes: service mask setting for HDP ↵Sen-Der Huang2012-07-141-168/+174
| | | | | | | | | | | | | | | | during discovery and TX/RX ADPU size for echo test Change-Id: Ic44fe0a852036c3e973b79f4ef6362a59c76a1c0 bta/dm/bta_dm_api.c btif/co/bta_hl_co.c btif/include/btif_hl.h btif/include/btif_storage.h btif/src/btif_hl.c btif/src/btif_storage.c stack/sdp/sdp_api.c udrv/include/unv.h udrv/ulinux/unv_linux.c
* Enable pannap panu sdp by default add network service class bit and other ↵zzy2012-07-141-1/+1
| | | | | | minors improvements Change-Id: Iacbd7adb74836394256e97185efa68d0f3952009
* Support added to report custom 128-bit UUIDs as part of the ↵Kausik Sinnaswamy2012-07-141-6/+45
| | | | | | BT_PROPERTY_UUIDS of the remote device Change-Id: I1facd9238cf847915df4c01b33c77b2fdaa168cb
* Handle SDP DB FULL error gracefully.Srikanth Uppala2012-07-141-1/+2
| | | | Change-Id: I77b751d14afb8fbe450d5176454a33dc6884f51d
* Added new control and data path interface between audioflinger a2dp HALMattias Agren2012-07-144-0/+0
| | | | | | | and stack. Added support for suspend and a dedicated HAL callback notifying framework on audiopath events. Cleanup. Change-Id: I3b738611bc8e1d84794f7207413fd9e7dd1fc668
* Disabled the 1-sec timer during BT disable that was slowing the BT-offKausik Sinnaswamy2012-07-141-2/+3
| | | | | | time even when no ACL connections were present Change-Id: Ib37c43d3cbc484d3f2973478ff2b1eee51de5150
* AV control and data path addedKausik Sinnaswamy2012-07-142-5/+5
| | | | Change-Id: I88ec6084c140fa257154a98e23e075900e84cc8c
* Disconnect before UnpairHarish Paryani2012-07-144-25/+76
| | | | Change-Id: Ib28372748df21d36d371d308975758f60df7aa28
* Fix the service id to uuid mapping, which caused the wrong uuid to be sent JavaRavi Nagarajan2012-07-141-4/+4
| | | | Change-Id: I86e8d033789269905102cf05d8b66961ae79b9a2
* Initial Bluedroid stack commitAndre Eisenbach2012-07-148-0/+9761