I've been looking for an answer to this strange behavior but couldn't find it:
I have a hm-10 BLE module and with an example it works fine when scans and finds it in my cellphone. But with a tablet Lenovo tab8 scanning doesn't find it. Instead if I try with old bluetooth discovering it finds it! Of course it doesn't connect as the module is BLE.
thanks Erel, with the example as-is, same behaviour. Tablet doesn't find anything, it gets scanning. Cellphone also finds (before finding HM-10) a headphones from my neighbourgh... the tablet nothing.
but I installed "Serial Bluetooth Terminal" and there it find it perfectly under "Bluetooth LE" devices.
from Android Settings-Bluetooth, it shows the HM-10 and also ask me for the PIN (I changed the original 000000 to another one)
I don't know BLE very well, so this suggestion might not be applicable...
Does the HM-10 have a "name"?
I remember seeing a setting somewhere that you can configure BT scans to only show devices with names (not just MAC). And maybe the tablet is configured this way and if the HM-10 doesn't have a BLE "name", then it wont show in scan?
I don't know BLE very well, so this suggestion might not be applicable...
Does the HM-10 have a "name"?
I remember seeing a setting somewhere that you can configure BT scans to only show devices with names (not just MAC). And maybe the tablet is configured this way and if the HM-10 doesn't have a BLE "name", then it wont show in scan?
You can't force location on, but you can check if it is off, and then have the device open it's "location" settings page to allow the user to turn it on.
You can't force location on, but you can check if it is off, and then have the device open it's "location" settings page to allow the user to turn it on.
Hello I need to show the Request location permissions | Android Developers settings page for this. Does anyone know the instent string for this. I amcurrently using this method: Sub check_permissions_location Dim rp As RuntimePermissions Dim p As Phone, locationResult As...
This example shows how to work with the GPS library. The GPS object is declared in the Starter service. It is easier to put the GPS in a service and not in an Activity as the services life cycle is simpler. When the program starts we check whether the location features are enabled: Sub...