cancel
Showing results for 
Search instead for 
Did you mean: 

Button interrupt for WBA55CG

Henry_BLE
Associate II

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 1
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.