BLE example of a write characteristic to control a Led

no such method: tip