Skip to main content
Associate III
June 17, 2025
Solved

missed include of ble_types.h in generating p2p configuration

  • June 17, 2025
  • 2 replies
  • 317 views

in stm32wb55, After generating p2p configuration, #include "ble_types.h" should add manually in p2p_stm32.h file.

Best answer by STTwo-32

Hello @nima.askari 

I've personally generated a code on the STM32WB using the STM32_WPAN and the P2P server application type. After compilation, everything works fine and no need to add the file manually (using the STM32CubeMX V6.14.1 and the STM32CubeIDE V1.18.1). If you have the need to use the ble_types.h and it is not included, you need to ad it manually.

Best Regards.

STTwo-32

2 replies

Andrew Neil
Super User
June 17, 2025

Is that a question, or a statement?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
STTwo-32
STTwo-32Best answer
Technical Moderator
June 17, 2025

Hello @nima.askari 

I've personally generated a code on the STM32WB using the STM32_WPAN and the P2P server application type. After compilation, everything works fine and no need to add the file manually (using the STM32CubeMX V6.14.1 and the STM32CubeIDE V1.18.1). If you have the need to use the ble_types.h and it is not included, you need to ad it manually.

Best Regards.

STTwo-32