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.

CC2650MODA: Generic Attribute Service

Part Number: CC2650MODA
Other Parts Discussed in Thread: CC2650,

Hi,

I am using a CC2650MODA as a simple network processor, and a MSP432 as a simple application processor.

I used Project Zero as the baseline for my application. I noticed that the Generic Attribute Service is empty.

Is it possible to remove this service?

How can I add a Service Changed characteristic to this service?

Thanks,

Jeffrey

  • No, it is not possible to remove this service. The Service Changed Characteristic will be present as long as you don't define GATT_NO_SERVICE_CHANGED. Depending on your stack configuration, this may be getting defined for you in bcomdef.h:

    // If L2CAP Connection Oriented Channels are not configured then do not
    // configure GATT Service Changed characteristic
    #if !defined ( BLE_V41_FEATURES ) || !( BLE_V41_FEATURES & L2CAP_COC_CFG )
      #define GATT_NO_SERVICE_CHANGED  //!<GATT No Service Changed
    #endif // ! BLE_41_FEATURES || ! L2CAP_COC_CFG

  • Hi Tim,
    I am using C:\ti\simplelink_sdk_ble_plugin_1_40_00_42 for my MSP432 SAP. I am not finding bcomdef.h or GATT_NO_SERVICE_CHANGED anywhere in the plugIn folder. Is it possible to add the Service Changed characteristic from the SAP?
    Thanks,
    Jeffrey
  • Maybe I'm misunderstanding something. Your original post refers to project zero. Is this the project that you have loaded on the CC2650? If so, it should certainly have bcomdef.h and GATT_NO_SERVICE_CHANGED
  • Hi Tim,

    I am using the CC2650MODA as a SNP. I loaded it with a prebuilt image from the plugin SDK.
    C:\ti\simplelink_sdk_ble_plugin_1_40_00_42\source\ti\snp\cc2650\simple_np_cc2650bp_uart_pm_sbl_2_02_01_18a_merge.c

    I used project zero from the plugin SDK for the SAP running on a MSP432 chip.
    C:\ti\simplelink_sdk_ble_plugin_1_40_00_42\examples\rtos\MSP_EXP432P401R\bluetooth\project_zero

    Is it possible to add a Service Changed characteristic from the SAP?

    Thanks,
    Jeffrey
  • Hi. No, this is a limitation of SNP. From the SNP documentation:

    - Services cannot be updated/added/modified once they have been created.
    - Services cannot be updated/added/modified once the device has started.