cancel
Showing results for 
Search instead for 
Did you mean: 

PTC 57 - Unable to allow Bluetooth Device in Companion Device Manager

PyryVuorelaHiab
Protege

Hi,

Today I downloaded the PTC 57 firmware version and noticed that I was unable to allow Bluetooth devices to connect to my application using Companion Device Manager. This functionality was still working on the V56 but seems to be somehow broken in PTC 57.  My Application is able to start Companion Device Manager but the Allow-window that previously came up does not appear anymore. Companion Device Manager stays on its loading screen as seen image below for 10 second until it disappears. 

CompDeviManager.png

7 REPLIES 7

FunkyTanuki
Meta Quest Support
Meta Quest Support

Hello there! Thank you for sharing what you're running into with PTC v57. I did want to ask you what troubleshooting you've tried so far.

If you could also specify the device you're using, the software version on the headset I would really appreciate it.

 

"I Have Found That People Lie, Most Often Deceiving Themselves. Not So The Dead. The Dead Are So Very, Very Loud. And Yet, Lying Is Not In Their Nature. It Is So... Humbling, To Listen To The Dead Speak."

Hi @FunkyTanuki ,

I found this issue when I tested an application developed by me in PTC v57 which I share to my customers through AppLab. In my application I connect to a Bluetooth LE device using Android's CompanionDeviceManager service. This has worked well in previous Meta Quest 2 firmware versions (v56 and below) but in the PTC v57 the CompanionDeviceManager process starts but it does not bring up the device confirmation page anymore. Our application targets Android API 32 and I have tested this issue on 3 different Meta Quest 2 devices with following version. 

System version: 50623410045000150
Version: 57.0.0.201.669.510738969
Runtime version: 57.0.0.201.669.510739335

I have also performed factory reset but this has not solved the issue on PTC v57. Below you can find the Java code from the native android plugin that I use to work with CompanionDeviceManager. This is working on V56 but not anymore on V57.

public void AssociateNewDevice() {

BluetoothDeviceFilter deviceFilter = new BluetoothDeviceFilter.Builder()
.setNamePattern(Pattern.compile("Remote"))
.build();

AssociationRequest pairingRequest = new AssociationRequest.Builder()
.addDeviceFilter(deviceFilter)
.setSingleDevice(true)
.build();

CompanionDeviceManager deviceManager = (CompanionDeviceManager) mUnityPlayer.currentActivity.getSystemService(Context.COMPANION_DEVICE_SERVICE);

deviceManager.associate(pairingRequest, new CompanionDeviceManager.Callback() {
@Override
public void onAssociationPending(IntentSender chooserLauncher) {
try {
mUnityPlayer.currentActivity.startIntentSenderForResult(chooserLauncher, 0, null, 0, 0, 0);
} catch (IntentSender.SendIntentException e) {
}
}

@Override
public void onAssociationCreated(AssociationInfo associationInfo) {
OnDeviceAssociated(associationInfo.getDeviceMacAddress().toString());
}

@Override
public void onFailure(CharSequence error) {
}
}, null);
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == 0) {
if (resultCode == Activity.RESULT_OK && data != null) {
BluetoothDevice deviceToPair = data.getParcelableExtra(
CompanionDeviceManager.EXTRA_DEVICE
);

if (deviceToPair != null) {
OnDeviceAssociated(deviceToPair.getAddress());
}
}
} else {
super.onActivityResult(requestCode, resultCode, data);
}
}


I'm happy to help in any way I can to get this issue solved because this is extremely important to me, so please reach out to me for any other information I can provide.

Thanks for relaying this info to me. Our engineers have been made aware and are looking into it now. If you notice any changes please let me know. As well as anyone else who happens to cross this thread, giving me as much info as possible so that I can give it to our engineers would be greatly appreciated. Thanks in advance guys!

"I Have Found That People Lie, Most Often Deceiving Themselves. Not So The Dead. The Dead Are So Very, Very Loud. And Yet, Lying Is Not In Their Nature. It Is So... Humbling, To Listen To The Dead Speak."

PyryVuorelaHiab
Protege

Today I downloaded a new update and the issue still exists on the following version.

System version: 50623410052400150
Version: 57.0.0.236.669.513664915
Runtime version: 57.0.0.236.669.513665197

Hey, its been a while but wanted to see if you still ran into this in new versions?

"I Have Found That People Lie, Most Often Deceiving Themselves. Not So The Dead. The Dead Are So Very, Very Loud. And Yet, Lying Is Not In Their Nature. It Is So... Humbling, To Listen To The Dead Speak."

Hi,

Hi, the issue is still here. I have tested now in total with 20 different Meta Quest 2 devices and non of them is able to use Companion Device Manager to pair with Bluetooth devices. Latest today I tested with PTC v60 and issue still persists. 

Hello again,

This really is a weird one. Right now, your best bet is to submit a bug report and open a support ticket too so you can have a direct line of communication. They may be able to help you out a bit more. I'll drop the links for both below:

 

Bug report Instructions

Support Ticket

"I Have Found That People Lie, Most Often Deceiving Themselves. Not So The Dead. The Dead Are So Very, Very Loud. And Yet, Lying Is Not In Their Nature. It Is So... Humbling, To Listen To The Dead Speak."
Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?