During one month I’ve been trying to connect my Arduino Pro Micro with a BLE module (hc-8 and hm-10) and the BLE widget seems not to find the device.
Regardless of the code I’m uploading to the Arduino, (I assume) the BLE should be paired, first. To do so, I click on BLE Widget settings and “connect BLE device” but I could never have a connection there. Nothing happens.
Of course, when I clik on Play, a notification appears: “Device is offline”
I wonder if it is a matter of the firmware installed in the BLE module.
Unfortunately that means your phone either doesn’t recognise your BLE devices. Or, more likely and as you guessed, they are in need of proper firmware or internal setup. Blynk can only work with what the phone’s BT & BLE radio can detect.
Ok, you are absolutely right. I tried now with an iPhone 7 and now I can select the BLE module. The hm-10 BLE module appears as HMSoft.
Then, I select it and spend some time trying to connect.
Unfortunately, I receive a message that says “Can’t connect. Please retry or choose another device”
Hmmm… if the phone does work, as evidenced in other BLE apps as you say… then perhaps the issue is the hardware model device that you are choosing in the Blynk app? What are you choosing? And while at it… what App version?
But it seems that your device should be supported. I’ll update later logging build in the thread concern by BLE issues: BLE connection problems / a question to all blynk users - if you have time you could use it and send me a log generated by the app, so I’ll check is this device filtered out from scan list.
Ou, I’ve missed your latest comment - yep, from Android 5.0 apps needs to have GPS permissions to be able to scan ble/wifi =(
Had Blynk app not notified you about this permission request?
In case you will face any issues with BLE support - please check the build mentioned by Gunner, from which you could send a log to me to investigate possible bugs with BLE support.