Write type an properties

Added support for changing write type and returning characteristic
properties