Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.14k
stars
285
forks
source link
Fix Notifier.Write to not include framing bytes when calculating the number of bytes written. #69
Closed
suharshs closed 7 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.