peripheral manager characteristic write works. characteristic write only works for enum types