Generic Bluetooth Device

Hey
I have a BLE lamp and I wanted to add a switch for its on/off option.
I added the thing with Generic Bluetooth Device binding and chose the service and char I want to send data to.
Now my question is how do I send the data? I know how to create the packets the BLE wants. but how do I send it on command?

thank you!