Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.12k
stars
283
forks
source link
Fix Notifier.Write to not include framing bytes when calculating the number of bytes written. #68
Closed
suharshs closed 8 years ago
When writing a byte slice of size n, notifier.Write always returns the number of bytes written as n+3, because it incorrectly includes framing bytes.
This pull request fixes that.