thegecko / webbluetooth

Node.js implementation of the Web Bluetooth Specification
https://thegecko.github.io/webbluetooth/
MIT License
148 stars 23 forks source link

Store separate callbacks for characteristic notifications/indications #109

Closed dingari closed 11 months ago

dingari commented 1 year ago

As a peripheral may notify/indicate on multiple characteristics simultaneously, notification/indication callbacks must be stored separately, identifiable by the characteristic UUID.

With the previous implementation, enabling notifications for a single characteristic caused notifications from all characteristics to be propagated to the JS callback for that characteristic.

xsorifc28 commented 7 months ago

When will this be released?

thegecko commented 7 months ago

I was waiting for this to be fixed: https://github.com/OpenBluetoothToolbox/SimpleBLE/issues/277

thegecko commented 7 months ago

When will this be released?

https://www.npmjs.com/package/webbluetooth/v/3.2.1

xsorifc28 commented 7 months ago

Can confirm the released fixed this bug, thanks.