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

seperating services init related functions from main.c

Hi,

I do have customized services in my project to implement,I think it would be easy if we seperate service related functions from main to add services in further.To serve this need I tried seperating services_init function and its related functions and variables to other new file.It has got compiled and built successfully and when I was trying to test it on nRF Connect I was unable to connect on pressing connect button in nRF Connect and find services.There were no errors.please let me know if I am missing out something or guide me with the right procedure to seperate the files.

Thank You,

Swathi P

 

Related