Skip to main content
MVanb.1
Associate II
June 9, 2026
Solved

STM32WB09KE - fw_wb0 v1.4.1 - how to make sure GATT caching is used

  • June 9, 2026
  • 3 replies
  • 50 views

Hey,

I want to enable a fast connection with the STM32WB09KE. How do i avoid that the services and characteristics are discoverd every connection? 

i toughts there was a option for that when using the full ble stack. But whit this firmware and mcu i don’t see it in the STM32CubeMX. So before is start is this possible with this MCU and ble firmware options?

 

Thx in advance!

 

Best regards

Mathias 

Best answer by Dominique FOLLEZOUR

Hi

If client is a smartphone an alternative would be to do service discovery first then store handle in cache. However this is in general not possible on smartphone and service discovery will be initiated back.

 

Br

Dominique

3 replies

Dominique FOLLEZOUR
ST Employee
June 9, 2026

Hi

If client is a smartphone an alternative would be to do service discovery first then store handle in cache. However this is in general not possible on smartphone and service discovery will be initiated back.

 

Br

Dominique

MVanb.1
MVanb.1Author
Associate II
June 30, 2026

STM32WB09KE will be client. I want to have a fast connection with other STM device.
If found this https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB-WBA_GATT_caching about it. 

But i can’t find this settings in my STM32WB09KE project. Is this feature also available? 

Dominique FOLLEZOUR
ST Employee
June 30, 2026

Hi

 

Yes feature is available.

 

I would propose an other alternative. Just do the service discovery one, then you store the handles in flash. At nex connection forget about the service discovery and reuse the handle stored in flash.

 

This is something used time to time to speed up connection and avoid service discovery.

 

As here both entities are STM32WBx I would say, suggestion is safe.

 

br

Dom