diff --git a/gatts_linux.go b/gatts_linux.go index 4354fde..dad88b1 100644 --- a/gatts_linux.go +++ b/gatts_linux.go @@ -114,7 +114,7 @@ func (a *Adapter) AddService(s *Service) error { "UUID": {Value: char.UUID.String()}, "Service": {Value: path}, "Flags": {Value: flags}, - "Value": {Value: []byte("foobar"), Writable: true, Emit: prop.EmitTrue}, + "Value": {Value: char.Value, Writable: true, Emit: prop.EmitTrue}, }, } objects[charPath] = propsSpec