From 5908eba0fbfa7ae14c08a6a720100657ba5c98de Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 6 Jan 2024 15:20:33 +0100 Subject: [PATCH] linux: fix characteristic value I left in a debugging value. Oops. Let's fix that quickly. --- gatts_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatts_linux.go b/gatts_linux.go index 4354fde1..dad88b1b 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