paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.13k stars 284 forks source link

WriteCharacteristics fix #34

Closed astaff closed 9 years ago

astaff commented 9 years ago

When noResp is true it would send a write command, but expect a response; when noResp is false, it would send write request, and not expect a response, resulting in response being stuck in channel, blocking a Read loop, eventually putting the system into a deadlock on next WriteCharacteristic call.

roylee17 commented 9 years ago

Good catch. Thanks a lot.