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

combining central and peripheral

Hi,

my application is normally a BLE scanner, listening for beacons. This runs OK.

Now, I tried to add a tested piece of connectable gap/gatt firmware, that runs fine in another application. The idea is to have the processor check a pushbutton at power-up. Normally the processor will call "sd_ble_gap_scan_start" to begin scanning, but if the button is pressed it calls the standard gap/gatt initialisation to start advertising:

  flash_timer_init();
  observer_init();
  gap_params_init();
  gatt_init();
  services_init();
  advertising_init();
  conn_params_init();
  peer_manager_init();

As I mentioned, this gap/gatt software works fine in another application, but here it crashes at the first call to "sd_ble_uuid_vs_add" with error_code 203995, which does not tell me how to fix it.

Is there possibly a conflict between central and peripheral, or a config setting that needs changing?

thx,

Henk

Parents Reply Children
Related