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.
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.
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
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?
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
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
Hi, I have same problem.
I have:
1) laptop samsung NC10 with widcomm bluetoosh 2.0 + EDR2) 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: 0x0C1ACommand Status: 0x00Received UI Connection Request from SMBD_ADDR = 7D:6E:F7:4E:23:00OKReceived HCI_CONNECTION_COMPLETE_EVENT.Status: 0x00Status = %02xConnection Handle: 0x%04XBD_ADDR:----------------------------------------------------------Stream DUMP----------------------------------------------------------
Link Type: 0x%02X -> ACLEcnryption Mode: 0x%02X -> Encryption OFFNo Such SPP Connection instance availableUnknown Event Code 0x7D Received.Unknown Event Code 0x01 Received.Unknown Event Code 0x01 Received.Received HCI->.Command Opcode: 0x0C1ACommand Status: 0x00Unknown 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 SMBD_ADDR = 7D:6E:F7:4E:23:00Replying to UI Link Key Request (+Ve) ... OKUnknown Event Code 0x01 Received.Received HCI->.Command Opcode: 0x040BCommand Status: 0x00Unknown 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 KeyUnknown Event Code 0x01 Received.Unknown Event Code 0x01 Received.Unknown Event Code 0x01 Received.
SPP HANDLE : %uEVENT : %dRESULT : 0x%04XSPP_CONNECT_IND -> Connection SuccessfulRemote device BD_ADDR : %02X:%02X:%02X:%02X:%02X:%02XUnknown 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: 0x0C1ACommand Status: 0x00Received UI Connection Request from SMBD_ADDR = F8:4F:F6:76:23:00OKReceived HCI_CONNECTION_COMPLETE_EVENT.Status: 0x00Status = %02xConnection Handle: 0x%04XBD_ADDR:-------------------------------------------------------------------Stream DUMPStream DUMPStream DUMPStream DUMPStream DUMPStream DUMP%-48s %s-------------------------------------------------------------------
Link Type: 0x%02X -> ACLEcnryption Mode: 0x%02X -> Encryption OFFNo Such SPP Connection instance availableUnknown Event Code 0xF8 Received.Unknown Event Code 0x01 Received.Received HCI->.Command Opcode: 0x0C1ACommand Status: 0x00Unknown 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: 0x042BCommand Status: 0x00Received UI User Conf Request from SM <- why it is here?BD_ADDR = F8:4F:F6:76:23:00OKUnknown Event Code 0x05 Received. <- why it is here? HCI_DISCONNECTION_COMPLETE_EVENT
Received HCI->.Command Opcode: 0x042C // HCI_USER_CONF_REQUEST_REPLY_OPCODECommand Status: 0x0C <= status non-zero, then dongle go to error_handler() function (forever loop)
Sorry for my english.
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.
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
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
Denis,
We are trying to reproduce your setup and come back to you with an answer.
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 .
8863.BT Connection Procedure.docx
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
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).
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 SMBD_ADDR = F8:4F:F6:76:23:00
OK BD_ADDR:-------------------------------------------------------------------F8 4F F6 76 23 02-------------------------------------------------------------------
Link Type: 0x01 -> ACL Ecnryption Mode: 0x00 -> Encryption OFFNo Such SPP Connection instance availableUnknown Event Code 0xF8 Received.Unknown Event Code 0x01 Received.Received UI User Conf Request from SMBD_ADDR = F8:4F:F6:76:23:00Numeric Value = 0x0000A4C1Replying to UI User Conf Request ... OKUnknown 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: 0x13Disconnected
SPP connect:
Received UI Connection Request from SMBD_ADDR = F8:4F:F6:76:23:00OK BD_ADDR:-------------------------------------------------------------------F8 4F F6 76 23 02-------------------------------------------------------------------
Link Type: 0x01 -> ACL Ecnryption Mode: 0x00 -> Encryption OFFNo Such SPP Connection instance availableUnknown 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 SMBD_ADDR = F8:4F:F6:76:23:00Replying to UI Link Key Request (+Ve) ... OKUnknown 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 : 0EVENT : 2RESULT : 0x0000SPP_CONNECT_IND -> Connection SuccessfulRemote device BD_ADDR : F8:4F:F6:76:23:00
SPP HANDLE : 0EVENT : 6RESULT : 0x0000SPP_SEND_CNF -> Sent successfully
But, I do not understand why when using the scheme "Just Works" for peering, SPPconnection is not successful.
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?
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
------------------------------------------------------------------------------------------
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.
DC