code: def write_handle(self, handle: int, value: bytes):
          
          if self._peripheral is None:
              raise BluetoothBackendException('not connected to backend')
          return self._peripheral.writeCharacteristic(handle, value, True)
docs: Write a handle from the device.
  
          You must be connected to do this.