NRF52 DK - SDK13.0 - ARMGCC - Eclipse
I am trying to add a custom service to the example ble_app_hrs.
I add all the part per the tutorial and end up getting error 7 on ble_advertising_init.
Per other answers, I tried changing the order of advertising_init and and services_init and they always come back as error 7 either way.
I noticed in ble_stack_init there was a line for
ble_cfg.common_cfg.vs_uuid_cfg.vs_uuid_count = 0
I changed that to 1 per another answer in the devzone.
Still error 7.
Should there be 4 of the memset(&ble_cfg... in the ble_stack_init in the hrs example? I would think memset being called several times for each instance would wipe out all the previous settings (I could be wrong).
I would appreciate it if someone could point me down the correct path to fix this error 7 in ble_advertising_init.
Bryan