Problems with BLE throughput Degradation on Android 12

426 Views Asked by At

I'm developing an Android app that receives approximately 117 kbps of ble data per second.

There was no problem with versions earlier than Android 12, but the update to version 12 caused an average of 85 kbps of data to be received.

How can I solve this problem?

manager.connect(mRemoteDevice)
//                        .usePreferredPhy(PhyRequest.PHY_LE_1M_MASK | PhyRequest.PHY_LE_2M_MASK)
.usePreferredPhy(PhyRequest.PHY_LE_2M_MASK)
.done(device -> {
    mConnected = true;
    mLeDeviceListAdapter.updateDeviceStatus(mPosition, BluetoothScanResponseModel.DeviceStatusMode.DEVICE_SEARCHING_SERVICE_MODE);
                            manager.enableFluxCapacitor();
                        })
    .fail(((device, status) -> {
                            
                        }))
                        .enqueue();


Tablet Environment: Galaxy S6 Lite

0

There are 0 best solutions below