I was trying this project out with the CSR tools on a BC417-based module, but the code as is doesn't seem to run out of the box (opening the project file directly in BlueLab 4.1.2), and it panics:
VM has panicked! Reason:
Application panic (Context: 0x0)
VM has panicked! Reason:
Application panic (Context: 0x0)
It gets hung up in common.c at 'uint8_t connectionConvertLinkKeyType_t(cl_sm_link_key_type link_key_type)' and throws the following error message:
Unrecognised link key type 4096
I'll dig into it since I might be missing something obvious (I haven't used the toolset in a while), but I was curious if this is something you can reproduce yourself just opening, compiling and then running the project with the debugger (USB-SPI bridge)? It does compile fine, of course.
Update: Any chance you could let me know what version of the toolset, etc., you used developing this? Perhaps it's related to different versions of the tools or underlying libraries.