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 SPPLEDemo Lite fails with error -104

I have a MSP-EXP430F5438 board with a 5438A processor and a PAN1323ETU board.  I am able to build and run the Bluetopia SPPDemo app just fine.  When I build and try to run SPPLEDemo Ltie app I get the response shown below and the board halts with the two LEDs blinking.  I am using v1.4 of the Bluetopia stack.

OpenStack().
Bluetooth Stack ID: 1.
Device Chipset: 4.0.
BD_ADDR: 0x0017E7FF223D
GAP_LE_Set_Pairability_Mode Failed: -104.
SetPairable Failed: -104.

According to BTErrors.h, -104 is BTPS_ERROR_LOCAL_CONTROLLER_DOES_NOT_SUPPORT_LE

I am linking in the libBluetopia_LE.a library and I get no build errors.

Any ideas on what could be causing this?

Thanks.

  • Monte,

    We tried reproducing this issue from our end and didn't see this issue. This is our device log

    OpenStack().
    Bluetooth Stack ID: 1.
    Device Chipset: 4.0.
    BD_ADDR: 0x0017E7FEE459
    Sucessfully registered SPPLE Service.
    Server Opened: 1.
    GAP_LE_Advertising_Enable success.

    Could you tell us what compiler you are running? And are there any changes to the demo application?

  • Thank you for the reply.  I did figure out my problem - I had a typo in the compiler predfined symbols list.  Once I verified I had the correct defines the app ran as it should and I got the same output you did..  BTW I am using CCS v5.4.

    I have a follow-up question.  Now that I have the app running and connected over a SPP link to a terminal app on another PC how do I send data from the app to the PC.  The wiki page for the SPPLEDemo Lite App says to use read and write commands, however without a command prompt in the SPPLEDemo Lite app there appears to be no way to do it.  The Bluetopia app seems to just echo back to the terminal whatever text was sent to it.  I don't see any reference to this behavior in the wiki.  Is the Bluetopia SPPLEDemo Lite functioning correctily in this case?

    Thank you.

  • Monte,

    Glad to know that your issue was fixed. 

    The SPPLEDemo Lite is functioning correctly. It doesn't take any input from the terminal and simply loops back the data that was sent to it. If you want to send commands from the MSP430 you should use the SPPLEDemo. My apologies for the erroneous information on the wiki, it was from the remote device's perespective. I will make sure its corrected. 

    Regards,

    Stonestreet One.