service-discovery
How to programmatically force bluetooth low energy service discovery on Android without using cache
I just had the same problem. If you see the source code of BluetoothGatt.java you can see that there is a method called refresh() /** * Clears the internal cache and forces a refresh of the services from the * remote device. * @hide */ public boolean refresh() { if (DBG) Log.d(TAG, “refresh() – device: … Read more
any way to discover Android devices on your network?
There is an very simple approach that gave me positive results in few different devices. When a device connects to your router it receives an IP (i.e. DHCP) and registers a name in DNS. The name that is registered seems to be always in the form android_nnnnnnnn. Of course, you can name any computer with … Read more