• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » Wl1271 bluetooth porting to ICS
Share
Android
  • Forum
Options
  • Subscribe via RSS

Wl1271 bluetooth porting to ICS

Wl1271 bluetooth porting to ICS

This question is not answered
Mooi Mooi Tan
Posted by Mooi Mooi Tan
on Jul 31 2012 05:45 AM
Prodigy240 points

Hi, I'm trying to port wl1271 bluetooth from Android Gingerbread 2.3 to Android ICS. I have followed the suggested steps in http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide#Bluetooth but yet I cannot turn on Bluetooth on the Settings menu. It is always force to OFF whenever I try to turn ON bluetooth. Here's the logcat message when I try to turn on bluetooth:

D/BluetoothAdapterStateMachine( 163): PowerOff process message: 1
D/BluetoothAdapterStateMachine( 163): Bluetooth state 10 -> 11
E/BluetoothAdapterStateMachine( 163): failed to prepare bluetooth, abort turning on
D/BluetoothAdapterStateMachine( 163): Bluetooth state 11 -> 10
V/BluetoothEventManager( 574): Received android.bluetooth.adapter.action.STATE_CHANGED
D/DockEventReceiver( 574): finishStartingService: stopping service

When debug, I found out that bt_enable() in mydroid/system/bluetooth/bluedroid/bluetooth.c returns false. Am I missing something in the HAL/ framework configurations? Appreciate any comments or replies. Thank you!

wl1271 bluetooth ICS
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Jul 31 2012 05:51 AM
    Genius9580 points

    TI Android ICS DevKit uses the TI-ST driver to manage BT-UART.

    You can add additional logs in the TI-ST UIM-sysfs driver to find out the error.

    The uim-sysfs driver is at hardware/ti/wpan/ti_st/uim-sysfs/

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mooi Mooi Tan
    Posted by Mooi Mooi Tan
    on Jul 31 2012 06:12 AM
    Prodigy240 points

    Hi,

    I'm seeing these messages from Logcat when the board first start up. I think it looks OK.

    E/uim-sysfs( 95): uim: Inside st_uart_config
    E/uim-sysfs( 95): uim:install set to 1
    E/uim-sysfs( 95): uim:opening /dev/ttyO1, while already open
    E/uim-sysfs( 95): uim:cleanup
    E/uim-sysfs( 95): uim: Inside set_baud_rate
    E/uim-sysfs( 95): uim: set_baud_rate() done
    E/uim-sysfs( 95): uim: Setting speed to 3000000
    E/uim-sysfs( 95): uim: Inside read_command_complete
    E/uim-sysfs( 95): uim: Command complete started
    E/uim-sysfs( 95): uim: Inside read_hci_event
    E/uim-sysfs( 95): uim: read_hci_event
    E/uim-sysfs( 95): uim: Command complete done
    E/uim-sysfs( 95): uim: Speed changed to 3000000
    E/uim-sysfs( 95): uim: Inside set_custom_baud_rate
    E/uim-sysfs( 95): uim: Changing baud rate to 3000000, flow control to 1
    E/uim-sysfs( 95): uim: set_custom_baud_rate() done
    E/uim-sysfs( 95): uim: Installed N_TI_WL Line displine

    I shall expect more messages when I try to turn on the Bluetooth? I'm actually porting ICS to a platform which is quite similar to TI Blaze 4430. 

    Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use