2015-11-03 07:29 AM
Hello,
I'd like to have some clarifcations regarding BLUENRG-MS capacities to handle multiple simultaneous connection as a Master and Slave device.From what I undertand, the chip have to configured with Stack Mode 4 (or Mode 3) to enable simultaneous master / slave / scan / advertize behaviour.But I can't find exactly which simultaneous connection are possible (for example: connected as a master to 2 devices, and connected as a slave to another device while scan and advertising is still active).Are the following configurations possible with BlueNRG-MS ?1) Device(BlueNRG-MS) connected to 1 master, advertising and scanning still active.2) Device(BlueNRG-MS) connected simultaneously to 2 masters, scanning still active (i.e. able to received advertising data from other devices)3) Device(BlueNRG-MS) connected simultaneously to 1 master and 1 slaveIs there any document describing the Stack Mode 4 and Mode 3 behavior ?Thank you #bluenrg2018-06-08 07:09 AM
Hi Quentin,
if you use the
http://www.st.com/en/embedded-software/fp-net-blestar1.html
software package, you'll be able to have multiple slaves connected to one single master, as shown in the relatedhttp://www.st.com/resource/en/product_presentation/fp-net-blestar1_quick_start_guide.pdf
.As an alternative, you can use the
tool. The BlueNRG GUI includes a set of scripts that you can run by using its built-in interpreter. Starting from the root of the tool installation folder, you can find them in the 'Application\scripts'. You'll find examples for many use cases. For multiple connections, please take a look at the 'Application\scripts\Multiple_Connection' folder.These scripts are written in Python, but you can easily get inspiration from them for your own C code.
In order to use the GUI, please make sure that your STM32 board is running the
Virtual_COM_Portproject of the X-CUBE-BLE1 package.
Best regards,
Antonio