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.

CC2564MODA: Configuration for non connectable advertising

Part Number: CC2564MODA

Hello,

We are using CC2564MODA and Bluetopia stack. We want to enable non connectable advertising.  We are not able to set proper configuration for that.

ret_val = GAP_LE_Advertising_Enable(BluetoothStackID,FALSE, &AdvertisingParameters, &ConnectabilityParameters,GAP_LE_Event_Callback, 0);

This function always return error -1 as invalid parameters when we set Connectability_Mode to  lcmNonConnectable.  

Is there anything that we are missing?

Thanks

  • Hi,

    What host are you using with the CC2564MODA?

    There is a sample iBeaconDemo project provided with the MSP432 Bluetopia Stack distribution that I suggest you take a look at. That program sets up a non-connectable LE beacon using the GAP_LE_Set_Advertising_Data() and GAP_LE_Advertising_Enable()  functions. If you run the iBeaconDemo, do you get the expected non-connectable advertisement behavior?

    If the iBeaconDemo project works, please take a look at the InitializeApplication() , OpenStack(), and AdvertizeIbeacon() functions to ensure that your application performs the correct setup. The only particular piece I would double-check is to ensure that BLE is enabled. This is done through the BSC_EnableFeature(BluetoothStackID, BSC_FEATURE_BLUETOOTH_LOW_ENERGY) function. Other than that, I advise you look through that sample app and compare it against your application code.

    Let me know if the iBeaconDemo application is not what you're looking for, or if you still need more debug guidance.

    Regards,

    Michael