Skip to main content
Nemonas
Associate
Jan 9, 2023 1:27 AM UTC
Question

[STM32WB] iBeacon server client control

Hello,

I want to change the mode of iBeacon (M0+) to server or client through button switch while Cortex-M4 is running

Hardware initialization or rtc initialization should not be performed when the corresponding function is operating.

Thanks

This topic has been closed for replies.

3 replies

Remy ISSALYS
ST Technical Moderator
Jan 11, 2023 9:24 AM UTC

Hello,

The STM32WB support multiple roles, so your device can be client and server at the same time. You don't need to re initialize the HW.

Best Regards

Nemonas
NemonasAuthor
Associate
Jan 11, 2023 11:12 PM UTC

Can you provide an example or reference document where you are both server and client at the same time as you said?

Remy ISSALYS
ST Technical Moderator
Jan 16, 2023 10:39 AM UTC

Hello,

You can look BLE_p2pRouteur example available in STM32CubeWB package. In this application, the STM32WB is Gatt Server and Gatt Client at the same time.

Best Regards