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

undefined reference to ble_conn_params_init()

Hello,

I was trying to implement the proxy profile into the Enocean switch example to try if the friend node for the switch can be provisioned using the Mobile App. 
I encountered the error reading "undefined reference to ble_conn_params_init"

I included the file in the project, also included the path to the folder containing the file but this compilation error isn't being removed.

What might be the reason?

Thank you.

  • As awneil was saying, the ble_conn_params.c was being blocked by an #if.. I cleared it off by defining few things in app_config.h file. I removed all the errors.

    Excellent - now please mark the solution - click the 'Verify Answer' button.

    When I debugged it onto a board, it was loaded but the commissioning of the switch wasn't successful. When I tried to debug it on a different board, the code broke and it shows an error in the mesh_init() function

    That's a whole different question - so start a new thread!

Related