Skip to main content
Pierre Castera
Associate
September 15, 2022
Solved

Why STM32WB15CC as a GATT server is not detected in ST BLE Toolbox after following "STM32WB Getting Started : Part 12b, Lab. Receiving data from the phone" video

  • September 15, 2022
  • 4 replies
  • 4227 views

Hi, 

I try to create a GATT server with a NUCLEO-WB15CC.

I'm a beginner with STM32WB MCUs so I followed the Getting Started Series video and particulary : "STM32WB Getting Started Series: Part 12b, Lab. Receiving data from the phone" 

When its came time to test the firmware my device was not detected in ST BLE ToolBox mobile App

I tried to upgrade the BLE stack Firmware with "stm32wb5x_BLE_Stack_full_fw.bin" but nothing changed. 

Then I tried the example Firmware BLE_p2pServer and it's work.

It's seems to be a problem links to STM32WB15. Indeed in the video they used a STM32WB55 and in the comment of the video other persons has the same problem when using a STM32WB15. 

Does anybody had this problem and knows how to fix it?

Thank you

Best answer by Remy ISSALYS

Hello,

In order to use BLE Custom template for WB15, you have to tune some parameters to fit with the RAM size for the GATT database. So, you have to change the following parameters:

  • CFG_BLE_ATT_VALUE_ARRAY_SIZE = 1290
  • CFG_BLE_NUM_GATT_ATTRIBUTES = 30
  • CFG_BLE_NUM_GATT_SERVICES = 4

Best Regards

4 replies

Remy ISSALYS
Remy ISSALYSBest answer
Technical Moderator
September 16, 2022

Hello,

In order to use BLE Custom template for WB15, you have to tune some parameters to fit with the RAM size for the GATT database. So, you have to change the following parameters:

  • CFG_BLE_ATT_VALUE_ARRAY_SIZE = 1290
  • CFG_BLE_NUM_GATT_ATTRIBUTES = 30
  • CFG_BLE_NUM_GATT_SERVICES = 4

Best Regards

Shahin
Associate III
November 28, 2022

Which file do I need to edit to change this? @Remy ISSALYS​ 

Shahin
Associate III
November 28, 2022

Don't worry found it in app_conf.h, Unable to delete post

Pierre Castera
Associate
September 19, 2022

Hi,

It's works

Thank you very much

Best regards

ICMosquera
Associate III
January 9, 2023

Do you also have a tuning for STM32WB55CC MCUs? I also followed this YT Tutorial for my Custom STM32WB Board.

Shahin
Associate III
January 9, 2023

Tuning what exactly?

Here is a link for Tuning the HSE which could be relevant - https://www.youtube.com/watch?v=qNJR9vL1D0c&ab_channel=STMicroelectronics

Visitor II
October 8, 2023

okay i solved it by upgrading the FUS according to STM32WB Getting Started Series: Part 9, STM32WB FUS update