bluetooth icon indicating copy to clipboard operation
bluetooth copied to clipboard

Write event infinite loop fix

Open Cartermel opened this issue 1 year ago • 0 comments

  • removed write event being called from the internal Characteristic.Write(), which was leading to an infinite loop when attempting to write to the characteristic in it's own write event

Not sure if the second point is intended behavour? In gatts_linux.go it calls a characterisit writeEvent, but I'm assuming bluez is writing to the characterisitic for you, whereas in winrt we have to write to it manually... One of these is probably not intended..!

(cloned description from https://github.com/tinygo-org/bluetooth/pull/274)

Cartermel avatar May 27 '24 16:05 Cartermel