Skip to content

Commit fbf8c2a

Browse files
committed
Fix write respond
1 parent 1471183 commit fbf8c2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gatts_windows.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ func (a *Adapter) AddService(s *Service) error {
110110
// TODO: connection?
111111
goChar.writeEvent(0, int(offset), bufferToSlice(buf))
112112
}
113+
114+
gattWriteRequest.Respond()
113115
})
114116

115117
guid = winrt.ParameterizedInstanceGUID(

0 commit comments

Comments
 (0)