I've used the same code adpated from the LED example on Arduino 101 with the CurieBLE library and on a Nano Sense BLE using the ArduinoBLE library.
The latter is able to write a characteristic and thus switch on and off the LED. The former gives a GATT error 3 indicating no write permission.
The Curie libraried date from january 2019 version 2.0.4 I believe but can't find them in the library manager.
Is there any hope that this will be corrected or perhaps it has been corrected I I just can't find the newer version of the library.
Best regards,
Pete