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

Is the advertising module removed from docs?

I am programming a beacon, first I had some problems using sd_ble_gap_adv_start() so I changed to ble_advertising_start().

Now I have a problem when compiling:

_build/nrf52832_xxaa_main.c.o: In function `advertising_start':
/Users/.../pca10040/s132/armgcc/../../../main.c:388: undefined reference to `ble_advertising_start'
_build/nrf52832_xxaa_main.c.o: In function `advertising_init':
/Users/.../pca10040/s132/armgcc/../../../main.c:370: undefined reference to `ble_advertising_init'
collect2: error: ld returned 1 exit status
make: *** [_build/nrf52832_xxaa.out] Error 1

In my main.c I included #include "ble_advertising.h", in my makefile I have under SRC_FILES $(SDK_ROOT)/components/ble/ble_advertising/ble_advertising.c \ and under INC_FOLDERS $(SDK_ROOT)/components/ble/ble_advertising \

Finally, I search for ble_advertising_start in the infocenter and all pages appear down.

Appreciate your help.

Related