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

Can I do both BLE Multi-Connection & Advertising?

Good morning
Now, using nRF52832, I want to implement multiple central devices (smartphones) with one peripheral device (nRF52832 Device) to simultaneously perform BLE Multi-Connection and Advertising.
An example to refer to to implement the function is ble_app_multilink_central.
I am not sure if this example is correct.
First, I am looking at this example to implement a multi connection.
But when I build this example, I keep getting an error.
At first, an error occurred because the nrf_erratas.h file was not found
Added files. When I do that, I get another error and I don't know how to fix it. I've searched for a similar case, but it doesn't come out.
Is it correct that I found the example well as an example for implementing the multi-connection function?
(nRF5_SDK_15.3.0_59ac345\examples\ble_central\ble_app_multilink_central\pca10040.....)
Could you please let me know what is the problem?
Also, are there any macros or materials that can be referenced to implement simultaneous BLE Multi-Connection & Advertising?
Thank you for your attention.

..\..\..\..\..\..\components\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
  NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
..\..\..\..\..\..\components\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
  NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
..\..\..\..\..\..\components\Include\nrf_erratas.h(39): error:  #79: expected a type specifier
  NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
..\..\..\..\..\..\components\Include\nrf_erratas.h(39): error:  #260-D: explicit type is missing ("int" assumed)
  NRF_MDK_VERSION_ASSERT_AT_LEAST(8,34,0);
..\..\..\..\..\..\components\Include\nrf51_erratas.h(40): error:  #130: expected a "{"
  static bool nrf51_errata_1(void) __UNUSED;
..\..\..\..\..\..\components\Include\nrf51_erratas.h(120): warning:  #12-D: parsing restarts here after previous syntax error
  {
..\..\..\..\..\..\components\Include\nrf52_erratas.h(40): error:  #130: expected a "{"
  static bool nrf52_errata_1(void) __UNUSED;
..\..\..\..\..\..\components\Include\nrf52_erratas.h(219): warning:  #12-D: parsing restarts here after previous syntax error
  {
..\..\..\..\..\..\components\Include\nrf53_erratas.h(40): error:  #130: expected a "{"
  static bool nrf53_errata_1(void) __UNUSED;
..\..\..\..\..\..\components\Include\nrf53_erratas.h(129): warning:  #12-D: parsing restarts here after previous syntax error
  {
..\..\..\..\..\..\components\Include\nrf91_erratas.h(40): error:  #130: expected a "{"
  static bool nrf91_errata_1(void) __UNUSED;
..\..\..\..\..\..\components\Include\nrf91_erratas.h(67): warning:  #12-D: parsing restarts here after previous syntax error
  {
RTE\Device\nRF52832_xxAA\system_nrf52.c: 4 warnings, 8 errors

Related