Skip to main content
Associate II
September 2, 2025
Question

Button interrupt for WBA55CG

  • September 2, 2025
  • 1 reply
  • 229 views

Hi community,

 

I'm having struggles with EXTI in WBA55CG. I want to implement a function, when the button is clicked, a message is sent via BLE. I have found the stm32wbaxx_hal_exti.c file. Can I follow exactly the same as the instructions or what i add more?

 

Thank you.

1 reply

STTwo-32
Technical Moderator
September 3, 2025

Hello @Henry_BLE 

To do that, you have to create a task that send data via BLE. After that, you can call this task when pressing the button. You may refer to the examples on this post that update the adverting data on a SW1 click. 

Best Regards.

STTwo-32