This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mbed 2 to mbed 5 sample code build error

Hi,

I have copied BLE Thermostat code from ARM mbed : developer.mbed.org/.../

As this code is on mbed 2 platform, i am trying to run it on embed 5.0. Getting below error.

mbed-os\features\FEATURE_BLE\targets\TARGET_NORDIC\TARGET_NRF5\source\btle\btle_discovery.cpp(60): error:  #167: argument of type "const ble_gattc_evt_t *" is incompatible with parameter of type "const ble_gattc_evt_char_val_by_uuid_read_rsp_t *"
Related