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.
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.