From cd3c0c4835ec7c09e7c8a36edc1d1d22665bbcbf 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 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