Adam-Langley / pybleno

A direct port of the Bleno bluetooth LE peripheral role library to Python2/3
MIT License
68 stars 34 forks source link

Fix handle value confirmation (on Indicate characteristics) #29

Closed mh- closed 5 years ago

mh- commented 5 years ago

There's a typo in Gatt.py that causes a Handle Value Confirmation to trigger an Error Response. This means that there are always errors sent back when an Indicate characteristic is used.

This fix also fixes the issue that "onIndicate" was never called.

Adam-Langley commented 5 years ago

Thanks and good spotting.