processedValues now returns dictionary and only write characteristic if it is writable