hi!
I use the DA14695 chip to join the ble_profiles AMS service and the ANCS service at the same time. There is also a custom Bluetooth service. There is nothing wrong with debugging separately, but after the merger, it is found that the AMS service and the ANCS service interact through the gatt_client and Bluetooth protocol. After the merger, some conflicts will occur. How to solve this problem?
Device:


Hi There,
Thanks for your question. Could you please indicate what are the conflicts? Do you mean that you are unable to compile the project, or that you can compile but it is getting crashed?
Thanks, PM_Dialog
I also encountered the same problem,And after the merge, the program will crash. Stop the ‘smpc_handle_enc_change_evt’function in the Bluetooth protocol stack.
Hi There,
Can you please share more info about this crash? Did you run it in debug mode?
Thanks, PM_Dialog
I captured the location of the crash through SmartSnippets Studio as shown
Hi There,
My suggestion would be to give a try with a clean SDK directory. Please make sure that the .metadata folder is deleted from your new workspace. Can you replicate this with the existing SDK examples?
Thanks, PM_Dialog