Skip to content

Commit d46f2cc

Browse files
authored
fix: assign char handle write event (#274)
1 parent c26c9d5 commit d46f2cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gatts_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ func (a *Adapter) AddService(s *Service) error {
216216
char.Handle.value = char.Value
217217
char.Handle.valueMtx = &sync.Mutex{}
218218
char.Handle.flags = char.Flags
219+
char.Handle.writeEvent = char.WriteEvent
219220
goChars[uuid] = char.Handle
220221
}
221222
}

0 commit comments

Comments
 (0)