2016-05-23 06:49 AM
In the BlueNRG-MS datasheet it is stated that it can act as a central and being connected to up to 8 devices in paralell.
I'm looking for a project that can demonstrate something close to that.I have the ''Profiles_Central'' project fromfile:///C:/Program%20Files%20(x86)/STMicroelectronics/STM32CubeExpansion_BLE1_V2.6.0/Documentation/OSXSmartConnPS.chm
but this is a single peripheral example. #bluenrg-ms2016-08-16 12:17 AM
Hi EGol,
Do you find the way to connecte to multiple peripherals?2016-08-25 01:41 AM
This programming manual has a guide on how to create simultaneous BLE connections. I have used this with a central unit with two slave and two master connections simultaneously.
One thing that was missing from the guide is the command to set the mode. The function has to be called before aci_gap_init_IDB05A1. Here's a snip from my code, otherwise, follow the manual I linked.uint
8
_t stackmode[
1
];
stackmode[
0
] =
0
x
04
;
ret = aci_hal_write_config_data(CONFIG_DATA_ROLE, CONFIG_DATA_ROLE_LEN, stackmode);
if(ret)
{
printf(
''
Setting mode 4 failed!
''
);
goto fail;
}