cancel
Showing results for 
Search instead for 
Did you mean: 

BLE - How to remove the GATT ATTRIBUTE SERVICE

DS.4
Senior II

We are working with android and there are multiple problems it is causing us with its Service Changed characteristic.

Is there a way it will not be created? Some chcekbox in CubeMx or else?

Cheers!

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @Community member​ 

First let me thank you for posting.

If you want to remove the GATT Attribute Service from your STM32WB device, you can follow these steps:

1- Open your STM32CubeMX project.

2- Disable "Custom Template option "


_legacyfs_online_stmicro_images_0693W00000dDbtuQAC.png
_legacyfs_online_stmicro_images_0693W00000dDbyyQAC.png3- Save the changes and regenerate the code .

Thx

Ghofrane