Sets the value of this characteristic and sends a notification or indication if supported.
If the characteristic supports both indications and notifications, then a notification is sent.
If set-value is true (the default), sets the value of the characteristic to value. Any read requests will return this value until the value is changed again. See set-value for setting the value without sending out a notification.
If the characteristic doesn't support notifications or indications and set-value is set to false, then this function does nothing.