Skip to content

Commit cd3c0c4

Browse files
aykevldeadprogram
authored andcommitted
linux: fix characteristic value
I left in a debugging value. Oops. Let's fix that quickly.
1 parent c5ab6a9 commit cd3c0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gatts_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (a *Adapter) AddService(s *Service) error {
114114
"UUID": {Value: char.UUID.String()},
115115
"Service": {Value: path},
116116
"Flags": {Value: flags},
117-
"Value": {Value: []byte("foobar"), Writable: true, Emit: prop.EmitTrue},
117+
"Value": {Value: char.Value, Writable: true, Emit: prop.EmitTrue},
118118
},
119119
}
120120
objects[charPath] = propsSpec

0 commit comments

Comments
 (0)