2025-03-05 6:34 PM
Hello,
I am using STM32WB55 chip on my custom setup. I have configured my device in peripheral mode. I want to be able to accept / reject pairing requests initiated by the client device. I am following AN5270 for development. I have added code to set bit3 in SMP_MODE register to enable the generation of pairing request event. Although, the documentation says "SMP MAY generate the event". Why is that?
The documentation also says that if I bypass the SMP, all the events that go to SMP will be transmitted to the application. However, I what are the other events handled by SMP? I am not able to find a list of events handled by SMP. Is there any other documentation that I am missing?
I also looked at an older thread in which the functionality to accept / reject pairing request did not exist. But since not it exists, do you have an example code where it actually works?
Any help is appreciated! Here's the old thread: https://community.st.com/t5/stm32-mcus-wireless/what-is-the-api-call-to-get-the-stm32wb-to-reject-all-pairing/td-p/89769