Skip to main content
Associate II
January 23, 2025
Solved

B-WB1M-WPAN1 P2P Server .ioc Example Not Working

  • January 23, 2025
  • 1 reply
  • 981 views

Hi all, 

I have a brand new B-WB1M-WPAN1 board which worked with the ST BLE Toolbox out of the box. It had 2 services, Heart Rate and LED. I was able to turn the LED on and off, notify the phone with the button and see heart rate. 

Imported into CubeMX the .ioc project "BLE_HR_p2pServer.ioc" from theSTM32Cube MCU Package for STM32WB series page (link below) and flashed to the board. I can still connect to the board and see the 2 services but the LED and notification button will not produce any actions. The heartrate also has no data. 

https://www.st.com/en/embedded-software/stm32cubewb.html

Any ideas what to look for?

Thanks

Best answer by STTwo-32

Hello @Connor48 

The .ioc file is not the only part of the code that Will make it work. There is some code part that should be added to make it work. So, please go to the project and open it using your ide (STM32CubeIDE, IAR, Keil). Compile and run your code and it should be working fine.

Best Regards. 
STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
January 23, 2025

Hello @Connor48 

The .ioc file is not the only part of the code that Will make it work. There is some code part that should be added to make it work. So, please go to the project and open it using your ide (STM32CubeIDE, IAR, Keil). Compile and run your code and it should be working fine.

Best Regards. 
STTwo-32