Arm Mbed and Pelion Device Management support forum

BLE example don't work

Hi!

I’m using the nRF51-DK with mbed os and I try to compile this example:
https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-BatteryLevel/

I use mbed studio and online compiler, but I run the example the serial monitor says:
“_ble.gap().setAdvertisingParameters() failed: BLE_ERROR_NOT_IMPLEMENTED: Requested a feature that isn’t yet implement or isn’t supported by the HW”

I don’t why the serial monitor throw this error, due to the nRF51422 supports BLE.

thanks