This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51822 central connect and communicate with 2 peripherals

Hi, I am having one nRF51822 to act as central and two nRF51822 to act as peripherals. I want the central to connect to both the peripherals and communicate with them. Is it possible? I tried with SDK 10.0.0 - but no luck. I tried SDK 12.3.0 : nRF5_SDK_12.3.0_d7731ad\examples\ble_central\ble_app_uart_c - Copy\pca10028\s130\arm4, but board resets at "SOFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);" in ble_stack_init. Is it possible to get a working example code for central to connect to 2 peripherals for nRF51822? Thanks. Update: I found the multilink examples under SDK 10.0.0 can connect one central to upto 8 peripherals, but I need ble uart version of that multilink example. Please help.

Parents Reply Children
  • Hi Jorgen, Thanks for the response. I have the ble_nus_c working example working for 1 central and 1 peripheral. I also have a working example for 1 central and 2 peripherals (under multilink examples). I tried to combine both the above with the help of the post that you suggested, but still no luck. If you have a working example that combines ble_nus with 1 central and 2 peripherals, that would be great. Thanks.

Related