In my app, I am trying to connect to BLE device from inside the app. At times, I get a warning saying "Device cannot be connected, please try to reboot it". When I turn off and turn on Bluetooth, it works fine. Is this an issue with the BLE Device I am using? Or is this an issue with my code.
Regards,
Vamshi
Related
I have a qt app running on Android and iOS. The Bluetooth part of the code is in c++ and currently works for Android.
Currently on the iOS side I can discover the device and pair to it and connect. However when I go to connect to the device again after closing and reopening app (or restarting the phone) I cannot reconnect to the device.
I save the Devicee UUID that iOS creates for the device (since there is no MAC Address) and I get the error from my QLowEnergyController that says "Remote Device Not Found".
Things I have tried after pairing:
1. Restart app and try connecting.
2. Go into settings and manually connect to the device. Still doesn't find the device.
Are there any specific steps to reconnect to iOS?
I am expecting that the app will connect my iPhone to the device just like in Android.
I want to connect bluetooth device to my iOS app. That device perfectly works in android as it first paired via bluetooth (from outside the app) and send/recive command from inside the app. But that device is not getting in my list when I am turning on it in iPhone setting.
After a research I come to know that Corebluetooth can connect only with BLE. Now How many possible way to connect my app with that device. Please help me with this.
Is there any app on App Store from where I can scan that device ? It
wii be also helpful for me.
I also come to know about apple MFI program, but how will work ? Is it
paid ?
Thanks.
sorry for my bad english
I am developing an app on IOS 9.2. One of the app functions is to get information about bluetooth devices.
I have already managed to monitor bluetooth devices nearby using CoreBluetooth framework and connect to one of them. It works in background mode too. The problem is how to get notification when user connects to device from IOS settings?
Thanks for any help
I have an app that uses BLE to connect to a wearable device. I can update the firmware of the device via OTA. After the OTA process I can get re-paired to the wearable by calling connectPeripheral on the Central Manager. This works fine on iOS 9.2.
However, I have tested the same app on a phone with iOS 9.3 and doing the same thing causes problems. Instead of receiving one pairing request I get a lot of them. If I press pair or cancel, a new pairing request pop-up shows up. Eventually the pop-ups stop but the device isn't even paired to the app after.
Was there a change in iOS 9.3 that could be causing this? Anyone seen this behavior?
The bluetooth chip in the wearable device is a Bluegiga BLE113.
I'm connecting to a BLE device in a Cordova application using the ble-central plugin. I can connect to the device from the application without a problem, when I connect to the device from iOS I get prompted for the PIN and on entering the PIN I get connected, all as expected.
The problem is that the device does not get remembered on iOS, and that every time the application is restarted, or if the connection fails, I get prompted for the PIN again.
Is there a way to force iOS to remember the device? The strange thing is that even though I can connect to the device from the application, or something like the LightBlue application I cannot seem to detect the device from the settings.
Not sure if this is some iOS limitation, if the device should somehow be iOS enabled like older devices did? It seems to me I wouldn't be able to connect at all if that was the case?
Any help or idea is appreciated.