Skip to content

Commit

Permalink
Update for new Bluedroid BT stack in Android 4.2
Browse files Browse the repository at this point in the history
Change-Id: I533dbf159f70666471408c6ec813811669ddc483
  • Loading branch information
steven676 authored and klusark committed Aug 24, 2013
1 parent 8d19aa5 commit f611517
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions BoardConfigCommon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ TARGET_CPU_VARIANT := cortex-a8

BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/samsung/crespo/bluetooth

TARGET_NO_BOOTLOADER := true

Expand Down
22 changes: 22 additions & 0 deletions bluetooth/bdroid_buildcfg.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H

#define BTM_DEF_LOCAL_NAME "Nexus S"

#endif
8 changes: 0 additions & 8 deletions init.herring.rc
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,6 @@ service iprenew_bnep0 /system/bin/dhcpcd -n
disabled
oneshot

service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
--baudrate 3000000 --patchram /vendor/firmware/bcm4329.hcd /dev/s3c2410_serial0
class main
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

# bugreport is triggered by holding down volume down, volume up and power
#service bugreport /system/bin/bugmailer.sh -v
# class main
Expand Down

0 comments on commit f611517

Please sign in to comment.