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

SDK 15 peer_manager undefined reference ble_evt_handler

Migrating from 13.1 to 15.0.
getting error, undefined reference to 'ble_evt_handler'

In 15.0, peer_manager.c has the function,
static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
In 15.0, ble_conn_params.c has the same function name (but with a switch statement),
static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)

In SES I have the peer and conn objects in the nRF_BLE folder, and in edit options the preprocessor user include directories.

When looking at these same two functions in 13.1, there are differences to 15.0;
In 13.1, peer_manager.c ,
void pm_on_ble_evt(ble_evt_t const * p_ble_evt)
In 13.1, ble_conn_params.c,
void ble_conn_params_on_ble_evt(ble_evt_t const * p_ble_evt)
(this change had already taken place when looking at 14.2)In 13.1, 
peer_manager.c ,

Was this change intentional?
In the Migration Guide(s), I do not see a note about this change (unless I missed it) to help understand.

-thank-you

Parents Reply Children
No Data
Related