Hi all,
I'm working on mbed os and I cannot use the softdevice_ble_evt_handler_set
and SOFTDEVICE_HANDLER_INIT
. Every time I build it, I get:
undefined reference to 'softdevice_ble_evt_handler_set(void (*)(ble_evt_t*))'
for the softdevice_ble_evt_handler_set
and undefined reference to 'app_error_handler(unsigned long, unsigned long, unsigned char const*)'
with undefined reference to 'softdevice_ble_evt_handler_set(void (*)(ble_evt_t*))'
for SOFTDEVICE_HANDLER_INIT
.
I added the ble_stack_handler_types.h
and softdevice_handler.h
from the beginning.
Anybody know how to solve this problem please help me.
Best regards.