2025-09-26 6:08 AM
Hello,
I am working on a project with STM32 + BlueNRG-M2SP/M2SA and using a custom mobile app to connect over BLE.
Here is my setup:
The BlueNRG-M2SP/M2SA IC module is configured as a Peripheral (Server) with my stm32l0 mcu.
The mobile app scans, finds the advertised name of my hardware, and connects successfully without any pin security.
My question:
Is it possible to connect two mobile phones (two Central clients) together to the same BlueNRG-M2SP/M2SA hardware device when it is in Peripheral/server role?
The datasheet mentions “Supports master and slave modes, multiple roles supported simultaneously”. Does this mean multiple Centrals/phones can connect at once, or does it only mean the device can act as both Central and Peripheral (multi-role), but with a limit of one connection per role/same time?
If multi-client support in Peripheral/server mode is possible, how can I configure the max number of links in the BlueNRG stack of my stm32l0 firmware code?
Thanks in advance for your clarification.