def write(val, raw: false)
      val= _serialize_value(val, raw: raw)
      @dbus_obj[I_GATT_CHARACTERISTIC].WriteValue(val, [])
    end
def write(val, raw: false)
      val= _serialize_value(val, raw: raw)
      @dbus_obj[I_GATT_CHARACTERISTIC].WriteValue(val, [])
    end
++++++++++++++++++++++++++++