Fix pattern matching for a received BLE notification.
Add a parameter to change if a subscription is indication or notification.