Android Question BLE dual-mode device connect with BLE2 library

zity

Member
Licensed User
Longtime User
Hi,

I have a dual-mode (BLE and Classic) Bluetooth device that I can't connect to using the standard Connect / Connect2 functions of the BLE2 library.
The problem seems to be that the Bluetooth transport also needs to be specified for the Android connectGatt() function, which the above don't do.

Searching the forum, there's a modified "BLE3" library which exposes the extended connectGatt() function, but it's from 2021 so I'm reluctant to "downgrade" to that.

Is there a way to call the necessary connectGatt() function via JavaObject?

Thanks!
 
Top