This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RF2560 bluetooth connection to PC

Using the older Beta1.0 SDK I was able to connect directly to my Windows 7 PC through the SPP on a regular bluetooth dongle, and get the accelerometer data through a COM connection. I simply had to add a bluetooth device, wait for the RF2560 to show up, and pair using 0000

Using the newer GA 1.0 SDK, as soon as I try to add the device in windows the pairing screen (where I used to enter the code) flashes very breifly, then the pairing fails.

I've updated my bluetooth drivers and tried both my dongles. If I pair them together (one on battery, one on the programmer) I can get about 30 seconds of serial data, but can't keep a constant connection.

  • Matthew,

     

    Have you changed the name of your bluetooth dongle to be something like "BlueMSP-xxxx" or "BlueMSP-Demoxxxx" Where xxxx are hexademcimal values? This is required for pairing although I do believe that requirement was present in the Beta SDk.  For example, you can use:
    "BlueMSP-D910"

    Also, what are you using to receive the data? Hyperterminal? What baudrate are you connecting to your dongle?

     

    Regards,
    Gustavo

  • Thanks for your prompt reply!

    That was exactly what I needed to establish the connection. For anyone else having the issue, under windows 7:

    Devices and Printers

    Right click on your bluetooth adapter, Bluetooth settings

    Under the hardware tab, my option was for "Broadcom Bluetooth 2.1 + EDR USB Device", select it and hit properties

    Under the advanced tab, change the radio name to match the alternatives.

     

    Now back to adding a gyroscope to my device.

  • Matthew,

    As a note, This behavior is also applicable to WinXP as well since the device simply won't pair unless the name matches "BlueMSP-xxxx" or similar.

     

    Gustavo

  • Gustavo -

    Is the pairing limitation (ie. needing to see the BlueMSP-xxx name) something that can be modified in the SDK code examples or is this a limitation of the free SPP as given to us by TI/Mindtree ?

    If I would like to connect to a generic (any name) host, How do I go about this ? (example or who do I need to contact)

    Thanks

    Dave

  • I found the answer to my own question.

    All you need to do is Modify the variable SDK_REM_DEV_NAME_PREFIX.  This is the name that the SDK is looking to pair with.  I modified this variable in the sdk_bluetooth_config.h file and I was able to pair with my laptop BT.  Now, how to get data to flow . . . . . that is another question.

    Dave

  • Dave,

     

    Yes, the name filtering is not a limitation. it was done to avoid dealing with the many devices that are around, so as to make a demo easier to perform.

    Getting data in and out is not a big problem. You can use hyperterminal or another program to communicate with one of the two virtual COM ports that were opened.

     

    Gustavo