9 years, 4 months ago.

Unable to compile main.cpp.

I tried to compile main.cpp of BLE_HTM_HRM1017 on mbed platform but I was unable to do that. The situation is as the image below. How can I solve the problem?

/media/uploads/taniyang/screen_shot_0026-12-24_at_19.42.02.png

Question relating to:

The Switch Science mbed HRM1017 is FCC and Japan radio type approved Bluetooth low energy development board with the Nordic's nRF51822 SoC. This board is also compatible with nRF51822-mKIT except …

1 Answer

9 years, 4 months ago.

What does your onConnectionCallback function declaration look like? It is not defined exactly like it should be. Take a look at Gap::ConnectionEventCallback_t to see what your declaration should look like.