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.

Bluetopia can't set device connectable

Other Parts Discussed in Thread: MSP430F5438A

Hi All!

For or project we are using Bluetopia (SPP) and we are curently integrating the Bluetopia stack in our project. Our starting point was the SPP demo, this useful demo we had first adaped to our PCB pin layout and our processor is the MSP430F5438A. The demo works fine, we can connect to our device and we can do a paring action.

Next we are using the adapted SPP demo code in our real project, but we get a error return value after calling the GAP_Set_Connectability_Mode function. The value is -8, which is a RFCOM initialisation error accouring to the BTERROR.h. All our other code has been commeted and we are only using the bluetooth code.

Does anybody have a idea or sugestion what the problem might be? Since the adapted demo code works with no problems. We have checked the project settings of both projects and there is no defferince between both projects.

Any tips and suggestions are welcome! If we need to post more information please let us know!

  • Roy,

    Since the question is more related to Bluetooth, I am moving this thread to appropriate thread to get in touch with the expert. If you have further questions regarding Bluetooth in the future, please post it on the Bluetooth forum: http://e2e.ti.com/support/wireless_connectivity/f/660.aspx

  • Roy,

    Just to clarify here, do the demos work on your modified hardware? Is the only difference between the demo and your project the commented out non-bluetooth calls?

    Thanks,

    Stonestreet One. 

  • Hi StoneStreet,

    I have made a project and ported the demo code in to it, so the only code that runs is the bluetopia code. When I run the program and the openstack function is called the debugger springs to a memory location like 0x1002c. But there is no program code there, the device becomes unresponsive. There is no return form the function. When I checked the hardware signals everthing looks fine, there is a clock etc.

    I use the configure hardware function and commetend out the default pin settings function and the debug uart functions.

    As parameter for the setsystemspeed function I give 8Mhz as parameter value

    Do you have any sugestions or tips?