You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D/HidPeripheral: Need BLUETOOTH PRIVILEGED permission: Neither user 10152 nor current process has android.permission.BLUETOOTH_PRIVILEGED.
java.lang.SecurityException: Need BLUETOOTH PRIVILEGED permission: Neither user 10152 nor current process has android.permission.BLUETOOTH_PRIVILEGED.
at android.os.Parcel.readException(Parcel.java:1683)
at android.os.Parcel.readException(Parcel.java:1636)
at android.bluetooth.IBluetooth$Stub$Proxy.setPairingConfirmation(IBluetooth.java:1616)
at android.bluetooth.BluetoothDevice.setPairingConfirmation(BluetoothDevice.java:1273)
at jp.kshoji.blehid.HidPeripheral$5.onConnectionStateChange(HidPeripheral.java:609)
at android.bluetooth.BluetoothGattServer$1.onServerConnectionState(BluetoothGattServer.java:105)
at android.bluetooth.IBluetoothGattServerCallback$Stub.onTransact(IBluetoothGattServerCallback.java:82)
at android.os.Binder.execTransact(Binder.java:570)
Android docs says 'Not for use by third-party applications.' BLUETOOTH PRIVILEGED
How do I make it work?
The text was updated successfully, but these errors were encountered:
happens during pairing because setPairingConfirmation(true) requires BLUETOOTH PRIVILEGED.
Even after granting the permission by installing as a system app, pairing fails #1
Android docs says 'Not for use by third-party applications.'
BLUETOOTH PRIVILEGED
How do I make it work?
The text was updated successfully, but these errors were encountered: