Good morning, I'm working with the nRF52 DK and a custom board that has the nRF52810.
I am using the SDK 15.0.0 and followed the tutorial described here:
First I used the nRF52 DK and the file inside ..\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_template\pca10040\s132\ses and no problem occurred, the DK board does the advertising and I can connect via bluetooth from a cell phone.
The problem occurs when I try to use the file inside pca10040e (..\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_template\pca10040e\s112\ses). After loading the program, the nRF52 DK does not advertise.
After performing several tests with the DK and with the nRF52810, I realized that the function that causes this is this:
our_service_init (&m_our_service,&init);
If I comment on this line of code, the board nRF52 DK and the one with nRF52810 advertise perfectly well. Besides, the only error it finds is a "Fatal Error".
Does anyone know why this happens? I think it must be because of something that is inside the pca10040 file and not in the pca10040e or that the service variables and characteristics are different between these two files.
I hope you can help me, thank you very much!