cancel
Showing results for 
Search instead for 
Did you mean: 

How do I scan for Bluetooth LE devices?

gairmuse
Explorer

I have an Unreal app that needs to connect to BLE devices. During development I was using ACCESS_FINE_LOCATION permission but later discovered this is not allowed on the Oculus store. So I modified the app to use the recommended CompanionDeviceManager instead. This is working fine on an Android phone, but on the Quest it does not display the device selection dialog to the user. There are no errors or messages of any kind in the log. If I use a known MAC address, I can connect to the device, so it's just the scanning that's not working.

 

The manifest contains:

  <uses-permission android:name="android.permission.BLUETOOTH" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  <uses-feature android:name="android.software.companion_device_setup" />

 

Am I missing something?

 

2 REPLIES 2

Raisid
Honored Guest

Hey, I'm having the same issue. Did you manage to solve that?