-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Choose between notifications or indications #823
Comments
in iOS you can't choose. not allowed. Flutter Blue Plus allows choosing on android though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to look in the documentation and in the code itself for the answer to the question I ask in the title: is it possible to choose whether to subscribe to a characteristic by notification or indication?
(I am in charge of the BLE device firmware, so my knowledge of mobile development is limited. I say this to apologize in advance in case the question is dumb, simple or obvious 😅).
The thing is, I don't know if you can choose whether subscribing to a characteristic via the "subscribeToCharacteristic" method makes use of notifications or indications (i.e. if it will acknowledge or not when receiving data).
I have seen this in the
PhilipsHue/flutter_reactive_ble/packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/ble/ReactiveBleClient.kt
file:In the iOS implementation I haven't even dared to go in to check it out...
I am supposed to assume that if a characteristic has notification permission enabled it is subscribed by notification and only if notification permission is not enabled then it is subscribed by indication? Which would mean that I can't have both permissions enabled. (My Kotlin knowledge is 0...)
Thanks in advance and apologies if the question is dumb...🙇♂️
The text was updated successfully, but these errors were encountered: