Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

10.2 Tokyo BLE Framework fails to discover devices on Android, works on 10.1 Berlin.

$
0
0

I am creating a separate entry for this from replies I made on a similar entry.  This one has to do with the BLE framework and not the BLE component.  Also this has been submitted as RSP-18454

After changing to 10.2, BTLE discovery is not working anymore in Android.  I am using the framework and calling

System.Bluetooth.TBluetoothLEManager.StartDiscovery

It does return TRUE and the OnDiscoveryEnd event does fire, but no devices are found.  I have used the HeartRate sample and it does find the BTLE device, but it is using the BTLE Component, which will be a major change and may not even work.  I am pretty sure I have to use the Framework, since part of my app is in a service and UI is not allowed in a service.

Update 1:On a different computer I have installed 10.1 (update2) and 10.2 (No Hotfix).  No additional options were installed on either one except what was available in the installation menu.  So they are clean installations.  Win32, Win64 and Android were installed.  On the10.1 compiler the BLE project complies, installs and runs, finding all available BLE devices.  Using the exact same project in 10.2, the project complies, installs and runs, except it does not find any BLE devices.  The OnDiscoveryEnd event does fire, but it returns no BLE devices.

Update 2:

I have installed the Toolchain HotFix for 10.2 and it still will NOT discover any BLE devices.  I then installed the 6/23/17 Android patch and still will NOT discover any BLE devices.  Will be filling an issue report in the quality central now.

 

Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>