8 years, 2 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?


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

8 years, 2 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.