• 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 » Low Power RF & Wireless Connectivity » Bluetooth® Applications » Can't connect ez430-rf2560 to Android tablet
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Can't connect ez430-rf2560 to Android tablet

This question has suggested answer(s)
John Nguyen
Posted by John Nguyen
on Mar 14 2012 13:36 PM
Prodigy50 points

I am trying to connect between the EZ430-rf2560 and a Samsung Android tablet but I receive the "unable to connect" error message when trying to do so. I can have renamed my tablet's bluetooth connection to BlueMSP-DemoD200 and I am able to pair with the ez430, but it just won't let me connect to it. I also tried connecting to between the EZ430 and an Android phone, but I have the same problem.

I am trying to send data from the MSP430 to the Android tablet. Right now I am using the accelerometer demo that comes with the EZ430. What should I try?

Any help is appreciated. Thank you.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Trevor Husseini
    Posted by Trevor Husseini
    on Mar 14 2012 16:53 PM
    Prodigy10 points

    My team and I are having the same problem.  We are trying to connect the EZ430-RF2560 to a Samsung Galaxy Tab (10.1", Model GT-P1750).  Our primary goal is to send temperature and pH measurements over the Bluetooth network to the tablet for storage and display.  We've established a connection between our tablet and another Bluetooth enabled, Android powered device (running similar software).  Any suggestions and comments would be much appreciated.  Thank you in advance for your aid.

    ez430-rf2560 CC2560 pan1315 bluetooth Samsung Galaxy
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • srisenthilkumar chandrasekaran
    Posted by srisenthilkumar chandrasekaran
    on Mar 19 2012 00:27 AM
    Intellectual425 points

    Hi,

       This porblem occurs where either your device(phone) is not supported SPP profile or you have to write a application(android) to invoke spp profile.

      By default all the phone supports HS,HFP profiles. please makesure that your device(phone) supports SPP, if so please get the application from phone side to invoke SPP profile while connection.

     

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bo Dong
    Posted by Bo Dong
    on Apr 10 2012 10:19 AM
    Prodigy75 points

    Hi,

    Thanks for your information, but I tried to connect EZ430 RF256X with my thinkpad laptop, the connection still fails. Do you you any app on Android or windows I can use to connect through Bluetooth?

    Blue Tooth CC2560 cc2560 msp430 bluetooth le bluetooth Blue Tooth CC2560 Bluetooth bluetooth module bluetooth ez430-rf2500 CC2560 ez430-RF2560
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Apr 18 2012 22:59 PM
    Genius11495 points

    Hi Bo,

    Do you have the correct settings on the laptop BT stack? Is SPP enabled? Do you have a COM port available?

    Regards,

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bo Dong
    Posted by Bo Dong
    on Apr 19 2012 07:13 AM
    Prodigy75 points

    Hi,

    Thanks for your feedback, actually, I can connect to a smart phone now, and it is what I wanted. I download a app to enable spp.

    Thanks again for your reply.

    Bo Dong

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denis Zozulya
    Posted by Denis Zozulya
    on May 04 2012 20:23 PM
    Prodigy30 points

    Hi, I have same problem.

    I have:

    1) laptop samsung NC10 with widcomm bluetoosh 2.0 + EDR
    2) phone htc desire (gsm) with custom ROM (cyanogenmod 7.1)
    3) EZ430-rf2560 dongle

    When I connect from phone to laptop, all works fine (piring, authorization by pin code (BT 2.0), connect SSP, transfer data) .

    When I connect from laptop to dongle, all works fine (piring, authorization by pin code (BT 2.0), connect SSP, transfer data).
    Some debug log from dongle:

    Received HCI->.
    Command Opcode: 0x0C1A
    Command Status: 0x00
    Received UI Connection Request from SM
    BD_ADDR = 7D:6E:F7:4E:23:00
    OK
    Received HCI_CONNECTION_COMPLETE_EVENT.
    Status: 0x00
    Status = %02x
    Connection Handle: 0x%04X
    BD_ADDR:
    ----------------------------------------------------------
    Stream DUMP
    ----------------------------------------------------------

    Link Type: 0x%02X -> ACL
    Ecnryption Mode: 0x%02X -> Encryption OFF
    No Such SPP Connection instance available
    Unknown Event Code 0x7D Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received HCI->.
    Command Opcode: 0x0C1A
    Command Status: 0x00
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received UI Link Key Request from SM
    BD_ADDR = 7D:6E:F7:4E:23:00
    Replying to UI Link Key Request (+Ve) ... OK
    Unknown Event Code 0x01 Received.
    Received HCI->.
    Command Opcode: 0x040B
    Command Status: 0x00
    Unknown Event Code 0x00 Received.
    Unknown Event Code 0x00 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received HCI_LINK_KEY_NOTIFICATION_EVENT.
    BD_ADDR:
    ----------------------------------------------------------
    Stream DUMP
    ----------------------------------------------------------

    Link Key:
    ----------------------------------------------------------
    Stream DUMP
    ----------------------------------------------------------

    Key Type: 0x%02X -> Combination Key
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.

    SPP HANDLE : %u
    EVENT : %d
    RESULT : 0x%04X
    SPP_CONNECT_IND -> Connection Successful
    Remote device BD_ADDR : %02X:%02X:%02X:%02X:%02X:%02X
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.

    And when I connect from phone to dongle, i have problem (piring - ok, authorization - ok, connect SSP - FAIL).
    Some debug log from dongle:


    Received HCI->.
    Command Opcode: 0x0C1A
    Command Status: 0x00
    Received UI Connection Request from SM
    BD_ADDR = F8:4F:F6:76:23:00
    OK
    Received HCI_CONNECTION_COMPLETE_EVENT.
    Status: 0x00
    Status = %02x
    Connection Handle: 0x%04X
    BD_ADDR:
    -------------------------------------------------------------------
    Stream DUMP
    Stream DUMP
    Stream DUMP
    Stream DUMP
    Stream DUMP
    Stream DUMP
    %-48s %s
    -------------------------------------------------------------------

    Link Type: 0x%02X -> ACL
    Ecnryption Mode: 0x%02X -> Encryption OFF
    No Such SPP Connection instance available
    Unknown Event Code 0xF8 Received.
    Unknown Event Code 0x01 Received.
    Received HCI->.
    Command Opcode: 0x0C1A
    Command Status: 0x00
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received HCI->.
    Command Opcode: 0x042B
    Command Status: 0x00
    Received UI User Conf Request from SM                <- why it is here?
    BD_ADDR = F8:4F:F6:76:23:00
    OK
    Unknown Event Code 0x05 Received.               <- why it is here? HCI_DISCONNECTION_COMPLETE_EVENT

    Received HCI->.
    Command Opcode: 0x042C                      // HCI_USER_CONF_REQUEST_REPLY_OPCODE
    Command Status: 0x0C                  <= status non-zero, then dongle go to error_handler() function (forever loop)


    Sorry for my english.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denis Zozulya
    Posted by Denis Zozulya
    on May 10 2012 06:22 AM
    Prodigy30 points

    I slove my problem.
    In fact, my phone incorrectly supported authentication scheme Just Works of BT 2.1. I changed the authentication mode in the NC and it worked. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arild Kolsrud
    Posted by Arild Kolsrud
    on May 14 2012 10:48 AM
    Intellectual1320 points

    Are you using the most recent service pack for the BT dongle?  Please see the wiki pages listed below.

    http://processors.wiki.ti.com/index.php/EZ430-RF2560

    http://processors.wiki.ti.com/index.php/CC256x_Bluetooth_Versions_and_Service_Packs

    -Arild

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • JingLe Jiang
    Posted by JingLe Jiang
    on May 14 2012 23:25 PM
    Prodigy170 points

    Hi Miguel

     

    Im having the same problem with Bo-- being unable to connect my ez430-rf256x to my PC. (I modified the MSP430-Demo prefix requirement to none) my PC could discover and pair with my ez430-rf256x, and 2 COM ports have been assigned at my PC. I just cannot open the COM port by hyperterminal or C. sometimes even I opened them, no signals coming out at all.

     

    Im using ez430-rf256x accl demo. i could connect my end device to the ez430-rf256x-USBstick and then to computer, that works good.

     

    just in case if you think this question interesting, i also asked this questinons on http://e2e.ti.com/support/low_power_rf/f/660/p/172515/676486.aspx#676486 where people also discussed this problem. You could have a better idea what problem I was facing now.

     

    any suggestions?

     

    Thanks in advance!

    Jingle 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 15 2012 23:49 PM
    Genius11495 points

    Denis,

         We are trying to reproduce your setup and come back to you with an answer.

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 16 2012 00:11 AM
    Suggested Answer
    Genius11495 points

    Jingle,

         Is your problem the possible connection issue described above? or you can connect but you don't see data? Please find below an example with a BT stack in a laptop and a EZ430-RF256x .

    Miguel

    8863.BT Connection Procedure.docx

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • JingLe Jiang
    Posted by JingLe Jiang
    on May 16 2012 15:07 PM
    Prodigy170 points

    Hi Miguel,

     

    Sorry but nope it is not a connection problem at PC end. I could connect my BT ez430-rf256x, but I cannot recieve usable data! I modified based on ez430 accl software, and by debugging I realized appl_send_app_data is not called CONTINUOUSLY! Highly possible it is only called ONCE when BT connection is established and never again.Because I could recieve data at my hyperterminal if I put

     

    appl_send_app_data[0] = 0x55

    appl_send_app_data[0] = 0xAA

    appl_send_app_data[0] = 0x55

    appl_send_app_data[0] = 0xAA

     

    inside appl_send_app_data function. But I2C register never get updated after its first time set. If I guess correctly, The question is because

    when I am using PC to recieve BT data rather than another ez430-rf256x, pc end could not send back a CNF everytime it recieves a packet. Not having RECV_CNF from peer device prevents the ez430-rf256x from going into appl_send_spp_data another time.

     

    if yes, what should I do? Please give some DETAILED guidance.

     

    My question: I wanna connect my ez430-rf256x DIRECTLY to my PC (BT device) and send continuous data (first I wanna send accl data from I2C interface as the demo and then I wanna send ADC data).

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Denis Zozulya
    Posted by Denis Zozulya
    on May 18 2012 15:31 PM
    Prodigy30 points

    Hi, Miguel. Thanks for reply!

    Currently, I sloved my problem.
    In the setting of BT stack, I pointed:

    #define SDK_IO_CAPABILITY           SM_IO_CAPABILITY_DISPLAY_YES_NO

    After that, the piring process uses the NC schema. 

    Some debug log:

    piring:
    Received UI Connection Request from SM
    BD_ADDR = F8:4F:F6:76:23:00

    OK
    BD_ADDR:
    -------------------------------------------------------------------
    F8 4F F6 76 23 02
    -------------------------------------------------------------------

    Link Type: 0x01 -> ACL
    Ecnryption Mode: 0x00 -> Encryption OFF
    No Such SPP Connection instance available
    Unknown Event Code 0xF8 Received.
    Unknown Event Code 0x01 Received.
    Received UI User Conf Request from SM
    BD_ADDR = F8:4F:F6:76:23:00
    Numeric Value = 0x0000A4C1
    Replying to UI User Conf Request ... OK
    Unknown Event Code 0x00 Received.
    Received HCI_LINK_KEY_NOTIFICATION_EVENT.
    BD_ADDR:
    -------------------------------------------------------------------
    F8 4F F6 76 23 02
    -------------------------------------------------------------------

    Link Key:
    -------------------------------------------------------------------
    13 89 4E 9E 20 9B 5D 35 6D 41 A0 92 4E 9A 30 56
    -------------------------------------------------------------------

    Key Type: 0x05 -> ???
    Unknown Event Code 0x00 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received HCI_DISCONNECTION_COMPLETE_EVENT.
    Status: 0x00
    Connection Handle: 0x0001
    Reason: 0x13
    Disconnected

    SPP connect:

    Received UI Connection Request from SM
    BD_ADDR = F8:4F:F6:76:23:00
    OK
    BD_ADDR:
    -------------------------------------------------------------------
    F8 4F F6 76 23 02
    -------------------------------------------------------------------

    Link Type: 0x01 -> ACL
    Ecnryption Mode: 0x00 -> Encryption OFF
    No Such SPP Connection instance available
    Unknown Event Code 0xF8 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Received UI Link Key Request from SM
    BD_ADDR = F8:4F:F6:76:23:00
    Replying to UI Link Key Request (+Ve) ... OK
    Unknown Event Code 0x00 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.
    Unknown Event Code 0x01 Received.

    SPP HANDLE : 0
    EVENT : 2
    RESULT : 0x0000
    SPP_CONNECT_IND -> Connection Successful
    Remote device BD_ADDR : F8:4F:F6:76:23:00

    SPP HANDLE : 0
    EVENT : 6
    RESULT : 0x0000
    SPP_SEND_CNF -> Sent successfully

    But, I do not understand why when using the scheme "Just Works" for peering, SPPconnection is not successful.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Zahid Haq
    Posted by Zahid Haq
    on Aug 28 2012 13:33 PM
    Expert4960 points

    JingLe,

     Have you looked at http://processors.wiki.ti.com/index.php/CC256x_MT_UART_BRIDGE to see an example of sending data using a timer?

    Regards,

    ZH

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

    Please visit our CC256x Forum Guidelines and FAQs

    Check out our CC256x Bluetooth Main Wiki page: http://processors.wiki.ti.com/index.php/CC256x

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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • nanoegn
    Posted by nanoegn
    on Sep 12 2012 14:44 PM
    Prodigy60 points

    Hi Zahidul,

    I went over JingLe's descriptions and am having a similar issue with my ez430-rf2560 development kit. I'm just basically trying to use the information coming from the accelerometer in a Bluetooth enabled host (PC and Android smartphone).

    I'm using IAR Workbench for debugging purposes. Once I run the accelerometer demo, the blue and red LEDs are synchronously blinking. After running the "scan for devices" from the Bluetooth host, I couldn't see any of the msp430bt5190 devices running the accelerometer demo.

    I appreciate your help.

    Regards,

    DC

    ez430-rf2560 bluetooth accelerometer application
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
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