-
Notifications
You must be signed in to change notification settings - Fork 609
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
StartNotification doesn't return me callback success or callback error #921
Comments
The
Does the Peripheral automatically start sending notifications as soon as you turn them on? Or do you need to write a payload to start them? I ask because the |
I need to write payload to start them, sensors manual suggest to do before startNotification and after startMeasure, I do the ble.write inside subscribe do start of measure, Do I can try this.ble.write before startNotification??
output: To Native Cordova -> BLE write BLE660513637 ["options": [50BDE010-2FAF-BD5D-31FD-AD391438DEB3, 15172000-4947-11e9-8646-d663bd873d93, 15172001-4947-11e9-8646-d663bd873d93, { I haven't data, I wait your answer, thanks for your response. |
Apologies @AngeNew , this fell off my radar. Yes, I'd do the write and then subscribe. What's the console output of I'd suggest taking a look at #913 (comment) in case this is a similar display issue. Alternatively, you might be experiencing #805 (comment) Unfortunately, I don't maintain the ionic wrappers, so I'm not certain what's causing the problem you see there. |
I trouble problem in this way, I use async await in right way, and I must convert my payload mode in hex to start correctly payload, thanks for your support async startMeasure() {
} I trouble also problem that send me empty notifications with this function where I use Float32 right format |
Hi, I use startNotification to handle measure of IMU sensor, at startNotification sensor should me a constant signal of measures, I don't understand because startNotification tell me getData, but after doesn't return me callback success or callback error. How can I trouble??
this is my code:
output in ios :To Native Cordova -> BLE
The text was updated successfully, but these errors were encountered: