bluetooth
bluetooth copied to clipboard
Write event infinite loop fix
- 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)