Closed Loghorn closed 8 years ago
@Loghorn thanks!
Thank you!
May I ask you to release on npm a new version of noble with this fix? Thank you very much
Sure. I've published v0.4.0 of this module and v1.2.0 of noble which includes the fix.
Thank you very much!
The onHciEventEndpointData callback tries to read the second byte to check if the entire buffer has been received even if only one byte of data has been received, causing an uncaught exception. Added a check to verify that the buffer is at least two byte long before reading.