I am following an example code but I am getting the following error:
Error: Class “Gap” has no member “getConnectionHandle” in “main.cpp”,
this is the line:
connHandle = ble.gap().getConnectionHandle();
Is there any other way to know the connection Handle for a BLE connection in MBED?